Description
The main entry point for setting up a development environment for people to start contributing is to use the environment.yml
file. Currently, this includes everything you would potentially need to run every single test, build every page of the docs, etc. This is of course nice (so people aren't surprised about something not working), but it also creates a huge and complex environment (more to download, taking up a lot of space, being slower to solve with conda).
I think that for 99% of the contributors you don't necessarily need all optional (test) dependencies. For example, we have some packages installed that are used for just a single test (eg geopandas, statsmodels, scikit-learn). pytorch was recently removed for this reason (#49796).
But the problem is that we don't only use the environment.yml
for contributors setting up a dev env, but also for testing in our CI. So of course we if we make the environment.yml
slimmer, then we need to solve this issue.
There is a PR to remove geopandas
, but we should probably have a more general discussion about this, since it not just geopandas
. From that PR, a comment by @mroeschke in #49994 (comment)
Yeah I would be partial to be consistent and remove geopandas everywhere if we also want to remove it from the
environment.yml
for consistency (CI dependency files, unit tests, any ASVs, any doc reference)