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

Ouranosinc / xclim / 45885871112
90%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2026 07:47PM UTC
Jobs 8
Files 63
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

26 Nov 2026 07:44PM UTC coverage: 90.477% (-0.001%) from 90.478%
45885871112

push

github

web-flow
Fix mutable options default for non-main threads (#2485)

<!--
Please ensure the PR fulfills the following requirements!

- If this is your first PR, make sure to add your details to the
AUTHORS.rst and .zenodo.json!
- If AI was used in the development of this contribution, please detail
this information under "Other information"
-->
### Pull Request Checklist:
- [x] This PR addresses an already opened issue
    - This PR fixes #2484 
- [x] Tests for the relevant changes have been added to this PR
- [ ] Documentation has been added / updated
- [x] CHANGELOG.rst has been updated (with a short summary of the main
changes)
- [x] Links to issue (:issue:`number`) and pull request (:pull:`number`)
have been added

### What kind of change does this PR introduce?
Instead of setting the defaults for mutable type options in the main
thread (oops), this stores the defaults in a global dictionary and
returns that in `get_options` if the option is None.

### Does this PR introduce a breaking change?
No.


### Other information
@karimbahgat if you could take a look here, it could be nice. As you
might see now, I am not used to work with threading that much and I
might have forgotten something. Thanks!

3 of 3 new or added lines in 1 file covered. (100.0%)

8247 of 9115 relevant lines covered (90.48%)

7.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.13-windows-latest-prefetch - 45885871112.1 26 Nov 2026 07:55PM UTC 63
88.96
GitHub Action Run
2 run-3.13-macos-latest- - 45885871112.2 26 Nov 2026 07:51PM UTC 63
89.74
GitHub Action Run
3 run-3.14-ubuntu-latest- - 45885871112.3 26 Nov 2026 07:50PM UTC 63
86.29
GitHub Action Run
4 run-3.12-ubuntu-latest- - 45885871112.4 26 Nov 2026 07:52PM UTC 63
86.3
GitHub Action Run
5 run-3.12-ubuntu-latest-doctests - 45885871112.5 26 Nov 2026 07:47PM UTC 63
55.74
GitHub Action Run
6 run-{{ matrix.python-version }}-conda - 45885871112.6 26 Nov 2026 07:49PM UTC 63
89.75
GitHub Action Run
7 run-3.12-ubuntu-latest-offline - 45885871112.7 26 Nov 2026 07:51PM UTC 63
89.16
GitHub Action Run
8 run-3.13-ubuntu-latest- - 45885871112.8 26 Nov 2026 07:50PM UTC 63
86.85
GitHub Action Run
Source Files on build 45885871112
  • Tree
  • List 63
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45885871112
  • 33d2b088 on github
  • Prev Build on main (#45880692660)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc