Bug#950839: reprounzip autopkg test fails with python 3.8

Matthias Klose doko at debian.org
Fri Feb 7 10:38:25 GMT 2020


Package: src:reprounzip
Version: 1.0.10-1
Severity: serioous
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.8

I didn't check if this is fixed upstream, however the last upload is 2 1/2 years
old.

[...]
autopkgtest [10:19:29]: test command1: [-----------------------
Usage reports will not be collected nor sent.
[REPROZIP] 10:19:31.009 INFO: Running program
[REPROZIP] 10:19:31.010 INFO: child created, pid=1113
[REPROZIP] 10:19:31.012 INFO: process 1113 created by initial fork()
[REPROZIP] 10:19:31.013 INFO: 1 processes (inc. 0 unattached)
[REPROZIP] 10:19:31.014 INFO: [1113] successfully exec'd /bin/echo

[REPROZIP] 10:19:31.017 INFO: [1113] process exited (code 0), 0 processes remain
[REPROZIP] 10:19:31.019 INFO: Program completed
[REPROZIP] 10:19:31.037 INFO: Running filter plugin builtin
[REPROZIP] 10:19:31.037 INFO: Running filter plugin python
[REPROZIP] 10:19:31.045 INFO: Identifying Debian packages for 27 files...
[REPROZIP] 10:19:31.113 INFO: 3 packages with 16 files, and 11 other files
Configuration file written in .reprozip-trace/config.yml
Edit that file then run the packer -- use 'reprozip pack -h' for help
[REPROZIP] 10:19:31.783 INFO: Creating pack echo.rpz...
[REPROZIP] 10:19:31.784 INFO: Adding files from package libc-bin...
[REPROZIP] 10:19:32.649 INFO: Adding files from package libc6...
[REPROZIP] 10:19:32.658 INFO: Adding files from package locales...
[REPROZIP] 10:19:32.660 INFO: Adding other files...
[REPROZIP] 10:19:34.149 INFO: Adding metadata...
Traceback (most recent call last):
  File "/usr/bin/reprounzip", line 11, in <module>
    load_entry_point('reprounzip==1.0.10', 'console_scripts', 'reprounzip')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 489, in
load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2852, in
load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2443, in
load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2449, in
resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/reprounzip/main.py", line 31, in <module>
    from reprounzip.unpackers.common import UsageError
  File "/usr/lib/python3/dist-packages/reprounzip/unpackers/common/__init__.py",
line 22, in <module>
    from reprounzip.unpackers.common.packages import THIS_DISTRIBUTION, \
  File "/usr/lib/python3/dist-packages/reprounzip/unpackers/common/packages.py",
line 18, in <module>
    THIS_DISTRIBUTION = platform.linux_distribution()[0].lower()
AttributeError: module 'platform' has no attribute 'linux_distribution'
autopkgtest [10:19:35]: test command1: -----------------------]



More information about the debian-science-maintainers mailing list