Package: python-packaging
Version: 19.0-1
Severity: important

Dear Maintainer,

Since 19.1-1 python-packaging introduced a Tags class that has methods
that depend upon distutils.util.get_platform(). 

The problem is that the behavior of get_platform() changes during build
time, as pybuild sets _PYTHON_HOST_PLATFORM which overrides the default
output of get_platform().

This causes linux-x86_64 to be changed to linux-amd64, leading to 2 test
failures and some if clauses to run amok as they expect the string x86_64.

Both tests/test_tags.py and packaging/tags.py require updates to deal
with the build time get_platform changes.

Regards,
Tiago

-- System Information:
Debian Release: buster/sid
  APT prefers eoan
  APT policy: (500, 'eoan'), (400, 'eoan-proposed')
Architecture: amd64 (x86_64)

Kernel: Linux 5.0.0-20-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-packaging depends on:
ii  python            2.7.16-1
ii  python-pyparsing  2.2.0+dfsg1-2
ii  python-six        1.12.0-1build1

python-packaging recommends no packages.

python-packaging suggests no packages.

-- no debconf information

Reply via email to