-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small clean up of dependencies and environment (#1381)
### What kind of change does this PR introduce? * Removes `clisops` from the `environment.yml`, which removes the indirect dev dependency to `xESMF`. * While missing around I realized we make an explicit import of `filelock`, without listing it in the env (it's a dep of `tox`). * `statsmodels` was in the "dev" deps section, but is a hard dep. * On my machine at least, the pin of `pylint` was blocking the creation of an env with python 3.11. I removed it and it seems to work. I modified the rc file slightly to suppress one warning in the output. And, comble de l'ironie, running `pylint` in my older env (python 3.10, pylint 2.14) failed... So I leave the study of why it was pinned and if it is safe to unpin it to @Zeitsperre . ### Does this PR introduce a breaking change? No ### Other information: This might be a step towards #1268 !
- Loading branch information
Showing
6 changed files
with
35 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,25 +15,25 @@ dependencies: | |
- lmoments3 | ||
- numba | ||
- numpy>=1.16 | ||
- pandas>=0.23,<2.0 # Pinned due to incompatibility with xarray <=2023.03 | ||
- pandas>=0.23 | ||
- pint>=0.9 | ||
- poppler>=0.67 | ||
- pyyaml | ||
- scikit-learn>=0.21.3 | ||
- scipy>=1.2 | ||
- statsmodels | ||
- xarray>=2022.06.0 | ||
# Extras | ||
- clisops | ||
- eofs | ||
- flox | ||
- pytest-json-report # Added due to a packaging bug with ESMPy. See: https://github.com/esmf-org/esmf/issues/115 | ||
# Testing and development dependencies | ||
- black>=22.12 | ||
- blackdoc | ||
- bump2version | ||
- cairosvg | ||
- coverage | ||
- distributed>=2.0 | ||
- filelock | ||
- flake8 | ||
- flake8-rst-docstrings | ||
- flit | ||
|
@@ -50,17 +50,16 @@ dependencies: | |
- pre-commit | ||
- pybtex | ||
- pydocstyle | ||
- pylint<2.15 | ||
- pylint | ||
- pytest | ||
- pytest-cov | ||
- pytest-xdist>=3.2 | ||
- sphinx | ||
- sphinx-autodoc-typehints | ||
- sphinx-codeautolink | ||
- sphinx-copybutton | ||
- sphinx-rtd-theme>=1.0 | ||
- sphinx_rtd_theme>=1.0 | ||
- sphinxcontrib-bibtex | ||
- statsmodels | ||
- tokenize-rt | ||
- tox | ||
# - tox-conda # Will be added when a [email protected]+ compatible plugin is released. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters