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

Ouranosinc / xscen / 23654763043
90%

Build:
DEFAULT BRANCH: main
Ran 27 Mar 2026 03:52PM UTC
Jobs 5
Files 17
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

27 Mar 2026 03:46PM UTC coverage: 89.76% (-0.06%) from 89.817%
23654763043

push

github

web-flow
Fix Pandas 3 change when reading list of variables from files after parsing variables as strings (#703)

<!-- Please ensure the PR fulfills the following requirements! -->
<!-- If this is your first PR, make sure to add your details to the
AUTHORS.rst! -->
### Pull Request Checklist:
- [ ] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #xyz
- [ ] (If applicable) Documentation has been added / updated (for bug
fixes / features).
- [x] (If applicable) Tests have been added.
- [x] This PR does not seem to break the templates.
- [x] CHANGELOG.rst has been updated (with summary of main changes).
- [x] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added.

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

This is a pattern used for MRCC monthly files. The file name contains a
variable name, but the file itself contains more than that. Thus,
"variable" appears in the pattern and is parsed, but to have all
variables, we read them from file with this argument :
`read_from_file=[['variable', ...], ['variable']]`.

Since Pandas 3, a new StringDType exists, for the result of the first
filenames parsing has a `variable` column of this dtype. And when
setting an element to a tuple, it fails. Earlier, it was an Object
dtype, so there were no issue.

The fix simply changes the dtype of the column on the fly when this
situation happens.

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


### Other information:

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

3 existing lines in 1 file now uncovered.

4374 of 4873 relevant lines covered (89.76%)

4.48 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
86.21
-0.5% src/xscen/catutils.py
Jobs
ID Job ID Ran Files Coverage
1 run-Python3.14-conda - 23654763043.1 27 Mar 2026 03:52PM UTC 17
89.76
GitHub Action Run
2 run-Python3.12-conda - 23654763043.2 27 Mar 2026 03:56PM UTC 17
89.76
GitHub Action Run
3 run-Python3.13-conda - 23654763043.3 27 Mar 2026 03:56PM UTC 17
89.76
GitHub Action Run
4 run-Python3.10-conda - 23654763043.4 27 Mar 2026 03:56PM UTC 17
89.37
GitHub Action Run
5 run-Python3.11-conda - 23654763043.5 27 Mar 2026 03:56PM UTC 17
89.76
GitHub Action Run
Source Files on build 23654763043
  • Tree
  • List 17
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23654763043
  • ef674453 on github
  • Prev Build on main (#23649273988)
  • Next Build on main (#23667699805)
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