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

Uploading to testpypi #153

Closed
rmcgibbo opened this Issue Nov 15, 2015 · 12 comments

Comments

Projects
None yet
@rmcgibbo
Copy link
Member

rmcgibbo commented Nov 15, 2015

I had some trouble with using twine to upload a package to testpypi. I tried like this

$ twine upload -r testpypi dist/sphinxcontrib-lunrsearch-0.1.tar.gz
Uploading distributions to https://pypi.python.org/pypi
Uploading sphinxcontrib-lunrsearch-0.1.tar.gz

But it looks like it went to regular pypi. I assume I'm doing something wrong here, but any docs on how twine and testpypi together would be appreciated.

@rmcgibbo rmcgibbo changed the title Registering on testpypi Uploading to testpypi Nov 15, 2015

@rmcgibbo rmcgibbo closed this Dec 31, 2015

@thedrow

This comment has been minimized.

Copy link
Contributor

thedrow commented Dec 31, 2015

Were you able to resolve the issue?

@rmcgibbo

This comment has been minimized.

Copy link
Member

rmcgibbo commented Dec 31, 2015

No. I decided I don't care.

@lambdaman121

This comment has been minimized.

Copy link

lambdaman121 commented Jul 1, 2017

Isn't it called pypitest, not testpypi?

That's probably why it's defaulting to pypi...

@OyeBenny

This comment has been minimized.

Copy link

OyeBenny commented Jul 1, 2017

What up Reddit.

@xeor

This comment has been minimized.

Copy link

xeor commented Jul 1, 2017

We've all been there
https://www.reddit.com/r/ProgrammerHumor/comments/6kmq6s/weve_all_been_there/

Crosslinking. Since it's funny :)

@SippieCup

This comment has been minimized.

Copy link

SippieCup commented Jul 1, 2017

For anyone who is looking for the solution, it's likely that your ~/.pypirc file is misconfigured and you copied and pasted the pypi URL into the entry for testpypi.

Ensure the testpypi repo entry matches something like this

[testpypi]
repository = https://testpypi.python.org/pypi
username = <your user name goes here>
password = <your test password goes here>
@samuelnub

This comment has been minimized.

Copy link

samuelnub commented Jul 1, 2017

Real answer is always in the comments 👍

@Moulick

This comment has been minimized.

Copy link

Moulick commented Jul 1, 2017

@rmcgibbo its okay, @SippieCup solved it for ya

@perilstar

This comment has been minimized.

Copy link

perilstar commented Jul 1, 2017

Hi reddit

@CrimsonCube

This comment has been minimized.

Copy link

CrimsonCube commented Jul 1, 2017

Hey guys, it would be really nice if you would stop posting unrelated comments about Reddit. This is not a forum or discussion board. Please be respectful to the repository owner(s).

@ParmuSingh

This comment has been minimized.

Copy link

ParmuSingh commented Jul 1, 2017

Waddup reddit!

@pypa pypa locked and limited conversation to collaborators Jul 1, 2017

@brainwane

This comment has been minimized.

Copy link
Member

brainwane commented Mar 1, 2018

Thanks to folks who have commented here and shared bug reports and tips.

The newly improved Test PyPI guide has .pypirc instructions -- feel free to signal-boost it. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.