Source: python-itsdangerous Version: 2.1.2-3 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary --buildsystem=pybuild --with python3,sphinxdoc > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:310: python3.12 setup.py config > running config > I: pybuild base:310: python3.11 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:310: /usr/bin/python3.12 setup.py build > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build/itsdangerous > copying src/itsdangerous/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build/itsdangerous > copying src/itsdangerous/signer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build/itsdangerous > copying src/itsdangerous/exc.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build/itsdangerous > copying src/itsdangerous/_json.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build/itsdangerous > copying src/itsdangerous/encoding.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build/itsdangerous > copying src/itsdangerous/serializer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build/itsdangerous > copying src/itsdangerous/timed.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build/itsdangerous > copying src/itsdangerous/url_safe.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build/itsdangerous > running egg_info > creating src/itsdangerous.egg-info > writing src/itsdangerous.egg-info/PKG-INFO > writing dependency_links to src/itsdangerous.egg-info/dependency_links.txt > writing top-level names to src/itsdangerous.egg-info/top_level.txt > writing manifest file 'src/itsdangerous.egg-info/SOURCES.txt' > reading manifest file 'src/itsdangerous.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > no previously-included directories found matching 'docs/_build' > warning: no previously-included files matching '*.pyc' found anywhere in > distribution > adding license file 'LICENSE.rst' > writing manifest file 'src/itsdangerous.egg-info/SOURCES.txt' > copying src/itsdangerous/py.typed -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build/itsdangerous > I: pybuild base:310: /usr/bin/python3 setup.py build > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itsdangerous/build/itsdangerous > copying src/itsdangerous/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itsdangerous/build/itsdangerous > copying src/itsdangerous/signer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itsdangerous/build/itsdangerous > copying src/itsdangerous/exc.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itsdangerous/build/itsdangerous > copying src/itsdangerous/_json.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itsdangerous/build/itsdangerous > copying src/itsdangerous/encoding.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itsdangerous/build/itsdangerous > copying src/itsdangerous/serializer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itsdangerous/build/itsdangerous > copying src/itsdangerous/timed.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itsdangerous/build/itsdangerous > copying src/itsdangerous/url_safe.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itsdangerous/build/itsdangerous > running egg_info > writing src/itsdangerous.egg-info/PKG-INFO > writing dependency_links to src/itsdangerous.egg-info/dependency_links.txt > writing top-level names to src/itsdangerous.egg-info/top_level.txt > reading manifest file 'src/itsdangerous.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > no previously-included directories found matching 'docs/_build' > warning: no previously-included files matching '*.pyc' found anywhere in > distribution > adding license file 'LICENSE.rst' > writing manifest file 'src/itsdangerous.egg-info/SOURCES.txt' > copying src/itsdangerous/py.typed -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itsdangerous/build/itsdangerous > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build; python3.12 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > configfile: setup.cfg > collected 66 items / 2 errors > > ==================================== ERRORS > ==================================== > _ ERROR collecting > .pybuild/cpython3_3.12_itsdangerous/build/tests/test_itsdangerous/test_timed.py > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call > result: Optional[TResult] = func() > /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda> > call = CallInfo.from_call(lambda: list(collector.collect()), "collect") > /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect > self._inject_setup_module_fixture() > /usr/lib/python3/dist-packages/_pytest/python.py:545: in > _inject_setup_module_fixture > self.obj, ("setUpModule", "setup_module") > /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj > self._obj = obj = self._getobj() > /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj > return self._importtestmodule() > /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule > mod = import_path(self.path, mode=importmode, root=self.config.rootpath) > /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path > importlib.import_module(module_name) > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > <frozen importlib._bootstrap>:1387: in _gcd_import > ??? > <frozen importlib._bootstrap>:1360: in _find_and_load > ??? > <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked > ??? > <frozen importlib._bootstrap>:935: in _load_unlocked > ??? > /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in > exec_module > exec(co, module.__dict__) > tests/test_itsdangerous/test_timed.py:7: in <module> > from freezegun import freeze_time > /usr/lib/python3/dist-packages/freezegun/__init__.py:8: in <module> > from .api import freeze_time > /usr/lib/python3/dist-packages/freezegun/api.py:18: in <module> > from dateutil import parser > /usr/lib/python3/dist-packages/dateutil/parser/__init__.py:2: in <module> > from ._parser import parse, parser, parserinfo, ParserError > /usr/lib/python3/dist-packages/dateutil/parser/_parser.py:50: in <module> > from .. import tz > /usr/lib/python3/dist-packages/dateutil/tz/__init__.py:2: in <module> > from .tz import * > /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: in <module> > EPOCH = datetime.datetime.utcfromtimestamp(0) > E DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated > and scheduled for removal in a future version. Use timezone-aware objects to > represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, > datetime.UTC). > _ ERROR collecting > .pybuild/cpython3_3.12_itsdangerous/build/tests/test_itsdangerous/test_url_safe.py > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call > result: Optional[TResult] = func() > /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda> > call = CallInfo.from_call(lambda: list(collector.collect()), "collect") > /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect > self._inject_setup_module_fixture() > /usr/lib/python3/dist-packages/_pytest/python.py:545: in > _inject_setup_module_fixture > self.obj, ("setUpModule", "setup_module") > /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj > self._obj = obj = self._getobj() > /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj > return self._importtestmodule() > /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule > mod = import_path(self.path, mode=importmode, root=self.config.rootpath) > /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path > importlib.import_module(module_name) > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > <frozen importlib._bootstrap>:1387: in _gcd_import > ??? > <frozen importlib._bootstrap>:1360: in _find_and_load > ??? > <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked > ??? > <frozen importlib._bootstrap>:935: in _load_unlocked > ??? > /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in > exec_module > exec(co, module.__dict__) > tests/test_itsdangerous/test_url_safe.py:8: in <module> > from test_itsdangerous.test_timed import TestTimedSerializer > <frozen importlib._bootstrap>:1360: in _find_and_load > ??? > <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked > ??? > <frozen importlib._bootstrap>:935: in _load_unlocked > ??? > /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in > exec_module > exec(co, module.__dict__) > tests/test_itsdangerous/test_timed.py:7: in <module> > from freezegun import freeze_time > /usr/lib/python3/dist-packages/freezegun/__init__.py:8: in <module> > from .api import freeze_time > /usr/lib/python3/dist-packages/freezegun/api.py:18: in <module> > from dateutil import parser > /usr/lib/python3/dist-packages/dateutil/parser/__init__.py:2: in <module> > from ._parser import parse, parser, parserinfo, ParserError > /usr/lib/python3/dist-packages/dateutil/parser/_parser.py:50: in <module> > from .. import tz > /usr/lib/python3/dist-packages/dateutil/tz/__init__.py:2: in <module> > from .tz import * > /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: in <module> > EPOCH = datetime.datetime.utcfromtimestamp(0) > E DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated > and scheduled for removal in a future version. Use timezone-aware objects to > represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, > datetime.UTC). > =========================== short test summary info > ============================ > ERROR tests/test_itsdangerous/test_timed.py - DeprecationWarning: > datetime.da... > ERROR tests/test_itsdangerous/test_url_safe.py - DeprecationWarning: > datetime... > !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection > !!!!!!!!!!!!!!!!!!!! > ============================== 2 errors in 0.45s > =============================== > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itsdangerous/build; python3.12 -m > pytest tests > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itsdangerous/build; python3.11 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > configfile: setup.cfg > collected 297 items > > tests/test_itsdangerous/test_encoding.py ........ [ > 2%] > tests/test_itsdangerous/test_serializer.py ............................. [ > 12%] > ............ [ > 16%] > tests/test_itsdangerous/test_signer.py ................. [ > 22%] > tests/test_itsdangerous/test_timed.py .................................. [ > 33%] > ................................................................... [ > 56%] > tests/test_itsdangerous/test_url_safe.py ............................... [ > 66%] > ........................................................................ [ > 90%] > ........................... > [100%] > > ============================= 297 passed in 0.86s > ============================== > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 > 3.11" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/12/12/python-itsdangerous_2.1.2-3_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.