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

change VERSION to __version__ in the example #4590

Merged
merged 3 commits into from
Aug 27, 2024

Conversation

ChrisBarker-NOAA
Copy link
Contributor

Summary of changes

In the example for dynamic specifying a version from a package attribute, change VERSION to __version__.

__version__ is the most common convention, I think it's better to have the example reflect that.

See the discussion in:

pypa/packaging.python.org#1580

and many other discussions --

ChrisBarker-NOAA and others added 2 commits August 23, 2024 13:36
change string, list or tuple to "string" -- in the footnote about attr -- it is only referenced by dynamic version -- and the version should only be a string (PEP 440).
@abravalheri abravalheri merged commit 5c829ac into pypa:main Aug 27, 2024
15 of 16 checks passed
@ChrisBarker-NOAA
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants