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

Only Python 2 version showing for universal wheel #3803

Closed
jadolg opened this issue Apr 24, 2018 · 6 comments
Closed

Only Python 2 version showing for universal wheel #3803

jadolg opened this issue Apr 24, 2018 · 6 comments

Comments

@jadolg
Copy link

jadolg commented Apr 24, 2018

Hi, I have uploaded a new version of my library which is a universal wheel. It's platform independent and works with both python 2 and 3 but Python Version of the download files section only shows 2.7.
image

@di
Copy link
Member

di commented Apr 24, 2018

@jadolg Can you link us to the project in question?

@dstufft
Copy link
Member

dstufft commented Apr 24, 2018

This happens when you upload with python setup.py upload instead of twine.

I wonder if we shouldn't just remove the column completely. It's kind of silly since it's either going to be nothing (sdists) or already represented in the wheel filename. It might still be relevant for eggs, but I don't think so there either.

@jadolg
Copy link
Author

jadolg commented Apr 24, 2018

@brainwane
Copy link
Contributor

@jadolg would you mind telling us whether this problem still happens if you do the following?

To test this, you can add dev[n] to the end of your version number (as in, 0.6.8dev1) and upload to Test PyPI (instructions: https://packaging.python.org/guides/using-testpypi/ ).

Thanks!

@jadolg
Copy link
Author

jadolg commented May 2, 2018

thanks, @brainwane. I uploaded a new version using Twine and all problems are gone. The version string is correct, markdown is rendering perfectly and this odd issue I had in my library just disappeared.
Is there a way to avoid users to upload their packages using other ways? I've never used Twine before. I always used good old python setup.py bdist_wheel upload with no problems.

@jadolg jadolg closed this as completed May 2, 2018
@brainwane
Copy link
Contributor

@jadolg Thanks for the update.

In a sense you're asking: how do we get users to only use one way to upload stuff to PyPI, or make sure the ways most people do their uploads is supported, or warn them when something they're doing is apt to cause hard-to-diagnose problems? That's a big infrastructural (social infrastructure and digital infrastructure) problem and we're talking about it in pypa/packaging-problems#107 and pypa/packaging-problems#129 and pypa/twine#154 plus other places. I'm sorry for the trouble.

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

No branches or pull requests

4 participants