• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Ouranosinc / xclim / 21725543416
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: allsame-doy-nan
DEFAULT BRANCH: main
Ran 05 Feb 2026 07:36PM UTC
Jobs 6
Files 60
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Feb 2026 07:31PM UTC coverage: 92.011% (+0.008%) from 92.003%
21725543416

push

github

web-flow
[new xclim] Adopt PEP-735 (Dependency groups) (#2316)

### What kind of change does this PR introduce?

* Splits the `lint` dependencies into a `dependency-group` in
`pyproject.toml`.
* Adjusts the Makefile to silently install linting dependencies if the
`lint` command is called.
* Updates the `tox` configuration to the latest version supporting
`dependency-groups`.
* Addresses a small `yamllint` warning concerning line length.
* Adds `--help` alias to the `xclim` CLI.

### Does this PR introduce a breaking change?

Yes. The development dependencies no longer install the linting
dependencies by default. `make lint` will now install the linting
dependencies only if explicitly called; Otherwise, the `pre-commit` step
will handle the running of linting steps. `tox` has been adjusted in
order to refer to the "lint" `dependency-group` (removing redundancy).

### Other information:

`dependency-groups` are a way to ensure that development-time
dependencies are now published with distributions of packages, which is
great for packages that do not bundle code, or for preventing end-users
from installing tools they will never require when using the package.

Example invocation:
```
$ pip install --group lint,test
```

A `dependency-group` is only available when examining the source code of
the library and allows developers to only install the dependencies
without needing to install the library itself (great for linting). It
also supports installing the library or nesting of other
`dependency-groups`/`optional-dependencies`, if desired.

Testing and other miscellaneous development libraries are also suggested
to be listed under `dependency-groups`; Is this something that people
would be OK with? We could split these dependencies out such that the
only additional libraries would be listed under `xclim[extras]`.

https://peps.python.org/pep-0735/

18 of 21 new or added lines in 3 files covered. (85.71%)

7935 of 8624 relevant lines covered (92.01%)

6.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
96.12
-0.02% src/xclim/indices/_hydrology.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.10-ubuntu-latest- - 21725543416.1 05 Feb 2026 07:36PM UTC 60
88.14
GitHub Action Run
2 run-{{ matrix.python-version }}-conda - 21725543416.2 05 Feb 2026 07:39PM UTC 60
91.89
GitHub Action Run
3 run-3.13-ubuntu-latest- - 21725543416.3 05 Feb 2026 07:38PM UTC 60
88.81
GitHub Action Run
4 run-3.14-ubuntu-latest- - 21725543416.4 05 Feb 2026 07:36PM UTC 60
88.13
GitHub Action Run
5 run-3.13-macos-latest- - 21725543416.5 05 Feb 2026 07:40PM UTC 60
91.88
GitHub Action Run
6 run-3.12-ubuntu-latest- - 21725543416.6 05 Feb 2026 07:36PM UTC 60
88.14
GitHub Action Run
Source Files on build 21725543416
  • Tree
  • List 60
  • Changed 8
  • Source Changed 4
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21725543416
  • 5bf3db92 on github
  • Prev Build on dev-v099 (#21296097094)
  • Next Build on dev-v099 (#21726163544)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc