Package: src:python-marshmallow Version: 3.26.1-0.2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-marshmallow, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with sphinxdoc --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild pybuild --clean -i python{version} -p "3.14 3.13" rm -rf .pybuild/ find . -name \*.pyc -exec rm {} \; debian/rules execute_after_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf debian/html .cache .pytest_cache make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/python3-marshmallow.substvars debian/python3-marshmallow-doc.substvars debian/files rm -fr -- debian/python3-marshmallow/ debian/tmp/ debian/python3-marshmallow-doc/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \) debian/rules binary dh binary --with sphinxdoc --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild pybuild --configure -i python{version} -p "3.14 3.13" dh_auto_build -O--buildsystem=pybuild pybuild --build -i python{version} -p "3.14 3.13" I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_marshmallow * Building wheel... Successfully built marshmallow-3.26.1-py3-none-any.whl I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with "installer" module I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" module I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_marshmallow * Building wheel... Successfully built marshmallow-3.26.1-py3-none-any.whl I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with "installer" module debian/rules execute_after_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' PYTHONPATH=. http_proxy='http://127.0.0.1:9/' python3 -m sphinx -N -bhtml docs debian/html Running Sphinx v8.2.3 loading translations [en]... done matplotlib is not installed, social cards will not be generated making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. [autosummary] generating autosummary for: api_reference.rst, authors.rst, changelog.rst, code_of_conduct.rst, contributing.rst, custom_fields.rst, donate.rst, examples/index.rst, examples/inflection.rst, examples/quotes_api.rst, ..., marshmallow.schema.rst, marshmallow.types.rst, marshmallow.utils.rst, marshmallow.validate.rst, nesting.rst, quickstart.rst, top_level.rst, upgrading.rst, whos_using.rst, why.rst WARNING: Failed to import marshmallow.validate. Possible hints: * KeyError: 'marshmallow' * ModuleNotFoundError: No module named 'marshmallow' WARNING: Failed to import marshmallow.types. Possible hints: * KeyError: 'marshmallow' * ModuleNotFoundError: No module named 'marshmallow' WARNING: Failed to import marshmallow. Possible hints: * KeyError: 'marshmallow' * ModuleNotFoundError: No module named 'marshmallow' WARNING: Failed to import marshmallow.fields. Possible hints: * KeyError: 'marshmallow' * ModuleNotFoundError: No module named 'marshmallow' WARNING: Failed to import marshmallow.class_registry. Possible hints: * KeyError: 'marshmallow' * ModuleNotFoundError: No module named 'marshmallow' WARNING: Failed to import marshmallow.decorators. Possible hints: * KeyError: 'marshmallow' * ModuleNotFoundError: No module named 'marshmallow' WARNING: Failed to import marshmallow.exceptions. Possible hints: * KeyError: 'marshmallow' * ModuleNotFoundError: No module named 'marshmallow' WARNING: Failed to import marshmallow.error_store. Possible hints: * KeyError: 'marshmallow' * ModuleNotFoundError: No module named 'marshmallow' WARNING: Failed to import marshmallow.utils. Possible hints: * KeyError: 'marshmallow' * ModuleNotFoundError: No module named 'marshmallow' loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f86e6d2e660>: Failed to resolve 'docs.python.org' ([Errno -3] Temporary failure in name resolution)")) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 39 source files that are out of date updating environment: [new config] 39 added, 0 changed, 0 removed reading sources... [ 3%] api_reference reading sources... [ 5%] authors reading sources... [ 8%] changelog reading sources... [ 10%] code_of_conduct reading sources... [ 13%] contributing reading sources... [ 15%] custom_fields reading sources... [ 18%] donate reading sources... [ 21%] examples/index reading sources... [ 23%] examples/inflection reading sources... [ 26%] examples/quotes_api reading sources... [ 28%] examples/validating_package_json reading sources... [ 31%] extending/custom_error_handling reading sources... [ 33%] extending/custom_error_messages reading sources... [ 36%] extending/custom_options reading sources... [ 38%] extending/index reading sources... [ 41%] extending/overriding_attribute_access reading sources... [ 44%] extending/pre_and_post_processing_methods reading sources... [ 46%] extending/schema_validation reading sources... [ 49%] extending/using_context reading sources... [ 51%] extending/using_original_input_data reading sources... [ 54%] index reading sources... [ 56%] install reading sources... [ 59%] kudos reading sources... [ 62%] license reading sources... [ 64%] marshmallow.class_registry reading sources... [ 67%] marshmallow.decorators reading sources... [ 69%] marshmallow.error_store reading sources... [ 72%] marshmallow.exceptions reading sources... [ 74%] marshmallow.fields reading sources... [ 77%] marshmallow.schema reading sources... [ 79%] marshmallow.types reading sources... [ 82%] marshmallow.utils reading sources... [ 85%] marshmallow.validate reading sources... [ 87%] nesting reading sources... [ 90%] quickstart reading sources... [ 92%] top_level reading sources... [ 95%] upgrading reading sources... [ 97%] whos_using reading sources... [100%] why WARNING: autodoc: failed to import module 'class_registry' from module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] WARNING: autodoc: failed to import module 'decorators' from module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] WARNING: autodoc: failed to import module 'error_store' from module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] WARNING: autodoc: failed to import module 'exceptions' from module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] WARNING: autodoc: failed to import class 'fields.Field' from module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] WARNING: autodoc: failed to import module 'fields' from module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] WARNING: autodoc: failed to import class 'schema.Schema' from module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] WARNING: autodoc: failed to import class 'schema.SchemaOpts' from module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] WARNING: autodoc: failed to import module 'types' from module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] WARNING: autodoc: failed to import module 'utils' from module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] WARNING: autodoc: failed to import module 'validate' from module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] WARNING: autodoc: failed to import module 'marshmallow'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'marshmallow'\n"] [autodoc.import_object] looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /<<PKGBUILDDIR>>/debian/html/_static/basic.css Writing evaluated template result to /<<PKGBUILDDIR>>/debian/html/_static/language_data.js Writing evaluated template result to /<<PKGBUILDDIR>>/debian/html/_static/documentation_options.js Writing evaluated template result to /<<PKGBUILDDIR>>/debian/html/_static/copybutton.js copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [ 3%] api_reference writing output... [ 5%] authors writing output... [ 8%] changelog writing output... [ 10%] code_of_conduct writing output... [ 13%] contributing writing output... [ 15%] custom_fields writing output... [ 18%] donate writing output... [ 21%] examples/index writing output... [ 23%] examples/inflection writing output... [ 26%] examples/quotes_api writing output... [ 28%] examples/validating_package_json writing output... [ 31%] extending/custom_error_handling writing output... [ 33%] extending/custom_error_messages writing output... [ 36%] extending/custom_options writing output... [ 38%] extending/index writing output... [ 41%] extending/overriding_attribute_access writing output... [ 44%] extending/pre_and_post_processing_methods writing output... [ 46%] extending/schema_validation writing output... [ 49%] extending/using_context writing output... [ 51%] extending/using_original_input_data writing output... [ 54%] index writing output... [ 56%] install writing output... [ 59%] kudos writing output... [ 62%] license writing output... [ 64%] marshmallow.class_registry writing output... [ 67%] marshmallow.decorators writing output... [ 69%] marshmallow.error_store writing output... [ 72%] marshmallow.exceptions writing output... [ 74%] marshmallow.fields writing output... [ 77%] marshmallow.schema writing output... [ 79%] marshmallow.types writing output... [ 82%] marshmallow.utils writing output... [ 85%] marshmallow.validate writing output... [ 87%] nesting writing output... [ 90%] quickstart writing output... [ 92%] top_level writing output... [ 95%] upgrading writing output... [ 97%] whos_using writing output... [100%] why generating indices... genindex done highlighting module code... writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 22 warnings. The HTML pages are in debian/html. make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test -O--buildsystem=pybuild pybuild --test -i python{version} -p "3.14 3.13" I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_marshmallow/build; python3.14 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_marshmallow/build configfile: pyproject.toml collected 1238 items tests/test_decorators.py ...................................... [ 3%] tests/test_deserialization.py .......................................... [ 6%] ........................................................................ [ 12%] ........................................................................ [ 18%] ........................................................................ [ 23%] ........................................................................ [ 29%] .................................... [ 32%] tests/test_error_store.py ............................. [ 34%] tests/test_exceptions.py ....... [ 35%] tests/test_fields.py ................................................... [ 39%] ........................................................................ [ 45%] ....................................... [ 48%] tests/test_options.py .................. [ 50%] tests/test_registry.py .......... [ 50%] tests/test_schema.py ................................................... [ 55%] ........................................................................ [ 60%] ........................................................................ [ 66%] ................................................... [ 70%] tests/test_serialization.py ............................................ [ 74%] ........................................................................ [ 80%] ................... [ 81%] tests/test_utils.py .................................F.. [ 84%] tests/test_validate.py ................................................. [ 88%] ........................................................................ [ 94%] ..................................................................... [ 99%] tests/test_version_attributes.py . [100%] =================================== FAILURES =================================== ___________________ test_from_timestamp_with_overflow_value ____________________ def test_from_timestamp_with_overflow_value(): value = 9223372036854775 with pytest.raises(ValueError, match="out of range"): > utils.from_timestamp(value) tests/test_utils.py:254: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ value = 9223372036854776.0 def from_timestamp(value: typing.Any) -> dt.datetime: if value is True or value is False: raise ValueError("Not a valid POSIX timestamp") value = float(value) if value < 0: raise ValueError("Not a valid POSIX timestamp") # Load a timestamp with utc as timezone to prevent using system timezone. # Then set timezone to None, to let the Field handle adding timezone info. try: > return dt.datetime.fromtimestamp(value, > tz=dt.timezone.utc).replace(tzinfo=None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E ValueError: year must be in 1..9999, not 292278994 marshmallow/utils.py:209: ValueError During handling of the above exception, another exception occurred: def test_from_timestamp_with_overflow_value(): value = 9223372036854775 > with pytest.raises(ValueError, match="out of range"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError: Regex pattern did not match. E Expected regex: 'out of range' E Actual message: 'year must be in 1..9999, not 292278994' tests/test_utils.py:253: AssertionError =========================== short test summary info ============================ FAILED tests/test_utils.py::test_from_timestamp_with_overflow_value - Asserti... ======================== 1 failed, 1237 passed in 1.32s ======================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_marshmallow/build; python3.14 -m pytest tests I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_marshmallow/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_marshmallow/build configfile: pyproject.toml collected 1238 items tests/test_decorators.py ...................................... [ 3%] tests/test_deserialization.py .......................................... [ 6%] ........................................................................ [ 12%] ........................................................................ [ 18%] ........................................................................ [ 23%] ........................................................................ [ 29%] .................................... [ 32%] tests/test_error_store.py ............................. [ 34%] tests/test_exceptions.py ....... [ 35%] tests/test_fields.py ................................................... [ 39%] ........................................................................ [ 45%] ....................................... [ 48%] tests/test_options.py .................. [ 50%] tests/test_registry.py .......... [ 50%] tests/test_schema.py ................................................... [ 55%] ........................................................................ [ 60%] ........................................................................ [ 66%] ................................................... [ 70%] tests/test_serialization.py ............................................ [ 74%] ........................................................................ [ 80%] ................... [ 81%] tests/test_utils.py .................................... [ 84%] tests/test_validate.py ................................................. [ 88%] ........................................................................ [ 94%] ..................................................................... [ 99%] tests/test_version_attributes.py . [100%] ============================= 1238 passed in 1.35s ============================= rm -fr -- /tmp/dh-xdg-rundir-0b0sGfS2 dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

