question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Include most recent upload metadata when uploading to PyPI

See original GitHub issue

It seems that for the upload command, we’re delegating entirely to distutils, which has metadata_version hard-coded as “1.0”, and only uploads the 1.0 metadata. I think this is one reason that Requires-Python data isn’t showing up on PyPI.

Although setup.py upload is basically deprecated, I think we should probably still make these improvements, even if as part of this we also add DeprecationWarning telling people to start using twine.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
benoit-pierrecommented, Sep 25, 2018

I think we should keep this open until the upload/register commands are completely removed.

0reactions
jpurviancecommented, Oct 28, 2018

looking at this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building and Uploading to PyPi - The Sheer Joy of Packaging!
Make sure artifacts have been generated in the dist subdirectory. Exercise 3: Publish artifacts on PyPI¶. $ twine upload --repository-url https://test.pypi ...
Read more >
Why isn't setup.py metadata being used on PyPI?
The sdist command is one of a few build commands that will build a source distribution. You are likely familiar with it already...
Read more >
Uploading to PyPI - Daniel Michaels
4. Upload! ... Using the -r flag allows you to set which server to send the file too. This file name is setup...
Read more >
6. The Python Package Index (PyPI) — Python 3.6.15 ...
PyPI lets you submit any number of versions of your distribution to the index. If you alter the meta-data for a particular version,...
Read more >
How to Create and Upload Your First Python Package to PyPI
A Python package is a directory that contains a bunch of modules with a ... So, we need to add the following metadata...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found