Skip to content

chore: automatically derive version#65

Open
flying-sheep wants to merge 3 commits intomainfrom
pa/version
Open

chore: automatically derive version#65
flying-sheep wants to merge 3 commits intomainfrom
pa/version

Conversation

@flying-sheep
Copy link
Copy Markdown
Contributor

@flying-sheep flying-sheep commented May 5, 2026

The version pushed to PyPI is 0.0.1, since the version metadata on the main branch (and the 0.2.0 tag) is static (version = "0.0.1")

This PR switches to hatch-vcs which simply derives the version from the Git tag, i.e. when you create the next release, the tag name you define will be the version.

alternatives

you could manage the version metadata manually and update it before a release

@flying-sheep flying-sheep requested a review from FrancescaDr May 5, 2026 11:11
@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 13.88%. Comparing base (3353b9a) to head (c9e2db0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #65   +/-   ##
=======================================
  Coverage   13.88%   13.88%           
=======================================
  Files          66       66           
  Lines        3593     3593           
=======================================
  Hits          499      499           
  Misses       3094     3094           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant