-
Notifications
You must be signed in to change notification settings - Fork 56
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
Default env created by the installer should have option to skip setuptools #125
Comments
Yes, this would be great. Today we found out that we have a CVE against setuptools that we needed to upgrade. This means we need to run an additional command to upgrade the setuptools in the venv that poetry uses itself. |
There's another vuln (CVE-2024-6345) in setuptools. It'd be great if could have the option to exclude the package from installation OR if you we have some way of dictating the version installed. Happy to contribute if you point me in the right direction/allow that 👍 |
install.python-poetry.org/install-poetry.py Line 316 in 6027c8e
I believe that since python 3.12 both |
@dimbleby Thanks for the info! Yeah I've seen a few people suggesting that on other posts. Only issue with that is that it's a bigger change to make. But I will probably look to do that in the near future anyway to get rid of this issue completely 👍 |
it seems plausible that this environment doesn't need
setuptools
at all, maybe the installer should always pass the--no-setuptools
flag to virtualenv at environment creationOriginally posted by @dimbleby in python-poetry/poetry#8240 (comment)
The text was updated successfully, but these errors were encountered: