KitwareMedical / VTKPythonPackage

A setup script to generate VTK Python Wheels
https://vtkpythonpackage.readthedocs.io
BSD 3-Clause "New" or "Revised" License
34 stars 15 forks source link

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

Open hongyi-zhao opened 4 years ago

hongyi-zhao commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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.