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

fair-research / bdbag / 5703917834 / 4
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 30 Jul 2023 02:52AM UTC
Files 19
Run time 0s
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

30 Jul 2023 02:51AM UTC coverage: 92.436% (+0.2%) from 92.272%
5703917834.4

push

github

mikedarcy
Fix issue with packaging.parse throwing InvalidVersion in the upgrade_config() function when trying to parse the informational version string VERSION set by bdbag when it is running in a "frozen" (e.g., with cx_Freeze) environment. In such cases, VERSION is set to something like 1.7.1-frozen, which is not PEP-440 compliant. This was not an issue in previous releases due to the fact that the implementation used pkg_resources.parse_version which was not as strict.

The code in upgrade_config() has been changed to parse the PEP-440 compliant version returned by packaging.parse rather than use the global string VERSION, which can still be (and is) used elsewhere for purely informational and descriptive purposes.

Unfortunately this wasn't caught be unit testing before the release because of the complexity of unit testing pre-built frozen environments. It wasn't until other automation that freezes `bdbag` into a pre-built installable software package generated an installer that was tested manually did it get exposed.

704 of 824 branches covered (85.44%)

Branch coverage included in aggregate %.

1728 of 1807 relevant lines covered (95.63%)

0.96 hits per line

Source Files on job 5703917834.4
  • Tree
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 5703917834
  • 33043d59 on github
  • Prev Job for on master (#5660516476.1)
  • Next Job for on master (#5704062492.1)
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