Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1046120 > unrolled thread

Bug#981766: autopkg tests failing with setuptools 52.0

Started byMatthias Klose <doko@debian.org>
First post2021-02-03 18:40 +0100
Last post2021-02-10 15:30 +0100
Articles 3 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#981766: autopkg tests failing with setuptools 52.0 Matthias Klose <doko@debian.org> - 2021-02-03 18:40 +0100
    Bug#981766: autopkg tests failing with setuptools 52.0 Matthias Klose <doko@debian.org> - 2021-02-09 13:30 +0100
    Bug#981766: autopkg tests failing with setuptools 52.0 Matthias Klose <doko@debian.org> - 2021-02-10 15:30 +0100

#1046120 — Bug#981766: autopkg tests failing with setuptools 52.0

FromMatthias Klose <doko@debian.org>
Date2021-02-03 18:40 +0100
SubjectBug#981766: autopkg tests failing with setuptools 52.0
Message-ID<BEuid-3jf-1@gated-at.bofh.it>
Package: src:python-b2sdk
Version: 1.1.4-1
Severity: important
Tags: sid bullseye

autopkg tests failing with setuptools 52.0. The tests should neither use
easy_install nor pip.

autopkgtest [23:43:22]: test command1: [-----------------------
[*] testing on python3.9:
running nosetests
running egg_info
creating b2sdk.egg-info
writing b2sdk.egg-info/PKG-INFO
writing dependency_links to b2sdk.egg-info/dependency_links.txt
writing requirements to b2sdk.egg-info/requires.txt
writing top-level names to b2sdk.egg-info/top_level.txt
writing manifest file 'b2sdk.egg-info/SOURCES.txt'
reading manifest file 'b2sdk.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'b2sdk.egg-info/SOURCES.txt'
WARNING: The wheel package is not available.
/usr/bin/python3.9: No module named pip
error: Command '['/usr/bin/python3.9', '-m', 'pip',
'--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp6k529_lp',
'--quiet', 'liccheck==0.3.9']' returned non-zero exit status 1.
autopkgtest [23:43:23]: test command1: -----------------------]
autopkgtest [23:43:23]: test command1:  - - - - - - - - - - results - - - - - -
- - - -
command1             FAIL non-zero exit status 1

[toc] | [next] | [standalone]


#1047253

FromMatthias Klose <doko@debian.org>
Date2021-02-09 13:30 +0100
Message-ID<BGAjv-192-5@gated-at.bofh.it>
In reply to#1046120
Control: severity -1 serious

the sources read:

$ fgrep -r pytest .
./.travis.yml:    # disabled because nosetests is not supported on 3.9. We'll
move to pytest.

and indeed running the tests with nose fails.  It looks like the 1.3.0 version
has proper support for pytest.

======================================================================
ERROR: test suite for <module 'test.libregrtest' from
'/usr/lib/python3.9/test/libregrtest/__init__.py'>
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/inspect.py", line 1162, in getfullargspec
    sig = _signature_from_callable(func,
  File "/usr/lib/python3.9/inspect.py", line 2254, in _signature_from_callable
    raise TypeError('{!r} is not a callable object'.format(obj))
TypeError: <module 'test.libregrtest.setup' from
'/usr/lib/python3.9/test/libregrtest/setup.py'> is not a callable object

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/util.py", line 460, in try_run
    inspect.getargspec(func)
  File "/usr/lib/python3.9/inspect.py", line 1120, in getargspec
    getfullargspec(func)
  File "/usr/lib/python3.9/inspect.py", line 1171, in getfullargspec
    raise TypeError('unsupported callable') from ex
TypeError: unsupported callable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/plugins/multiprocess.py", line 788,
in run
    self.setUp()
  File "/usr/lib/python3/dist-packages/nose/suite.py", line 292, in setUp
    self.setupContext(ancestor)
  File "/usr/lib/python3/dist-packages/nose/plugins/multiprocess.py", line 770,
in setupContext
    super(NoSharedFixtureContextSuite, self).setupContext(context)
  File "/usr/lib/python3/dist-packages/nose/suite.py", line 315, in setupContext
    try_run(context, names)
  File "/usr/lib/python3/dist-packages/nose/util.py", line 463, in try_run
    raise TypeError("Attribute %s of %r is not a python "
TypeError: Attribute setup of <module 'test.libregrtest' from
'/usr/lib/python3.9/test/libregrtest/__init__.py'> is not a python function.
Only functions or callables may be used as fixtures.

======================================================================
ERROR: test.support.testresult.get_test_runner_class
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
TypeError: get_test_runner_class() missing 1 required positional argument:
'verbosity'

======================================================================
ERROR: test.support.testresult.get_test_runner
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
TypeError: get_test_runner() missing 2 required positional arguments: 'stream'
and 'verbosity'

----------------------------------------------------------------------
Ran 46 tests in 8.480s

FAILED (SKIP=1, errors=3)
autopkgtest [00:23:33]: test command1: -----------------------]
autopkgtest [00:23:33]: test command1:  - - - - - - - - - - results - - - - - -
- - - -
command1             FAIL non-zero exit status 1

[toc] | [prev] | [next] | [standalone]


#1047481

FromMatthias Klose <doko@debian.org>
Date2021-02-10 15:30 +0100
Message-ID<BGYFc-7LU-9@gated-at.bofh.it>
In reply to#1046120
Control: tags -1 + patch

please find a packaging proposall for 1.3.0 at
https://launchpad.net/ubuntu/+source/python-b2sdk/1.3.0-0ubuntu1

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web