You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we've leaned into nox, we don't necessarily need everything in our development environment as nox will set up isolated testing environments for each session.
So, I think we should consider dropping:
the docs optional dependency group from our development environment (venv instructions and conda environment.yml) as the dependencies are rather heavy-weight, and freshly creating the environment can take ~10 minutes (Development Setup Instructions Not Working on Windows #858). running nox -s serve-docs I would expect to be sufficient for most, if not all, of our contributors
the tests dependency group could also be dropped from our development environment (venv instructions and conda environment.yml) as the dev group gets you uv and nox, which is all that's needed to run all of our nox sessions. However:
the test group is pretty light weight so wouldn't save much
this would impact IDE users and contributors who like to call our testing tools directly (e.g., pytest and mypy). In Refactor development guide #874, I've proposed an "IDE setup" section where we could add a line about installing the test dependencies to mitigate this.
Overall I think we should do (1), but as an IDE user, I'd rather not do (2). I felt (2) at least merited discussion, however.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Now that we've leaned into
nox
, we don't necessarily need everything in our development environment as nox will set up isolated testing environments for each session.So, I think we should consider dropping:
docs
optional dependency group from our development environment (venv instructions and conda environment.yml) as the dependencies are rather heavy-weight, and freshly creating the environment can take ~10 minutes (Development Setup Instructions Not Working on Windows #858). runningnox -s serve-docs
I would expect to be sufficient for most, if not all, of our contributorstests
dependency group could also be dropped from our development environment (venv instructions and conda environment.yml) as thedev
group gets youuv
andnox
, which is all that's needed to run all of our nox sessions. However:test
group is pretty light weight so wouldn't save muchpytest
andmypy
). In Refactor development guide #874, I've proposed an "IDE setup" section where we could add a line about installing thetest
dependencies to mitigate this.Overall I think we should do (1), but as an IDE user, I'd rather not do (2). I felt (2) at least merited discussion, however.
Beta Was this translation helpful? Give feedback.
All reactions