-
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.
### What kind of change does this PR introduce? * The `eofs` library has been removed from the optional dependencies. * The empirical orthogonal functionality (`xclim.sdba.properties.first_eof` and associated test) has been removed from the code base. * CI builds no longer test `eofs` functionality. ### Does this PR introduce a breaking change? Yes. `eofs` has been completely removed since this violated its GPLv3 license. Associated functionality is reproducible by users ### Other information: Should we be offering users a note about how to migrate? I feel like it's not necessary.
- Loading branch information
Showing
8 changed files
with
23 additions
and
134 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
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
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 |
---|---|---|
|
@@ -5,7 +5,6 @@ env_list = | |
docs | ||
notebooks_doctests | ||
offline-prefetch | ||
; opt-slow | ||
py38 | ||
py39-upstream-doctest | ||
py310 | ||
|
@@ -58,8 +57,10 @@ allowlist_externals = | |
# Requires tox-conda compatible with [email protected] | ||
;[testenv:conda] | ||
;description = Run tests with pytest under {basepython} (Anaconda distribution) | ||
;commands_pre = | ||
;conda_channels = conda-forge | ||
;conda_env = environment-dev.yml | ||
;deps = | ||
;extras = | ||
|
||
[testenv:notebooks_doctests{-coverage,}] | ||
|
@@ -68,15 +69,6 @@ commands = | |
pytest --no-cov --nbval --dist=loadscope --rootdir=tests/ --ignore=docs/notebooks/example.ipynb docs/notebooks | ||
pytest --rootdir=tests/ --xdoctest xclim | ||
|
||
# Requires tox-conda compatible with [email protected] | ||
;[testenv:opt-{slow,not_slow}] | ||
;description = Run tests with optional requirements (SBCK (experimental), eofs) and pytest under {basepython} (Anaconda distribution) | ||
;conda_env = environment-dev.yml | ||
;commands = | ||
; pip check | ||
; !slow: pytest xclim -m "not slow" --durations=10 | ||
; slow: pytest xclim --durations=10 | ||
|
||
[testenv:offline{-prefetch,}{-coverage,}] | ||
description = Run tests with pytest under {basepython}, preventing socket connections (except for unix sockets for async support) | ||
commands: | ||
|
@@ -112,7 +104,6 @@ deps = | |
numba: llvmlite==0.42.0rc1 | ||
coverage: coveralls | ||
upstream: -rrequirements_upstream.txt | ||
eofs: eofs | ||
sbck: pybind11 | ||
install_command = python -m pip install --no-user {opts} {packages} | ||
download = True | ||
|
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