piwheels / packages

Issue tracker for piwheels package issues
https://github.com/piwheels/packages/issues
20 stars 5 forks source link

Error:404 file not found - https://www.piwheels.org/simple/pkg-resources/ #153

Closed KermenTheFrog closed 4 years ago

KermenTheFrog commented 4 years ago

Hi i need to use this for a project that i'm doing i'm getting an couldn't install packages due to an environment error 404 client error so from what i can tell the package has been removed from the website at some point.

cl3m3nt commented 4 years ago

Hello,

same here on Raspberry Pi 4 buster 2020-08-20-raspios-buster where I got: Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://www.piwheels.org/simple/pkg-resources/

I hit this problem after trying to create a new virtualenv. Virtualenv install is successful: sudo apt install virtualenv python3-virtualenv -y Reading package lists... Done Building dependency tree
Reading state information... Done python3-virtualenv is already the newest version (15.1.0+ds-2). virtualenv is already the newest version (15.1.0+ds-2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

bennuttall commented 4 years ago

It's fixed now. We just deleted all packages which had no versions associated with them, which we thought would be safe.

Oddly, pkg-resources doesn't exist on PyPI: https://pypi.org/project/pkg-resources/

But it does have a simple index (which is empty): https://pypi.org/simple/pkg-resources/

And it gets a lot of hits somehow. Looks like venv depends on it ... but the only way to get it is from your system python - not with pip.

@di can you shed any light? Is this a one-off?

waveform80 commented 4 years ago

/me makes a mental note that whenever I utter the words "yeah, that should be fine" one should assume the world is about to break ... again

di commented 4 years ago

Comes from here: https://github.com/pypa/pkg_resources

Vendored into setuptools here: https://github.com/pypa/setuptools/tree/master/pkg_resources

bennuttall commented 4 years ago

@di any idea why it doesn't have a project page or json but does have a simple index and does appear in xmlrpc list_packages()?

di commented 4 years ago

It's being squatted:

image

I should probably just move it to the blocklist instead.