Public bug reported:

See <https://gsnedders.github.io/python-marker-test/results.html> for a
summary of what versions of setuptools support what environment markers.

Wily shipped with 18.4 and that Xenial's 20.7.0 doesn't support
"python_implementation" unlike 18.4, although later releases of
setuptools fixed this backwards incompatible change. It would be nice,
for the sake of compatibility, if the Ubuntu package could patch this
backwards incompatible change.

packaging fixed this upstream with the ALIASES in
<https://github.com/pypa/packaging/blob/16.7/packaging/markers.py#L64>,
for reference.

An easy test for this is
pkg_resources.evaluate_marker("python_implementation == 'CPython'") —
this should not throw an exception (and should return True on CPython,
but False otherwise).

** Affects: python-setuptools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1589607

Title:
  Backwards incompatible breakage in marker parsing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/1589607/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to