[Python-modules-team] Bug#999398: zodbpickle ftbfs with Python 3.10 (test failures)
Matthias Klose
doko at debian.org
Wed Nov 10 16:03:05 GMT 2021
Source: zodbpickle
Version: 1.0-3
Severity: important
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.10
zodbpickle ftbfs with python3-defaults from experimental:
[...]
I: pybuild base:237: python3.10 setup.py test
running test
WARNING: Testing via this command is deprecated and will be removed in a future
version. Users looking for a generic test entry point independent of test runner
are encouraged to use tox.
running egg_info
writing src/zodbpickle.egg-info/PKG-INFO
writing dependency_links to src/zodbpickle.egg-info/dependency_links.txt
writing requirements to src/zodbpickle.egg-info/requires.txt
writing top-level names to src/zodbpickle.egg-info/top_level.txt
reading manifest file 'src/zodbpickle.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.dll' found anywhere in
distribution
warning: no previously-included files matching '*.pyc' found anywhere in
distribution
warning: no previously-included files matching '*.pyo' found anywhere in
distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
adding license file 'LICENSE.txt'
writing manifest file 'src/zodbpickle.egg-info/SOURCES.txt'
running build_ext
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_zodbpickle/build/zodbpickle/_pickle.cpython-310-x86_64-linux-gnu.so
-> src/zodbpickle
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setup.py", line 43, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.10/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 223, in run
self.run_tests()
File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 226, in
run_tests
test = unittest.main(
File "/usr/lib/python3.10/unittest/main.py", line 100, in __init__
self.parseArgs(argv)
File "/usr/lib/python3.10/unittest/main.py", line 147, in parseArgs
self.createTests()
File "/usr/lib/python3.10/unittest/main.py", line 158, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
File "/usr/lib/python3.10/unittest/loader.py", line 220, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python3.10/unittest/loader.py", line 220, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python3.10/unittest/loader.py", line 205, in loadTestsFromName
test = obj()
File "/<<PKGBUILDDIR>>/src/zodbpickle/tests/test_pickle.py", line 27, in
test_suite
from .test_pickle_3 import test_suite
File "/<<PKGBUILDDIR>>/src/zodbpickle/tests/test_pickle_3.py", line 7, in <module>
from .pickletester_3 import AbstractPickleTests
File "/<<PKGBUILDDIR>>/src/zodbpickle/tests/pickletester_3.py", line 10, in
<module>
from test.support import (
ImportError: cannot import name 'TESTFN' from 'test.support'
(/usr/lib/python3.10/test/support/__init__.py)
E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1:
python3.10 setup.py test
More information about the Python-modules-team
mailing list