Skip to content

Manage package version through pyproject metadata - #67

Merged
mcflugen merged 1 commit into
csdms:masterfrom
mcflugen:mcflugen/set-version-in-pyproject
Mar 29, 2026
Merged

Manage package version through pyproject metadata#67
mcflugen merged 1 commit into
csdms:masterfrom
mcflugen:mcflugen/set-version-in-pyproject

Conversation

@mcflugen

Copy link
Copy Markdown
Member

I think it's easier to manage the package version through the static metadata in pyproject.toml.

@mcflugen
mcflugen force-pushed the mcflugen/set-version-in-pyproject branch from 7faf0e7 to 9704e58 Compare March 29, 2026 00:11
@mcflugen
mcflugen requested a review from mdpiper March 29, 2026 00:11
@mcflugen
mcflugen force-pushed the mcflugen/set-version-in-pyproject branch from 9704e58 to fa8a5a6 Compare March 29, 2026 00:14
@coveralls

coveralls commented Mar 29, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 78.788% (+0.3%) from 78.509%
when pulling 923a5b7 on mcflugen:mcflugen/set-version-in-pyproject
into 2434b8d on csdms:master.

@mcflugen
mcflugen force-pushed the mcflugen/set-version-in-pyproject branch from fa8a5a6 to 923a5b7 Compare March 29, 2026 06:23

@mdpiper mdpiper left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree.

* set version in pyproject.toml
* use importlib to get version
@mcflugen
mcflugen force-pushed the mcflugen/set-version-in-pyproject branch from 923a5b7 to 04336e1 Compare March 29, 2026 20:59
@codecov-commenter

codecov-commenter commented Mar 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.26%. Comparing base (742dcfa) to head (6ba54a5).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
+ Coverage   96.22%   96.26%   +0.04%     
==========================================
  Files           8        8              
  Lines         265      268       +3     
  Branches       11       11              
==========================================
+ Hits          255      258       +3     
  Misses          8        8              
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 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.

@mcflugen
mcflugen force-pushed the mcflugen/set-version-in-pyproject branch from 6ba54a5 to 04336e1 Compare March 29, 2026 22:32
@mcflugen
mcflugen merged commit db7c91e into csdms:master Mar 29, 2026
41 of 46 checks passed
@mcflugen
mcflugen deleted the mcflugen/set-version-in-pyproject branch March 29, 2026 22:33
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.

4 participants