Re: setuptools API compatibility
Dustin Ingram <[email protected]>
| Newsgroups | gmane.comp.python.distutils.devel |
|---|---|
| Message-ID | <CACHw_mSUTioE6UWQ-GOUKbOaYVdRSWsSezvr_qJS3hh2bRQr+w@mail.gmail.com> |
Inline: > Setuptools is pretty conservative, but I think there's still the caveat that major versions may have backwards-incompatible changes in it. For example, version 39.0 removed some symbols after a long deprecation period. Version 38 started requiring ordered sequences for install_requires. Hence the "more or less", I think these deprecations affect a very small percentage of installable packages. > Regarding the "there isn't currently a way for a package to specify build-time compatibility with a specific version of setuptools", is it not possible to do this with pyproject.toml? > > [build-system] > requires = ["setuptools>38.0", "wheel"] > > Doing it this way will work with pip wheel or pip install, though it all depends on how good the PEP 518 support is for the tools you're using to build your package. Thanks for catching this, I missed the fact that PEP 518 support is now considered operational in the latest versions of pip. -- Distutils-SIG mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/D7JTPUVFQT22NXYGZ5VQAN3VWHFL2VCC/