-
Notifications
You must be signed in to change notification settings - Fork 143
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
Safety scan command doesn't detect my pyproject.toml (or my env.yml) file with all its dependencies #505
Labels
bug
Indicates a problem that needs to be resolved.
Comments
perhaps interestingly (or not) - this works - it scans my uv pip uninstall safety
uv pip uninstall dparse
uv pip install safety==2.3.5
safety check
Safety v2.3.5 is scanning for Vulnerabilities...
Scanning dependencies in your environment:
-> /Users/alex/miniconda/envs/py311/lib/python3.11/site-packages this also works but scans even more stuff: uv pip uninstall safety
uv pip uninstall dparse
uv pip install safety==3.0.1 --prerelease=allow
safety check
Safety v3.0.1 is scanning for Vulnerabilities...
Scanning dependencies in your environment:
-> /Users/alex/miniconda/envs/py311/bin
-> /Users/alex/miniconda/envs/py311/lib/python311.zip
-> /Users/alex/miniconda/envs/py311/lib/python3.11/lib-dynload
-> /Users/alex/miniconda/envs/py311/lib/python3.11
-> /Users/alex/repos/Backend
-> /Users/alex/miniconda/envs/py311/lib/python3.11/site-packages Is this |
Alex-ley-scrub
changed the title
Safety CLI doesn't detect my pyproject.toml (or my env.yml) file with all its dependencies
Safety scan command doesn't detect my pyproject.toml (or my env.yml) file with all its dependencies
Feb 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
safety, version 3.0.1
py39, py310, py311
(same on all)MacOS Sonoma 14.3.1 (MacBook Pro M1)
Description
safety scan
out of the box on my local repo dev environmentuv pip compile pyproject.toml -o requirements.txt
and thensafety scan
it did work (workaround I will use for now)safety scan
or does it not support pyproject.toml or is it a bug?What I Did
The text was updated successfully, but these errors were encountered: