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

python wheel: Fail to run twine upload vtk-9.0.20200612-cp38-cp38-linux_x86_64.whl #46

Open
hongyi-zhao opened this issue Jun 13, 2020 · 2 comments

Comments

@hongyi-zhao
Copy link

hongyi-zhao commented Jun 13, 2020

Hi,

I registered my account on pypi and want to upload the vtk python wheel created by me to pypi, but meet the following error:

$ twine upload vtk-9.0.20200612-cp38-cp38-linux_x86_64.whl 
Uploading distributions to https://upload.pypi.org/legacy/
Uploading vtk-9.0.20200612-cp38-cp38-linux_x86_64.whl
100%|████████████████████████████████████████| 541M/541M [02:27<00:00, 3.85MB/s]
NOTE: Try --verbose to see response content.
HTTPError: 403 Client Error: The user 'hongyi-zhao' isn't allowed to upload to project 'vtk'. See https://pypi.org/help/#project-name for more information. for url: https://upload.pypi.org/legacy/

Any hints for this problem?

Regards.

@prabhuramachandran
Copy link
Collaborator

You cannot upload a wheel on pypi that you do not own or maintain, that would allow anyone to hijack the PyPI wheels. Only maintainers/owners can do so. So please do not try to upload wheels for packages you do not maintain or own on pypi.

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Jun 13, 2020

Thanks for your notes. I find the private-pypi which let user create private pypi repo with flexible backends, say, github. I will give a try.

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

No branches or pull requests

2 participants