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

Remove explicit installation of setuptools #278

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Dec 28, 2024

@@ -696,7 +696,7 @@ def main(args):
return 1


# NOTE: setuptools generated console_scripts calls function with no arguments
# NOTE: console_scripts calls this function with no arguments
Copy link
Member

Choose a reason for hiding this comment

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

I think the original comment is still correct and concise as this function is referenced in pyproject.toml#project.scripts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Python Packaging Authortiy has respecified console_scripts to be supported beyond setuptools as discussed at
https://packaging.python.org/en/latest/specifications/entry-points

Copy link

@Jayman2000 Jayman2000 left a comment

Choose a reason for hiding this comment

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

I created a script that tests this PR in Python 3.8 through Python 3.13. Everything seems to work fine in all of those versions of Python.

@cclauss cclauss requested a review from legendecas December 29, 2024 09:22
@legendecas legendecas merged commit e476778 into nodejs:main Dec 29, 2024
50 checks passed
@cclauss cclauss deleted the remove-setuptools branch December 29, 2024 12:59
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.

At some point, we should stop telling contributors to update setuptools
3 participants