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

Add a "only-version" version scheme #1005

Merged
merged 10 commits into from
Jan 19, 2024

Conversation

thejcannon
Copy link
Contributor

@thejcannon thejcannon commented Jan 18, 2024

Fixes #1002 by adding a "only-version" version scheme.

@pytest.mark.parametrize(
"version",
[
"1.dev0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

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

I believe the name should be only-tag and the docs need a warning that this means version is no longer pseudo unique per commit

Still adding a blanket approval

I'll try to get this in this morning or by the weekend

@thejcannon
Copy link
Contributor Author

Done and done.

@RonnyPfannschmidt
Copy link
Contributor

thanks, would you like to see this squashed or should i merge as is?

@thejcannon
Copy link
Contributor Author

Oh I'm definitely camp squash-merge. "Rename" isn't much of an inspiring commit message 😂

@thejcannon thejcannon changed the title Add a "just-version" version scheme Add a "only-version" version scheme Jan 19, 2024
@RonnyPfannschmidt RonnyPfannschmidt merged commit a23d5fe into pypa:main Jan 19, 2024
18 checks passed
@thejcannon thejcannon deleted the jcannon/fix1002 branch January 19, 2024 17:10
@thejcannon
Copy link
Contributor Author

@RonnyPfannschmidt when might there be a new version of setuptools_scm to use?
Also, if there is going to be one soon, might it include #1004?

Thanks! 🙏

@RonnyPfannschmidt
Copy link
Contributor

I'll try to merge the clean up mr soon and releas this week

@jelacious
Copy link

Here's a bump on getting that release up and going as I'd like to use only-version. <3

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.

Add a just-the-tag version scheme
3 participants