-
-
Notifications
You must be signed in to change notification settings - Fork 27
CI: fix nightly-deps env so nightlies of all relevant dependencies are used #529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: fix nightly-deps env so nightlies of all relevant dependencies are used #529
Conversation
I think this is probably not needed because we get the shapely nightly wheel through the |
In theory. In practice, shapely is being installed from conda-forge because it is a dependency of geopandas-base... and because it exists already, pip won't install it (again) from |
Ah, but then we should fix that, because the same is true for numpy and pandas, so we are not actually installing nightly packages for those. (also, adding the conda-forge shapely_dev label seems to give you shapely from that channel, although right now this is then actually an older version (2.1.0rc) than the latest ..) So I think either we have to ensure we are not yet installing those dependencies in the base conda env (e.g. remove geopandas-base, and install geopandas from pip as well), or otherwise have to ensure the pip call upgrades (adding |
Looking at the yml file again, I assume removing |
Now, all dependencies of geopandas-base, shapely, numpy, pandas,... are already being installed from conda-forge instead of installing the nightlies via pip
True. I was focussing on shapely 2.1.0 rc when making this PR as I wanted the pyogrio tests to have run on it before shapely 2.1 was officially released... but the current fix is indeed not a long term/real solution. Moving geopandas to being installed via pip as well should indeed fix it for everything... |
…label-in-nightly-deps-env
Looking good now! |
Because geopandas-base is being installed via conda-forge, all it's dependencies (numpy, geopandas, shapely) are also already being installed from standard conda-forge. Because they are already installed when pip kicks in, the nightlies from scientific-python-nightly-wheels aren't actually installed...
This PR changes the env so geopandas is also installed via pip, which solves above issue.