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

Not allowed to upload to pypi but test.pypi #5503

Closed
edouard-lopez opened this issue Feb 28, 2019 · 8 comments
Closed

Not allowed to upload to pypi but test.pypi #5503

edouard-lopez opened this issue Feb 28, 2019 · 8 comments

Comments

@edouard-lopez
Copy link

edouard-lopez commented Feb 28, 2019

Describe the bug

I successfully upload my package to test.pypi.org (see. pure). However, when I try to upload to pypi.org I got an error 403:

HTTPError: 403 Client Error: The user 'edouard-lopez' isn't allowed to upload to project 'Pure'. See https://pypi.org/help/#project-name for more information. for url: https://upload.pypi.org/legacy/

Yet, there is no pure project on pypi.org.

Note that my package name is lowercase pure, but the error mention a capitalize name Pure.

❯ make upload-package
Pypi username:
twine upload --username edouard-lopez dist/*
Uploading distributions to https://upload.pypi.org/legacy/
Uploading pure-1.2.2-py3-none-any.whl
100%|██████████| 12.6k/12.6k [00:01<00:00, 7.44kB/s]
NOTE: Try --verbose to see response content.
HTTPError: 403 Client Error: The user 'edouard-lopez' isn't allowed to upload to project 'Pure'. See https://pypi.org/help/#project-name for more information. for url: https://upload.pypi.org/legacy/
make: *** [upload-package] Error 1
makefile:107: recipe for target 'upload-package' failed  

Expected behavior

If package is accepted/refused by test.pypi.org it should be the same on pypi.org.

To Reproduce

My Platform

NAME="Linux Mint"
VERSION="19 (Tara)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19"
VERSION_ID="19"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tara
UBUNTU_CODENAME=bionic
❯ python3 --version
Python 3.6.7
❯ twine --version
twine version 1.13.0 (pkginfo: 1.5.0.1, requests: 2.21.0, setuptools: 40.8.0,
requests-toolbelt: 0.9.1, tqdm: 4.31.1) 

Additional context

User is the same between test.pypi.org and pypi.org, password differ.

@di
Copy link
Member

di commented Feb 28, 2019

This package already exists on PyPI, but the owner has removed all the releases (hence why it appears to be 404). I've reached out to the current owner to see if they would be willing to transfer it to you.

@di di added the PEP 541 label Feb 28, 2019
@rdpate
Copy link

rdpate commented Feb 28, 2019

Please transfer the package name.

@di
Copy link
Member

di commented Feb 28, 2019

Thanks @rdpate.

@edouard-lopez, I've added edouard-lopez as an owner of the Pure package. Please note that you won't be able to make a release with versions 0.0.0, 0.1.0, or 0.1.1 as these have been previously used, and PyPI prohibits reuse of version numbers.

@edouard-lopez
Copy link
Author

Thanks :)

@edouard-lopez
Copy link
Author

@di why is @rdpate listed as a maintainer? I would love to have contributors but I'm not sure that's the expected behavior.

selection_232

@edouard-lopez edouard-lopez reopened this Mar 1, 2019
@di
Copy link
Member

di commented Mar 1, 2019

@edouard-lopez They are the original owner. You can remove them if you want.

@chuck1
Copy link

chuck1 commented Mar 13, 2019

Hello @di I believe I'm in the same situation as @edouard-lopez. The project name in question is "otter". Is there a proper channel for me to request that the project be transfered to me? Thanks!

@di
Copy link
Member

di commented Mar 13, 2019

@chuck1 Please create a separate issue in this repo. There is a large backlog of similar issues, be aware that unless you reach out to the maintainer yourself, and they are receptive, it is unlikely that this will be resolved as quickly as this example.

@pypi pypi locked as resolved and limited conversation to collaborators Mar 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants