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

Ouranosinc / xscen / 25573300694
90%

Build:
DEFAULT BRANCH: main
Ran 08 May 2026 06:52PM UTC
Jobs 12
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

08 May 2026 06:45PM UTC coverage: 89.969% (-0.009%) from 89.978%
25573300694

push

github

web-flow
Fix for change in parse 1.21 (#729)

<!-- 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
- [x] (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?
`parse` 1.21 has added support for the parsing of the grouping character
of decimal numbers. For example `1_000_000` uses `_`. The decoding of
this format spec modifier is done _before_ checking if the requested
format is an "extra" (custom) type. Thus, our custom `_` format was
misinterpreted and our custom regex never applied.

Result : the `{?:_}` pattern matched _anything_. It is supposed to match
everything except slashes `\ /`. This makes `parse_directory` fail to
properly match file names. See the modified test for an example.


I also added a few checks on the (rarely used) decorator that registers
these types.

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


### Other information:
@aslibese FYI! I suggest you make sure you have this fix or `parse <
1.21` (1.20.2 works fine) in the environment that builds the catalog!

5 of 7 new or added lines in 1 file covered. (71.43%)

4422 of 4915 relevant lines covered (89.97%)

10.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
86.54
-0.03% src/xscen/catutils.py
Jobs
ID Job ID Ran Files Coverage
1 run-Python3.13-conda-ubuntu-latest - 25573300694.1 08 May 2026 06:56PM UTC 17
89.68
GitHub Action Run
2 run-Python3.13-pypi-ubuntu-latest - 25573300694.2 08 May 2026 06:56PM UTC 17
87.37
GitHub Action Run
3 run-Python3.10-conda-ubuntu-latest - 25573300694.3 08 May 2026 06:55PM UTC 17
89.36
GitHub Action Run
4 run-Python3.10-pypi-ubuntu-latest - 25573300694.4 08 May 2026 06:56PM UTC 17
87.12
GitHub Action Run
5 run-Python3.12-conda-ubuntu-latest - 25573300694.5 08 May 2026 06:55PM UTC 17
89.68
GitHub Action Run
6 run-Python3.11-conda-ubuntu-latest - 25573300694.6 08 May 2026 06:57PM UTC 17
89.68
GitHub Action Run
7 run-Python3.11-pypi-ubuntu-latest - 25573300694.7 08 May 2026 06:56PM UTC 17
87.37
GitHub Action Run
8 run-Python3.14-conda-ubuntu-latest - 25573300694.8 08 May 2026 06:52PM UTC 17
89.68
GitHub Action Run
9 run-Python3.11-pypi-windows-latest - 25573300694.9 08 May 2026 07:00PM UTC 17
79.98
GitHub Action Run
10 run-Python3.14-pypi-ubuntu-latest - 25573300694.10 08 May 2026 06:52PM UTC 17
87.34
GitHub Action Run
11 run-Python3.12-pypi-ubuntu-latest - 25573300694.11 08 May 2026 06:55PM UTC 17
87.37
GitHub Action Run
12 run-Python3.12-pypi-macos-latest - 25573300694.12 08 May 2026 06:53PM UTC 17
87.3
GitHub Action Run
Source Files on build 25573300694
  • Tree
  • List 17
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25573300694
  • 9cb071d5 on github
  • Prev Build on main (#25465641826)
  • Next Build on main (#25687094992)
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