Skip to content

Commit

Permalink
Update deps to add yamale (#1596)
Browse files Browse the repository at this point in the history
### What kind of change does this PR introduce?

* Adds `yamale` to the core dependencies

### Does this PR introduce a breaking change?

Yes, dependencies have changed.

### Other information:

`yamale` code can be found in the core of the library. It might be a
good idea to perform an analysis of all existing deps to ensure that the
necessary entries are all listed.
  • Loading branch information
Zeitsperre authored Jan 15, 2024
2 parents e30b2f4 + 784e015 commit bcec43e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ jobs:
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
azure.archive.ubuntu.com:80
coveralls.io:443
esm.ubuntu.com:443
Expand Down Expand Up @@ -188,12 +189,15 @@ jobs:
egress-policy: block
allowed-endpoints: >
api.github.com:443
conda.anaconda.org:443
coveralls.io:443
dap.service.does.not.exist:443
files.pythonhosted.org:443
github.com:443
objects.githubusercontent.com:443
pypi.org:443
raw.githubusercontent.com:443
repo.anaconda.com:443
- uses: actions/[email protected]
- name: Setup Conda (Micromamba) with Python${{ matrix.python-version }}
uses: mamba-org/[email protected]
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Breaking changes
^^^^^^^^^^^^^^^^
* `bump2version` has been replaced with `bump-my-version` to bump the version number using configurations set in the `pyproject.toml` file. (:issue:`1557`, :pull:`1569`).
* `xclim`'s units registry and units formatting are now extended from `cf-xarray`. The exponent sign "^" is now never added in the ``units`` attribute. For example, square meters are given as "m2" instead of "m^2" by xclim, both are still accepted as input. (:issue:`1010`, :pull:`1590`).
* `yamale` is now listed as a core dependency (was previously listed in the `dev` installation recipe). (:issue:`1595`, :pull:`1596`).

Bug fixes
^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dependencies:
- scipy >=1.2
- statsmodels
- xarray >=2022.06.0,<2023.11.0
- yamale
# Extras
- eofs
- flox
Expand Down Expand Up @@ -70,7 +71,6 @@ dependencies:
- tox
# - tox-conda # Will be added when a [email protected]+ compatible plugin is released.
- xdoctest
- yamale
- yamllint
- pip
- pip:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ dependencies = [
"scikit-learn>=0.21.3",
"scipy>=1.2",
"statsmodels",
"xarray>=2022.06.0,<2023.11.0"
"xarray>=2022.06.0,<2023.11.0",
"yamale"
]

[project.optional-dependencies]
Expand Down Expand Up @@ -84,7 +85,6 @@ dev = [
"tox",
# "tox-conda", # Will be added when a [email protected]+ compatible plugin is released.
"xdoctest",
"yamale",
"yamllint",
# Documentation and examples
"distributed >=2.0",
Expand Down

0 comments on commit bcec43e

Please sign in to comment.