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

PEP 621 added #293

Merged
merged 8 commits into from
Aug 28, 2023
Merged

PEP 621 added #293

merged 8 commits into from
Aug 28, 2023

Conversation

apurvakhatri
Copy link
Contributor

Issue number of the reported bug or feature request: #284

Describe your changes
Read PEP 621 Documentation and migrated metadata from setup.py to pyproject.toml.
project table contains the static fields whereas version and classifiers are added dynamic fields as per PEP 621.

Testing performed
python3 setup.py bdist and twine check dist/ ran successfully.
OS: MacOS 13.3.1

Additional context
.toml does not support reusing of variables (toml-lang/toml#829) therefore it was difficult to migrate copyright, which uses author.

Signed-off-by: apurvakhatri <khatri.ap@northeastern.edu>
setup.py Outdated Show resolved Hide resolved
Signed-off-by: apurvakhatri <khatri.ap@northeastern.edu>
setup.py Outdated Show resolved Hide resolved
Signed-off-by: apurvakhatri <khatri.ap@northeastern.edu>
Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

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

Coming along nicely, thanks for working through this! I've added some notes inline - let me know if anything is unclear!

pyproject.toml Outdated Show resolved Hide resolved
setup.py Show resolved Hide resolved
readme_renderer/__about__.py Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
apurvakhatri added 2 commits August 25, 2023 19:21
Signed-off-by: apurvakhatri <khatri.ap@northeastern.edu>
Signed-off-by: apurvakhatri <khatri.ap@northeastern.edu>
pyproject.toml Outdated Show resolved Hide resolved
setup.py Show resolved Hide resolved
apurvakhatri added 2 commits August 26, 2023 23:29
Signed-off-by: apurvakhatri <khatri.ap@northeastern.edu>
Signed-off-by: apurvakhatri <khatri.ap@northeastern.edu>
Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

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

Nice work so far!

I inspected the packaged metadata from the changed code and compared it to the existing and found a couple of last changes that I think need to be addressed before we can merge this.

pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
Signed-off-by: apurvakhatri <khatri.ap@northeastern.edu>
Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

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

I'm good with these changes.
@di care to take another pass?

Copy link
Member

@di di left a comment

Choose a reason for hiding this comment

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

Thanks!

@di di merged commit b509830 into pypa:main Aug 28, 2023
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.

3 participants