[Pkg-salt-team] Bug#975522: salt fails autopkg test with Python 3.9

Matthias Klose doko at debian.org
Mon Nov 23 09:40:19 GMT 2020


Package: src:salt
Version: 3002.1+dfsg1-1
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9

[...]
autopkgtest [01:11:14]: test unittest: [-----------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.9_tzkmrm/downtmp/autopkgtest_tmp/./tests/runtests.py",
line 60, in <module>
    from tests.integration import TestDaemon, TestDaemonStartFailed  # isort:skip
  File
"/tmp/autopkgtest-lxc.9_tzkmrm/downtmp/autopkgtest_tmp/tests/integration/__init__.py",
line 45, in <module>
    from tests.support.helpers import RedirectStdStreams, requires_sshd_server
  File
"/tmp/autopkgtest-lxc.9_tzkmrm/downtmp/autopkgtest_tmp/tests/support/helpers.py",
line 45, in <module>
    from tests.support.mock import patch
  File
"/tmp/autopkgtest-lxc.9_tzkmrm/downtmp/autopkgtest_tmp/tests/support/mock.py",
line 36, in <module>
    from mock import (
ImportError: cannot import name '__version__' from 'unittest.mock'
(/usr/lib/python3.9/unittest/mock.py)



More information about the pkg-salt-team mailing list