On 2021-03-25 19:07:50 +0000 (+0000), Julian Smith wrote: [...]
I've come across a problem where an old pip-18.1 fails to install from an sdist or wheel, with error:
ERROR: You must give at least one requirement to install (see "pip help install")
pip-20.2.1 and pip-21.0.1 work fine, including installing from an sdist on test.py.pi.
Should i be worried about this? I'd like my package to install on anyone's machine, regardless of their pip version. But maybe users are expected to always run a recent pip version? After all it's easy enough to upgrade it.
According to https://pip.pypa.io/en/stable/news/#id448 support for pyproject.toml files was first added in pip 19.0 (just over two years ago). If you have users who rely on distribution-packaged pip then this may not be old enough for them to have it yet. For example the current Debian stable release provides pip 18.1, and the next-most-recent Ubuntu LTS (18.04) provides 9.0.1. -- Jeremy Stanley