On Thu, 25 Mar 2021, at 19:07, Julian Smith wrote:
> I was a little surprised to find out that one can't use pip to create
> an sdist, but i'm a bit late to this party and it looks like there's
> been plenty of discussion about this in the past.

There is now the (quite new) 'build' tool which can be used to make both sdists 
and wheels by working with a PEP 517 backend: https://pypi.org/project/build/

> I've come across a problem where an old pip-18.1 fails to install from
> an sdist or wheel, with error:

I'm surprised it fails on the wheels - how exactly are you using pip?

If you're relying on PEP 517, then pip 18.1 is too old to install it from an 
sdist - PEP 517 support was added in 19.0 
(https://pip.pypa.io/en/stable/news/#id448 ). But that shouldn't be a problem 
for installing from a wheel that has already been made. 18.1 is over 2 years 
outdated, so I think it's reasonable to ask people to upgrade, but you may well 
still encounter people who have older versions, mostly where they've got it 
through a Linux distro package manager.

Thomas
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/YTRTTRMK56KK4NHB2HGKXM77WXWSVN7W/

Reply via email to