fix: Make project version dynamic#204
Conversation
There was a problem hiding this comment.
Pull request overview
This PR removes the duplicated hard-coded version definitions by switching the package to a SCM-derived version (via setuptools_scm) and exposing that version through metar.__version__.
Changes:
- Make the project version dynamic in
pyproject.tomland configuresetuptools_scm. - Add
metar/_version.pyand computemetar.__version__from metadata/VCS info. - Add a changelog entry for the change.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
pyproject.toml |
Switches to dynamic versioning and adds setuptools_scm build configuration. |
metar/_version.py |
Introduces runtime version resolution logic (metadata + editable install handling). |
metar/__init__.py |
Replaces hard-coded __version__ with computed version from _version.get_version(). |
CHANGELOG.md |
Notes the SCM-based versioning change for the next release entry. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I am unsure about this yet, I largely copied what |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Sorry for the thrashing on this PR and copilot churn. Trying not to foul this up 😓 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
In my local dev, Gonna cleanup the git history here and plow forward. |
3b1cb95 to
78d2a91
Compare
78d2a91 to
f4ac72b
Compare
closes #201