Pradyun Gedam
Pradyun Gedam
I'll reiterate that I regularly see this in my interactions with Python developers "in the wild". uv prints a warning in these cases, because setuptools will happily package a random...
> Arguments that imply that setuptools should fail in this scenario because the user "did not actually want to install the project" feel very weak to me. That's the exact...
FWIW, I've filed https://github.com/pypa/packaging.python.org/pull/1944 which would be compatible with the "don't trigger a build if you don't want one" approach for setuptools while allowing the frontend to fix the UX...
TWITTER DRIVEN DEVELOPMENT! \o/
I would like to make `packaging.requirements.Requirement` immutable honestly, but this seems like a worthwhile alternative to doing that!
Thanks @cmarqu! ^.^
``` cmdargs: ['/Users/pradyunsg/Projects/pip/.tox/py36/bin/python', '/Users/pradyunsg/Projects/pip/tools/tox_pip.py', 'install', '-r/Users/pradyunsg/Projects/pip/tools/tests-requirements.txt'] ``` ```pytb Collecting freezegun (from -r /Users/pradyunsg/Projects/pip/tools/tests-requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/1b/78/feef0b235f1fed24aa5e617dee51f16d7cfd236bdacd0319718ce4706092/freezegun-0.3.10-py2.py3-none-any.whl Collecting mock (from -r /Users/pradyunsg/Projects/pip/tools/tests-requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/e6/35/f187bdf23be87092bd0f1200d43d23076cee4d0dec109f195173fd3ebc79/mock-2.0.0-py2.py3-none-any.whl Collecting pretend...
x-ref https://github.com/urllib3/urllib3/issues/2580 -- these messages don't originate out of pip. I don't have bandwidth to argue against "go nowhere for 6 years", so I'll say that it's a bit disappointing...
I tried testing this and am hitting https://github.com/pytest-dev/pytest/issues/5997 -- can't do much without a proper keyboard in front of me, so this is probably gonna have to wait until PyCon...