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

Fully implement PEP 527 #7529

Merged
merged 4 commits into from
Apr 13, 2020
Merged

Fully implement PEP 527 #7529

merged 4 commits into from
Apr 13, 2020

Conversation

di
Copy link
Member

@di di commented Mar 12, 2020

Fixes #6792. To be merged on 2020-04-12.

@di di requested a review from ewdurbin March 12, 2020 18:00
@di di force-pushed the pep527-deprecation branch from 708a3d4 to bb13e97 Compare March 12, 2020 23:22
@di di force-pushed the pep527-deprecation branch from 374071e to 2c1c50f Compare April 7, 2020 06:10
@ewdurbin
Copy link
Member

ewdurbin commented Apr 7, 2020

Note: as is this will cause upload failures temporarily during deploy when the old upload fleet goes looking for this column after the migration runs, but before they’re replaced.

@pradyunsg
Copy link
Contributor

It's no longer 2020-04-12 anywhere on earth. Is there a new timeline for this PR now?

@ewdurbin
Copy link
Member

To avoid confusion, I'll set the admin flag disallow-new-upload momentarily before deploy so folks get a useful error instead of a 500.

@ewdurbin ewdurbin merged commit d5e37b7 into master Apr 13, 2020
@ewdurbin ewdurbin deleted the pep527-deprecation branch April 13, 2020 17:30
dnicolodi added a commit to dnicolodi/twine that referenced this pull request Dec 12, 2024
PEP 527 deprecated .tar.bz2 sdists in September 2016 and PyPI removed
support in April 2020 pypi/warehouse#7529.

There is little evidence of other package indexes supporting this file
format for sdists and there is no known modern Python package build
tool that generates source distributions as .tat.bz2 archives.

Moving to 'packaging' for parsing metadata as the code for extracting
the metadata from distribution archives will need to be implemented in
twine. This change allows to have to implement only one archive format
for sdists.

Note that PyPI still supports sdists in .zip format but twine does not.

Fixes pypa#1196.
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.

Fully implement PEP 527
4 participants