Package: src:toolz
Version: 1.0.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:toolz, 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
I: pybuild base:317: python3.14 setup.py clean 
/<<PKGBUILDDIR>>/versioneer.py:564: SyntaxWarning: "\s" is an invalid escape 
sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw 
string is also an option.
  mo = re.search(r'=\s*"(.*)"', line)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build' (and everything 
under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.14' does not exist -- can't clean it
I: pybuild base:317: python3.13 setup.py clean 
/<<PKGBUILDDIR>>/versioneer.py:564: SyntaxWarning: invalid escape sequence '\s'
  mo = re.search(r'=\s*"(.*)"', line)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build' (and everything 
under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf build doc/build toolz.egg-info .cache
dh_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 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
I: pybuild base:317: python3.14 setup.py config 
/<<PKGBUILDDIR>>/versioneer.py:564: SyntaxWarning: "\s" is an invalid escape 
sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw 
string is also an option.
  mo = re.search(r'=\s*"(.*)"', line)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
I: pybuild base:317: python3.13 setup.py config 
/<<PKGBUILDDIR>>/versioneer.py:564: SyntaxWarning: invalid escape sequence '\s'
  mo = re.search(r'=\s*"(.*)"', line)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:317: /usr/bin/python3.14 setup.py build 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz
copying toolz/itertoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz
copying toolz/_signatures.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz
copying toolz/recipes.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz
copying toolz/compatibility.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz
copying toolz/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz
copying toolz/functoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz
copying toolz/_version.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz
copying toolz/dicttoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz
copying toolz/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/sandbox
copying toolz/sandbox/parallel.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/sandbox
copying toolz/sandbox/core.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/sandbox
copying toolz/sandbox/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/sandbox
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/curried
copying toolz/curried/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/curried
copying toolz/curried/operator.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/curried
copying toolz/curried/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/curried
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/tlz
copying tlz/_build_tlz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/tlz
copying tlz/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/tlz
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_signatures.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_compatibility.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_curried.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_functoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_dicttoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_inspect_args.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_tlz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_curried_doctests.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_serialization.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_itertoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
copying toolz/tests/test_recipes.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/tests
UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/_version.py
set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build/toolz/_version.py to 
'1.0.0'
I: pybuild base:317: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz
copying toolz/itertoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz
copying toolz/_signatures.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz
copying toolz/recipes.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz
copying toolz/compatibility.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz
copying toolz/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz
copying toolz/functoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz
copying toolz/_version.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz
copying toolz/dicttoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz
copying toolz/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/sandbox
copying toolz/sandbox/parallel.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/sandbox
copying toolz/sandbox/core.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/sandbox
copying toolz/sandbox/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/sandbox
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/curried
copying toolz/curried/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/curried
copying toolz/curried/operator.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/curried
copying toolz/curried/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/curried
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/tlz
copying tlz/_build_tlz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/tlz
copying tlz/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/tlz
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_signatures.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_compatibility.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_curried.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_functoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_dicttoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_inspect_args.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_tlz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_curried_doctests.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_serialization.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_itertoolz.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
copying toolz/tests/test_recipes.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/tests
UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/_version.py
set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build/toolz/_version.py to 
'1.0.0'
PYTHONPATH=. python3 -m sphinx  -n -bhtml doc/source build/html
Running Sphinx v8.2.3
loading translations [en]... done
making output directory... done
WARNING: html_static_path entry '_static' does not exist
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
[autosummary] generating autosummary for: api.rst, composition.rst, 
control.rst, curry.rst, heritage.rst, index.rst, install.rst, laziness.rst, 
parallelism.rst, purity.rst, references.rst, streaming-analytics.rst, 
tips-and-tricks.rst
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 13 source files that are out of date
updating environment: [new config] 13 added, 0 changed, 0 removed
reading sources... [  8%] api
reading sources... [ 15%] composition
reading sources... [ 23%] control
reading sources... [ 31%] curry
reading sources... [ 38%] heritage
reading sources... [ 46%] index
reading sources... [ 54%] install
reading sources... [ 62%] laziness
reading sources... [ 69%] parallelism
reading sources... [ 77%] purity
reading sources... [ 85%] references
reading sources... [ 92%] streaming-analytics
reading sources... [100%] tips-and-tricks

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>>/build/html/_static/basic.css
Writing evaluated template result to 
/<<PKGBUILDDIR>>/build/html/_static/language_data.js
Writing evaluated template result to 
/<<PKGBUILDDIR>>/build/html/_static/documentation_options.js
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [  8%] api
writing output... [ 15%] composition
writing output... [ 23%] control
writing output... [ 31%] curry
writing output... [ 38%] heritage
writing output... [ 46%] index
writing output... [ 54%] install
writing output... [ 62%] laziness
writing output... [ 69%] parallelism
writing output... [ 77%] purity
writing output... [ 85%] references
writing output... [ 92%] streaming-analytics
writing output... [100%] tips-and-tricks

generating indices... genindex py-modindex done
highlighting module code... [ 17%] toolz.dicttoolz
highlighting module code... [ 33%] toolz.functoolz
highlighting module code... [ 50%] toolz.itertoolz
highlighting module code... [ 67%] toolz.recipes
highlighting module code... [ 83%] toolz.sandbox.core
highlighting module code... [100%] toolz.sandbox.parallel

writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 1 warning.

The HTML pages are in build/html.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build; 
python3.14 -m pytest -k'not test_curried_exception'
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collected 180 items / 1 deselected / 179 selected

toolz/tests/test_compatibility.py .                                      [  0%]
toolz/tests/test_curried.py ........F.                                   [  6%]
toolz/tests/test_curried_doctests.py .                                   [  6%]
toolz/tests/test_dicttoolz.py .......................................... [ 30%]
.....                                                                    [ 32%]
toolz/tests/test_functoolz.py ......................................     [ 54%]
toolz/tests/test_inspect_args.py ........F........                       [ 63%]
toolz/tests/test_itertoolz.py .......................................... [ 87%]
........                                                                 [ 91%]
toolz/tests/test_recipes.py ..                                           [ 92%]
toolz/tests/test_serialization.py ........                               [ 97%]
toolz/tests/test_signatures.py ...                                       [ 98%]
toolz/tests/test_tlz.py .                                                [ 99%]
toolz/tests/test_utils.py .                                              [100%]

=================================== FAILURES ===================================
____________________________ test_curried_operator _____________________________

    def test_curried_operator():
        import operator
    
        for k, v in vars(cop).items():
            if not callable(v):
                continue
    
            if not isinstance(v, toolz.curry):
                try:
                    # Make sure it is unary
                    v(1)
                except TypeError:
                    try:
                        v('x')
                    except TypeError:
                        pass
                    else:
                        continue
                    raise AssertionError(
                        'toolz.curried.operator.%s is not curried!' % k,
                    )
>           assert should_curry(getattr(operator, k)) == isinstance(v, 
> toolz.curry), k
E           AssertionError: is_none
E           assert False == True
E            +  where False = should_curry(<built-in function is_none>)
E            +    where <built-in function is_none> = getattr(<module 
'operator' from '/usr/lib/python3.14/operator.py'>, 'is_none')
E            +  and   True = isinstance(<built-in function is_none>, <class 
'toolz.functoolz.curry'>)
E            +    where <class 'toolz.functoolz.curry'> = toolz.curry

toolz/tests/test_curried.py:74: AssertionError
______________________________ test_has_keywords _______________________________

    def test_has_keywords():
        assert has_keywords(lambda: None) is False
        assert has_keywords(lambda x: None) is False
        assert has_keywords(lambda x=1: None)
        assert has_keywords(lambda **kwargs: None)
        assert has_keywords(int)
        assert has_keywords(sorted)
        assert has_keywords(max)
>       assert has_keywords(map) is False
E       assert True is False
E        +  where True = has_keywords(map)

toolz/tests/test_inspect_args.py:289: AssertionError
=========================== short test summary info ============================
FAILED toolz/tests/test_curried.py::test_curried_operator - AssertionError: i...
FAILED toolz/tests/test_inspect_args.py::test_has_keywords - assert True is F...
================= 2 failed, 177 passed, 1 deselected in 0.43s ==================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_toolz/build; python3.14 -m pytest 
-k'not test_curried_exception'
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build; 
python3.13 -m pytest -k'not test_curried_exception'
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collected 180 items / 1 deselected / 179 selected

toolz/tests/test_compatibility.py .                                      [  0%]
toolz/tests/test_curried.py ..........                                   [  6%]
toolz/tests/test_curried_doctests.py .                                   [  6%]
toolz/tests/test_dicttoolz.py .......................................... [ 30%]
.....                                                                    [ 32%]
toolz/tests/test_functoolz.py ......................................     [ 54%]
toolz/tests/test_inspect_args.py .................                       [ 63%]
toolz/tests/test_itertoolz.py .......................................... [ 87%]
........                                                                 [ 91%]
toolz/tests/test_recipes.py ..                                           [ 92%]
toolz/tests/test_serialization.py ........                               [ 97%]
toolz/tests/test_signatures.py ...                                       [ 98%]
toolz/tests/test_tlz.py .                                                [ 99%]
toolz/tests/test_utils.py .                                              [100%]

====================== 179 passed, 1 deselected in 0.45s =======================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to