-
Notifications
You must be signed in to change notification settings - Fork 37
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
Update requirements.txt to include missing packages #495
Conversation
When installing via the instructions `pip install git+https://github.com/atmos-cloud-sim-uj/PySDM.git` in the README from a fresh conda environment w/ Python=3.8, `pystrict` was not installed so neither the tests nor the demo code could run.
Turns out |
Codecov Report
@@ Coverage Diff @@
## master #495 +/- ##
=======================================
Coverage 80.05% 80.05%
=======================================
Files 145 145
Lines 4291 4291
=======================================
Hits 3435 3435
Misses 856 856 Continue to review full report at Codecov.
|
thanks! (and thank you for the JOSS review!) |
exdown was already here in the requirements, yet I feel that the issue is that we have the requirements split into those listed in setup.py and in requirements.txt. When doing Our intention was to use setup.py for the requirements of the code itself, while the requirements.txt file includes packages needed to run tests. The requirements.txt file is used in the CI scripts. Feedback very welcome on how to better address it! |
Aha, that makes sense @slayoo. I'm not sure I have a good recommendation off the top of my head other than to keep them synced up manually. Some folks will read in their |
One thing that should certainly be improved here is to catch the original problem pointed out by @darothen on CI. Currently, with Github actions, what we do is as follows:
The reason to have requirements split across The situation caught by @darothen is as follows: we've introduced a new dependency into PySDM code ( So, let's add some hello-world-executing (perhaps even just import) step to CI which will check if using PySDM is possible right after installing it, and before installing other packages. |
When installing via the instructions
pip install git+https://github.com/atmos-cloud-sim-uj/PySDM.git
in the README from a fresh conda environment w/ Python=3.8,pystrict
was not installed so neither the tests nor the demo code could run.