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
flit publish fails: this api is no longer supported #112
Comments
WorkaroundI installed flit |
Is it possible that you typed your password in wrong? The first error that occurs is I should write some code to tell if the upload is going to new PyPI and behave differently. |
I'm almost sure I typed it in correctly at least once, unless pypi.org has different credentials. That part confused me too though. I tried it several times to guard against that. Then the first time I ran |
Weird. Credentials should be the same. I don't think the upload code has
changed much in the newest version of flit. The code for getting your
password has changed, and it might also have changed to use the new pypi by
default if you don't have it configured in .pypirc .
…On 17 Jun 2017 10:59 p.m., "Jacques Kvam" ***@***.***> wrote:
I'm almost sure I typed it in correctly at least once, unless pypi.org
has different credentials. That part confused me too though. I tried it
several times to guard against that. Then the first time I ran flit wheel
--upload it worked.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#112 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAUA9eMSrBtmbSCigHsCT0lRbX5LI1Rlks5sFExdgaJpZM4N9VXx>
.
|
I've got the same error as well. Credentials definitely work since they work fine when logging into the |
updating my |
I don't remember ever creating a pypirc file but it just has.
Is this correct? |
I also added |
it should be something like:
the |
@choldgraf thanks for the info. That sounds like the new server (pypi.org) is rejecting your password for some reason, but the old one (pypi.python.org) is accepting it. It might be a bug on the server side, since they're supposed to run from the same database. Or maybe we need to send the authentication information differently somehow. Unfortunately, I don't have a good way to test this without uploading a package. @jwkvam When you tried uploading with the newer version of flit, it would have created that file automatically to record your username. |
For clarity, one of the changes in the 0.11 release was to switch the default upload URL (if you haven't specified the address of PyPI in your |
@Carreau have you published any packages recently using either pypi.org or pypi.io? |
Yes. For me it just works (on PyPI.io 5 minutes ago. – published a 0.0.6 of undefined just to test). We had some similar issues with setup.py upload on classic PyPI with |
Using Carreau's example pypirc allows me to upload, thanks. The issue is resolved for me. 👍 |
omg I hadn't heard of I was able to login fine with |
Yeah, it's still in development, but it's only the free time of 1/2 a dev. The backend database is shared between PyPI.io and pypi.python.org, so modification on any of these two will be reflected immediately on the other. |
ah I wish there were money to pay people to make things more user-friendly and pretty... |
At least for me, pypi.io redirects to pypi.org. So either it was a temporary glitch which is now fixed again, or there's something weird happening when you upload directly to pypi.org rather than requesting pypi.io. |
I found the problem: when you entered the password in the terminal, it wouldn't actually use it for the upload (a return was missing). It's fixed in 0.11.3. They're going to stop old PyPI accepting uploads on July 3rd, so if you have Finally, if you install the |
ah - nice! thanks for the heads up on pypi switching...and the note about keyring. I think all of that should be in the docs :-) |
Oh, where did you saw that ? Will there be a redirect ? If they announced it they should announce it more broadly. |
It was just announced on distutils sig as I was fixing this today. I think
they're planning to make it produce an informative error message. I suspect
it's still going to be annoying for many people, but I don't think that
would improve much by waiting longer.
…On 22 Jun 2017 6:49 p.m., "Matthias Bussonnier" ***@***.***> wrote:
They're going to stop old PyPI accepting uploads on July 3rd
Oh, where did you saw that ? Will there be a redirect ? If they announced
it they should announce it more broadly.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#112 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAUA9XBT4_tk8IwPweKBc1vGpUx2XT1vks5sGqkegaJpZM4N9VXx>
.
|
Running
flit publish
results in the following. Last time I did this, May 24 (withflit wheel --upload
) it worked. I'm not sure what it means by simply upload the file.The text was updated successfully, but these errors were encountered: