Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Using Twine to upload to PyPI #74

Closed
9a24f0 opened this issue Apr 14, 2020 · 13 comments
Closed

Using Twine to upload to PyPI #74

9a24f0 opened this issue Apr 14, 2020 · 13 comments
Labels
distribution Packaging and distributing of source and binary

Comments

@9a24f0
Copy link
Collaborator

9a24f0 commented Apr 14, 2020

I tried to look at Twine's guide as in here
However, I got this when using twine upload --repository-url https://test.pypi.org/legacy/ dist/*

HTTPError: 403 Client Error: Invalid or non-existent authentication information. See https://test.pypi.org/help/#invalid-auth for details for url: https://test.pypi.org/legacy/
@9a24f0 9a24f0 added the discussion Design issue label Apr 14, 2020
@9a24f0
Copy link
Collaborator Author

9a24f0 commented Apr 14, 2020

@McSinyx any guide on this :/

@McSinyx
Copy link
Owner

McSinyx commented Apr 14, 2020

Could be invalid or non-existent authentication information. What username/password did you use? BTW please be explicit, dist/* is not.

@McSinyx
Copy link
Owner

McSinyx commented Apr 14, 2020

BTW you can benefit from having something like this at $HOME.

@9a24f0
Copy link
Collaborator Author

9a24f0 commented Apr 14, 2020

oops, please check if I have done it correctly...
Palace is on 0.1.12 now on PyPI

@McSinyx
Copy link
Owner

McSinyx commented Apr 14, 2020

You need to do the other things said in GH-70 to create the wheels.

@McSinyx
Copy link
Owner

McSinyx commented Apr 14, 2020

Oh f*k I told you to be explicit on the uploading, we don't want eggs there.

@McSinyx
Copy link
Owner

McSinyx commented Apr 14, 2020

Jesus you uploaded all the eggs there ugh.

@9a24f0
Copy link
Collaborator Author

9a24f0 commented Apr 14, 2020

the eggs?...

@McSinyx
Copy link
Owner

McSinyx commented Apr 14, 2020

NEVER USE WILDCARDS FOR ANYTHING THAT IS IMPORTANT, NAMELY VERSION CONTROL, RELEASES, ETC! THIS IS NOT EVEN THE FIRST TIME I HAVE TO TELL YOU THIS! Only upload the sdist (source distribution)!

@9a24f0
Copy link
Collaborator Author

9a24f0 commented Apr 14, 2020

How can I fix it then.

@McSinyx
Copy link
Owner

McSinyx commented Apr 14, 2020

Already deleted ugh, just always be extra careful when do things that are important. Now please draft the release on GitHub so Travis can publish the wheels.

@McSinyx McSinyx closed this as completed Apr 14, 2020
@McSinyx McSinyx added invalid This doesn't seem right and removed discussion Design issue labels Apr 17, 2020
@McSinyx
Copy link
Owner

McSinyx commented Apr 17, 2020

Labeled as invalid because the issue is with usage of Twine, which is out of palace's scope.

@McSinyx McSinyx added distribution Packaging and distributing of source and binary and removed invalid This doesn't seem right labels Apr 19, 2020
@McSinyx
Copy link
Owner

McSinyx commented Apr 19, 2020

Labeled as distribution since it might fit better.

@9a24f0 and @Huy-Ngo, after the discussion linked above, I realized a few things:

  1. Sometimes seemingly I pushed you guys too hard outta your comfort zones, and when things went weird I freaked tf out and was not really nice. Please take my apologies for any unpleasant moment you might experienced in the past. Additionally, if there's anything wrong with the way I manage this project, it's time to tell my now so we can fix it together.
  2. As a reminder, pip install . -v --no-build-isolation might be a decent alternative to ./setup.py install --user if you like the output.

Thank you for the (past, present and future) time and effort you all put into this and also with me 😄 Cheers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
distribution Packaging and distributing of source and binary
Projects
None yet
Development

No branches or pull requests

2 participants