Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rework versioning #470

Merged
merged 2 commits into from
Apr 5, 2024

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Mar 26, 2024

Rework versioning to come from pyproject.toml. Other cleanups.

@henryiii henryiii force-pushed the henryiii/chore/reworkversion branch 4 times, most recently from c2805c7 to c5422eb Compare March 26, 2024 06:30
README.rst Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
noxfile.py Outdated Show resolved Hide resolved
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii force-pushed the henryiii/chore/reworkversion branch from f1ee141 to 099bfe2 Compare April 5, 2024 03:13
# The full version, including alpha/beta/rc tags.
release = version
with pyproject.open('rb') as f:
release = tomllib.load(f)["project"]["version"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This fixes the docs build, which has been broken for quite a while.

@thewtex
Copy link
Member

thewtex commented Apr 5, 2024

Discussion note:

Add pyproject.toml to the nox bump function.

Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

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

LGTM

@henryiii
Copy link
Contributor Author

henryiii commented Apr 5, 2024

Add pyproject.toml to the nox bump function.

Thanks! I'd already forgotten.

@henryiii henryiii merged commit 215cc1c into scikit-build:main Apr 5, 2024
23 checks passed
@henryiii henryiii deleted the henryiii/chore/reworkversion branch April 5, 2024 21:27
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.

None yet

3 participants