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

Latest release 3.3.1 fails to deploy to pypi #107

Closed
belugame opened this issue Jul 31, 2018 · 37 comments
Closed

Latest release 3.3.1 fails to deploy to pypi #107

belugame opened this issue Jul 31, 2018 · 37 comments
Assignees
Labels

Comments

@belugame
Copy link
Collaborator

see job log: https://travis-ci.org/James1345/django-rest-knox/jobs/409780228

HTTPError: 400 Client Error: User 'xxx.xxx' does not have a verified primary email address. Please add a verified primary email before attempting to upload to PyPI. See https://pypi.org/help/#verified-email for more information.for more information. for url: https://upload.pypi.org/legacy/

Original author was informed by me.

@belugame
Copy link
Collaborator Author

belugame commented Aug 7, 2018

ping @James1345

@luk156
Copy link
Contributor

luk156 commented Aug 12, 2018

ping :)

@belugame belugame changed the title Latest release 3.2.0 fails to deploy to pypi Latest release 3.2.1 fails to deploy to pypi Aug 21, 2018
@rphlo
Copy link

rphlo commented Aug 30, 2018

Is there any sign of life from @James1345 ? Should we consider transfering the ownership of this repo and the pypi package to someone more active?

@belugame
Copy link
Collaborator Author

Feel free to drop him an email, you can find it here:
https://github.com/James1345/django-rest-knox/blob/master/setup.py#L28

@rphlo
Copy link

rphlo commented Aug 30, 2018

Thing is he should have already received multiple email regarding this issue and did not respond to any of those (Pypi email confirmation, Github notifications...)

@belugame
Copy link
Collaborator Author

he does reply to personal emails relatively quick. People tend to filter away auto-emails into folders. At least I do :)

@rphlo
Copy link

rphlo commented Aug 30, 2018

I sent an email.

@rphlo
Copy link

rphlo commented Aug 30, 2018

@James1345 replied

PyPi seem to have changed something and I can't get back into my old account. I don't know why yet, but it seems to have completely lost my email address as one that's registered to an account.

I'm contacting PyPi support to see if I can get back into the account

@James1345
Copy link
Member

James1345 commented Sep 4, 2018 via email

@rphlo
Copy link

rphlo commented Sep 4, 2018

Travis build went through but show Skipping a deployment with the pypi provider because this is not a tagged commit

@James1345
Copy link
Member

James1345 commented Sep 4, 2018 via email

@belugame
Copy link
Collaborator Author

@James1345 any update on this?

@luk156
Copy link
Contributor

luk156 commented Sep 21, 2018

ping

@James1345
Copy link
Member

next release should force a deployment

@belugame
Copy link
Collaborator Author

just tagged master as 3.3.1, hopefully already on its way to pypi

@belugame
Copy link
Collaborator Author

Release failed :( @James1345

HTTPError: 403 Client Error: Invalid or non-existent authentication information. for url: https://upload.pypi.org/legacy/
django_rest_knox.egg-info/PKG-INFO already exists, no checkout
django_rest_knox.egg-info/SOURCES.txt already exists, no checkout
django_rest_knox.egg-info/dependency_links.txt already exists, no checkout
django_rest_knox.egg-info/requires.txt already exists, no checkout
django_rest_knox.egg-info/top_level.txt already exists, no checkout
Could not restore untracked files from stash entry
PyPI upload failed.
failed to deploy

https://travis-ci.org/James1345/django-rest-knox/jobs/434573815

@belugame belugame changed the title Latest release 3.2.1 fails to deploy to pypi Latest release 3.3.1 fails to deploy to pypi Sep 28, 2018
@rphlo
Copy link

rphlo commented Sep 28, 2018

@James1345 did you forget to update your password in .travis.yml after you recovered your account?

@James1345 James1345 removed their assignment Sep 28, 2018
@James1345
Copy link
Member

That's not impossible

@johnraz
Copy link
Collaborator

johnraz commented Oct 2, 2018

Hey guys,

Would be nice to merge #109 with a successful pypi release 🎉

@James1345 would you have a bit of time to create a PR with the updated credentials?

Cheers 🤓

@belugame
Copy link
Collaborator Author

belugame commented Oct 9, 2018

ping @James1345

@James1345
Copy link
Member

James1345 commented Oct 9, 2018 via email

@johnraz
Copy link
Collaborator

johnraz commented Oct 19, 2018

@James1345 any chance we could see this moving forward or maybe you can delegate some permissions to @belugame ?

@belugame
Copy link
Collaborator Author

❗ We are unable to release since almost 3 months now, @James1345
At the moment the project sees a lot of valuable contributions from motivated coders new to the project, far more than in the past. It's a shame that we cannot thank them with regular releases to pypi. If you can't find the time for reestablishing the release workflow, I guess we have to republish it under a new name sadly. :-/

@James1345
Copy link
Member

I did the thing. Is it still not working?

@belugame
Copy link
Collaborator Author

Oh I wasn't aware you did. Just made a new release. It failed sadly:

https://travis-ci.org/James1345/django-rest-knox/jobs/445302892

HTTPError: 403 Client Error: Invalid or non-existent authentication information. for url: https://upload.pypi.org/legacy/
django_rest_knox.egg-info/PKG-INFO already exists, no checkout
django_rest_knox.egg-info/SOURCES.txt already exists, no checkout
django_rest_knox.egg-info/dependency_links.txt already exists, no checkout
django_rest_knox.egg-info/requires.txt already exists, no checkout
django_rest_knox.egg-info/top_level.txt already exists, no checkout
Could not restore untracked files from stash entry
PyPI upload failed.
failed to deploy

@James1345
Copy link
Member

On it right now, just reminding myself how travis works

@James1345
Copy link
Member

Okay, I've re-reset the password. I'm doing a new release to try to make it deploy

@James1345
Copy link
Member

@belugame it successfully deployed the first build, but then the others fail when it tries to deploy again with the other django versions... not sure of the solution yet

@James1345
Copy link
Member

@belugame
Copy link
Collaborator Author

might be related to us having added a Manifest file here ca26c90

but for a release, i dont even know why it should build all versions and try to publish them.. that sounds wrong anyway

@James1345
Copy link
Member

Fixing it now with build stages

@James1345
Copy link
Member

Going to leave it for tonight. It looks odd, but the deployment at least succeeds. I'll properly secure another new password some other day (leave this issue open so I remember)

@johnraz
Copy link
Collaborator

johnraz commented Oct 24, 2018

I don't believe it's related to the manifest.

The log says:

Uploading distributions to https://upload.pypi.org/legacy/
Uploading django_rest_knox-3.4.0-py3-none-any.whl
100%|██████████████████████████████████████| 19.0k/19.0k [00:01<00:00, 14.6kB/s]
Uploading django-rest-knox-3.4.0.tar.gz
100%|██████████████████████████████████████| 16.6k/16.6k [00:00<00:00, 44.1kB/s]
NOTE: Try --verbose to see response content.
HTTPError: 400 Client Error: File already exists. See https://pypi.org/help/#file-name-reuse for url: https://upload.pypi.org/legacy/

And then reading on https://pypi.org/help/#file-name-reuse, it seems that you cannot re-use the same filename twice - I guess to avoid replacing releases with new content and force you to bump your version instead.

And I believe it has been like that for a long time:
https://travis-ci.org/James1345/django-rest-knox/builds/346312886

Do you know if it ever worked without errors?

Anyway, I think everything is working as it should considering the release has been pushed to pypi.

We should close this and maybe re-open another issue if we really want to fix those kinda false positive failure.

Cheers

@James1345
Copy link
Member

James1345 commented Oct 24, 2018 via email

@johnraz
Copy link
Collaborator

johnraz commented Oct 24, 2018

This is precisely what I'm stating, yes.

@johnraz
Copy link
Collaborator

johnraz commented Oct 24, 2018

Created #138 to follow up on this, that way we can close this as the main issue is fixed.

@belugame
Copy link
Collaborator Author

thank you @johnraz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants