[Python-Dev] Fwd: PEP 426 is now the draft spec for distribution metadata 2.0 (original) (raw)

Paul Moore p.f.moore at gmail.com
Tue Feb 19 21:41:47 CET 2013


On 19 February 2013 20:36, Donald Stufft <donald.stufft at gmail.com> wrote:

2. There is currently no code that I am aware of that implements this spec. I don't believe distlib does (yet - give Vinay 5 minutes and who knows? :-)), pkgresources as I said implements a different format, and distutils2, apart from being a big dependency to cover just this point, only matches the version (not the project name) and presumably does so using the distutils2 version ordering (which is incompatible with Metadata 2.0).

It should be alongside the version stuff, atleast it was in distutils2.

Yes, sorry - distlib does include code for this:

https://distlib.readthedocs.org/en/latest/tutorial.html#matching-versions-against-constraints

I was looking for the term "requirement" which is not used, and missed it. (Either that or Vinay's been borrowing the time machine keys again!) Paul



More information about the Python-Dev mailing list