Package: src:python-astor
Version: 0.8.0-2
Severity: serious
Tags: sid bullseye

There's a new upstream, which I didn't check.

[...]
pkg-buildpackage
-----------------

dpkg-buildpackage: info: source package python-astor
dpkg-buildpackage: info: source version 0.8.0-2build1
dpkg-buildpackage: info: source distribution focal
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean --with python3 --buildsystem pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:217: python3.8 setup.py clean
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    setup(**config['options'])
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in 
setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 446, in 
__init__
    _Distribution.__init__(self, {
  File "/usr/lib/python3.8/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 735, in
finalize_options
    ep.load()(self, ep.name, value)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 291, in
check_specifier
    packaging.specifiers.SpecifierSet(value)
  File
"/usr/lib/python3/dist-packages/setuptools/_vendor/packaging/specifiers.py",
line 594, in __init__
    specifiers = [s.strip() for s in specifiers.split(",") if s.strip()]
AttributeError: 'SpecifierSet' object has no attribute 'split'
E: pybuild pybuild:341: clean: plugin distutils failed with: exit code=1:
python3.8 setup.py clean
dh_auto_clean: pybuild --clean --test-pytest -i python{version} -p "3.8 3.7"
returned exit code 13
make: *** [debian/rules:9: clean] Error 255

Reply via email to