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

Recommend using twine check instead #122

Merged
merged 2 commits into from
Sep 24, 2018
Merged

Conversation

di
Copy link
Member

@di di commented Sep 21, 2018

This PR updates the README for this repo to recommend using the new twine check command instead of setup.py check -r -s.

It also adds a deprecation notice for the old command.

This should be merged once the new version of Twine is released.

README.rst Outdated
@@ -44,4 +22,7 @@ Code of Conduct
Everyone interacting in the readme_renderer project's codebases, issue trackers,
chat rooms, and mailing lists is expected to follow the `PyPA Code of Conduct`_.


.. |twine check| replace:: ``twine check``
.. _twine check: https://github.com/pypa/twine#twine-check
Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, perhaps it would be better to link to the new section that pypa/packaging.python.org#554 is adding instead. I'll update this after that's merged.

@di di merged commit 2c42c8e into pypa:master Sep 24, 2018
@di di deleted the deprecate-setuppy-check branch September 24, 2018 17:57
webknjaz added a commit to cherrypy/cheroot that referenced this pull request Oct 5, 2018
@ionelmc
Copy link

ionelmc commented Jul 26, 2019

Why exactly is this deprecated?

@merwok
Copy link

merwok commented Jul 26, 2019

Probably because not everyone is using setup.py, so it’s becoming less central to the workflow (somewhat like how tox replaced setup.py test).

miketheman added a commit to miketheman/readme_renderer that referenced this pull request Mar 23, 2022
The `check` command was ported to `twine check` in 2018.
Refs: pypa#122

Python 3.10 and 3.11 have marked `distutils` as deprecated.
Refs: https://peps.python.org/pep-0632/#specification

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
di pushed a commit that referenced this pull request Mar 23, 2022
The `check` command was ported to `twine check` in 2018.
Refs: #122

Python 3.10 and 3.11 have marked `distutils` as deprecated.
Refs: https://peps.python.org/pep-0632/#specification

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
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.

4 participants