Skip to content

Add version bumping in uv.lock and make dev versions PEP440 compliant - #104

Draft
juhoinkinen wants to merge 1 commit into
mainfrom
pep440-valid-dev-version
Draft

Add version bumping in uv.lock and make dev versions PEP440 compliant#104
juhoinkinen wants to merge 1 commit into
mainfrom
pep440-valid-dev-version

Conversation

@juhoinkinen

Copy link
Copy Markdown
Member

Reasons for creating this PR

The bumpversion config did not take the version string in uv.lock into account, and running uv sync after the release, a git diff in uv.lock was introduced:

-version = "0.1.0.dev0"
+version = "0.2.0.dev0"

Note that uv normalized the version from 0.2.0-dev given in pyproject.toml.

Link to relevant issue(s), if any

Description of the changes in this PR

  1. Make dev version in pyproject.toml PEP440 compliant, so the the version string is identical to the one that ends up in uv.lock.
  2. Update bumpversion config to the new version format and add config to update the version string in uv.lock.
  3. Update version in uv.lock to the current, 0.2.0.dev0.

Instructions how to test this PR

Known problems or uncertainties in this PR

Checklist

  • I have added tests that show that the new code works, or tests are not relevant for this PR (e.g. only HTML/CSS changes)
  • The PR doesn't introduce unintended code changes (e.g. empty lines or useless reindentation)

Disclosure of AI Tool Usage

Please indicate AI use by choosing the most suitable TLP:AI category below and removing the irrelevant categories from the list. AI:ORANGE is the minimum level for merging.

  • 🟡 AI:AMBER AI-generated, fully reviewed line by line. Author can explain every part.

Describe the AI tool(s) you used:

Zoo Code with Qwen3.8-27B

@juhoinkinen juhoinkinen added the bug Something isn't working label Aug 21, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.50%. Comparing base (2a14380) to head (7c2690c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #104   +/-   ##
=======================================
  Coverage   98.50%   98.50%           
=======================================
  Files          13       13           
  Lines         536      536           
=======================================
  Hits          528      528           
  Misses          8        8           
Flag Coverage Δ
unittests 98.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@juhoinkinen

Copy link
Copy Markdown
Member Author

This is only relevant when uv.lock is git-tracked, see: 42fd6b8#r197166852

@juhoinkinen juhoinkinen added this to the 0.2 milestone Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants