Re: Making setup.py run external command to build

Jeremy Stanley <[email protected]> Thu, 25 Mar 2021 19:45:08 +0000
Newsgroups gmane.comp.python.distutils.devel
Message-ID <[email protected]>
--===============7664217413154154710==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="rz62ta2hhihdy4gs"
Content-Disposition: inline


--rz62ta2hhihdy4gs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
>       ERROR: You must give at least one requirement to install (see "pip =
help install")
>=20
> pip-20.2.1 and pip-21.0.1 work fine, including installing from an sdist
> on test.py.pi.
>=20
> 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.
--=20
Jeremy Stanley

--rz62ta2hhihdy4gs
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEl65Jb8At7J/DU7LnSPmWEUNJWCkFAmBc6D4ACgkQSPmWEUNJ
WCntgQ/9EYqu/VoYMiAw2TOurFulcCZ02nACVk54uHLjWKxfPmysto6n1AQqRPCv
AyUv5jf1aVosyKxhdUuvtPpkbP+MIkDps4MhcDoRNsGCry/umsxZXMUNzGRtaKIm
Pp6AhvhYKAqCcQ2s1rSIAWFcQrMo3P3nL8k+CUYbmMkijh8MDQUrG1jpA9Volkeo
K+0Z1OnfzZo/DjDrG6mmUqtzXHBo6sS6TZo7tJZQy6IZf3ds6DDz2hqEOBBVg/Qz
9Rleyu58088pH3KMn0DNjGTXKdaVhYIubu2SvZk2KPHUe0Imsr75uUrzhqSMi57D
tBfwqKKo5bBMNn2aYhLEXjongHNLpaT+SvTVS3nAmSogjCkcoRsBVZNSho4Fe+8i
O1ddb1ToMTsZttaxi430B5vUEFFpaLrc8XuWIhqnzAGXBWCOMUrm4EcxuaCoiCqq
/J2VykZ7v9xXwuZ/Rtl0anpM4xJ4iatzXblBGO1LAMp4qCN7z5ZGuihOPlsSiwfj
SphfdLXaMCdEOW3SdaOiBGlPxEHJ2qpNcTqdimFTXaS5p+8gxtF7I/2JRPPdjCyY
fXN1OvYXsLLD9ryUpmSILYqkvlbATiyrLOuRXSBVFWM2cHF7hjS1SYFdI8P+gVTf
szfOPSxtAtEY4WXz4+gNtY/zajKkQbsHpVOoFkVq1XnJdYq60Nk=
=mkqm
-----END PGP SIGNATURE-----

--rz62ta2hhihdy4gs--

--===============7664217413154154710==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/archives/list/[email protected]/message/FEXQGFTNDL5NKTR2UZDV77BVULMFIBU7/

--===============7664217413154154710==--