pyupio / safety

Safety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected.
https://safetycli.com/product/safety-cli
MIT License
1.66k stars 141 forks source link

Python 3.12.1 could not find a version that satisfies the requirement safety (from versions: none) #501

Closed nocapjon closed 5 months ago

nocapjon commented 5 months ago

Description

Safety fails to install due to the following error:

ERROR: Could not find a version that satisfies the requirement safety (from versions: none)
ERROR: No matching distribution found for safety

What I Did

RUN python3 -m pip install --upgrade pip==23.3.2 wheel safety==3.0.1 setuptools
nocapjon commented 5 months ago

This was actually a silly issue on my end. If anyone else encounters similar errors like this, check your firewall. We have a local proxy to cache packages, and our firewall was blocking access to this package in our local cache.