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
Touch seeded packages, which is subscribed to python-setuptools in
Ubuntu.
https://bugs.launchpad.net/bugs/1589607

Title:
  Backwards incompatible breakage in marker parsing

Status in python-setuptools package in Ubuntu:
  New

Bug description:
  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).

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to