update and sync dependencies#144
Conversation
There is some discussion over in the Regarding the tests
Yes, it is a familiar problem. Restarting always did the trick in the past. We've speculated it is linked to the combination of multithreading + On the problems in I also encountered a few deprecation warning which need fixing. Given the nature of the problems I believe we're good for merging this PR. |
setup.py: add toolz + pytest
* update and sync dependencies * env: add toolz setup.py: add toolz + pytest Co-authored-by: Fabian <[email protected]>
Closes # (if applicable).
Change proposed in this Pull Request
Update, correct and synchronise dependencies.
Description
pandas=0.25which is the minimum ofxarray>=0.16.2(which is now also set consistently).daskmemory regression not yet resolved Regression: poor memory management in threads and sync schedulers dask/dask#7583 but newer versions released, resulting indask<2021.04.0tqdmis used since recently, but was not added to list of dependenciesenvironment.yamlmissedprogressbarandrequestssetup.pyrequested Python 3.6 but newer versions also work.conda-forgechannel wedged between twodefaults?Motivation and Context
Some dependencies were not correctly specified and increasingly out of sync across
setup.py,environment.yamland theconda-feedstock(see conda-forge/atlite-feedstock#14)How Has This Been Tested?
For
environment.yaml:conda env create -f environment.yaml pip install --no-deps -e . pytest(another time where I fixed
pandas=0.25andpython=3.6)For
setup.py:conda env create -n atlite-pip python=3.8 pip pytest pip install -e . pytestFor all, I had problems with
test_dx_dy_preservation_era5_weirdtest_all_non_na_era5_weirdand I could not figure out why. They just get stuck (not windows!).
I also had problems with
update_feature_test:Any suspicions where the extra keyword argument comes from?
I did not run the
SARAHtests.I could open separate issues for these if they substantiate.
Type of change
Checklist
pytestinside the repository and no unexpected problems came up.doc/.environment.yamlfile.doc/release_notes.rst.