Skip to content

Add new dynamic-metadata based dynamic version support - #161

Merged
dolfinus merged 3 commits into
dolfinus:masterfrom
ktbarrett:support-scikit-build-core
Sep 30, 2026
Merged

dolfinus merged 3 commits into
dolfinus:masterfrom
ktbarrett:support-scikit-build-core

Conversation

@ktbarrett

@ktbarrett ktbarrett commented Sep 26, 2026 •

Copy link
Copy Markdown

Change Summary

Closes #142 by adding support for the new dynamic-metadata API and deprecating the old (also now deprecated) scikit-build-core-specific dynamic version provider API.

Checklist

  • Commit message and PR title is comprehensive
  • Keep the change as small as possible
  • Unit and integration tests for the changes exist
  • Tests pass on CI and coverage does not decrease
  • Documentation reflects the changes where applicable
  • docs/changelog/next_release/<pull request or issue id>.<change type>.rst file added describing change
    (see CONTRIBUTING.rst for details.)
  • My PR is ready to review.

The new API is based on the semi-standardized dynamic-metadata package
which got some Python core dev blessings and now supports enough
functionality for this project to supply version information dynamically
via this new API to downstream packages.

The old scikit-build-core-specific dynamic version provider has been
deprecated.
@ktbarrett
ktbarrett force-pushed the support-scikit-build-core branch from cd53c1e to 17e0309 Compare September 26, 2026 09:24
@ktbarrett

Copy link
Copy Markdown
Author

@dolfinus I added a new "Deprecation" tag to towncrier if you are okay with that. If not, let me know where I should recategorize the deprecation newsfrag.

@dolfinus

Copy link
Copy Markdown
Owner

@ktbarrett That's okay, thanks!

@ktbarrett
ktbarrett marked this pull request as ready for review September 29, 2026 15:51
@ktbarrett
ktbarrett requested a review from dolfinus as a code owner September 29, 2026 15:51
@ktbarrett

Copy link
Copy Markdown
Author

The test failure seems to be due to running the tests in a fork.

Comment thread README.rst Outdated

@dolfinus dolfinus left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thank you for contribution!

@dolfinus
dolfinus merged commit 8e5be1c into dolfinus:master Sep 30, 2026
8 checks passed
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.

Support for dynamic-metadata

2 participants