Package: src:python-boolean.py
Version: 4.0-4
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-boolean.py, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_loader'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/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 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_loader'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/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
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --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 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_loader'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running config
I: pybuild base:317: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_loader'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
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/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_loader'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/boolean
copying boolean/test_boolean.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/boolean
copying boolean/boolean.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/boolean
copying boolean/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/boolean
running egg_info
creating boolean.py.egg-info
writing boolean.py.egg-info/PKG-INFO
writing dependency_links to boolean.py.egg-info/dependency_links.txt
writing top-level names to boolean.py.egg-info/top_level.txt
writing manifest file 'boolean.py.egg-info/SOURCES.txt'
reading manifest file 'boolean.py.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[co]' found anywhere in 
distribution
warning: no previously-included files matching '__pycache__' found anywhere in 
distribution
adding license file 'LICENSE.txt'
adding license file 'README.rst'
adding license file 'CHANGELOG.rst'
writing manifest file 'boolean.py.egg-info/SOURCES.txt'
I: pybuild base:317: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_loader'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/boolean
copying boolean/test_boolean.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/boolean
copying boolean/boolean.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/boolean
copying boolean/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/boolean
running egg_info
writing boolean.py.egg-info/PKG-INFO
writing dependency_links to boolean.py.egg-info/dependency_links.txt
writing top-level names to boolean.py.egg-info/top_level.txt
reading manifest file 'boolean.py.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[co]' found anywhere in 
distribution
warning: no previously-included files matching '__pycache__' found anywhere in 
distribution
adding license file 'LICENSE.txt'
adding license file 'README.rst'
adding license file 'CHANGELOG.rst'
writing manifest file 'boolean.py.egg-info/SOURCES.txt'
python3 -m sphinx -N -b html docs/ docbuilddir/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'}`.
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 5 source files that are out of date
updating environment: [new config] 5 added, 0 changed, 0 removed
reading sources... [ 20%] acknowledgements
reading sources... [ 40%] concepts
reading sources... [ 60%] development_guide
reading sources... [ 80%] index
reading sources... [100%] users_guide

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>>/docbuilddir/html/_static/basic.css
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docbuilddir/html/_static/language_data.js
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docbuilddir/html/_static/documentation_options.js
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docbuilddir/html/_static/classic.css
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docbuilddir/html/_static/sidebar.js
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [ 20%] acknowledgements
writing output... [ 40%] concepts
writing output... [ 60%] development_guide
writing output... [ 80%] index
writing output... [100%] users_guide

generating indices... genindex done
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 docbuilddir/html.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; 
python3.14 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.4
collected 89 items

boolean/boolean.py ....                                                  [  4%]
boolean/test_boolean.py ...............................................x [ 58%]
.........Fx...xx.....................                                    [100%]

=================================== FAILURES ===================================
_________________________ DualBaseTestCase.test_order __________________________

self = <boolean.test_boolean.DualBaseTestCase testMethod=test_order>

    def test_order(self):
        algebra = BooleanAlgebra()
        x, y, z = algebra.Symbol(1), algebra.Symbol(2), algebra.Symbol(3)
        assert algebra.AND(x, y) < algebra.AND(x, y, z)
        assert not algebra.AND(x, y) > algebra.AND(x, y, z)
        assert algebra.AND(x, y) < algebra.AND(x, z)
        assert not algebra.AND(x, y) > algebra.AND(x, z)
        assert algebra.AND(x, y) < algebra.AND(y, z)
        assert not algebra.AND(x, y) > algebra.AND(y, z)
>       assert not algebra.AND(x, y) < algebra.AND(x, y)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

boolean/test_boolean.py:1046: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = AND(Symbol(1), Symbol(2)), other = AND(Symbol(1), Symbol(2))

    def __gt__(self, other):
        lt = other.__lt__(self)
        if lt is NotImplemented:
>           return not self.__lt__(other)
                   ^^^^^^^^^^^^^^^^^^^^^^
E           TypeError: NotImplemented should not be used in a boolean context

boolean/boolean.py:860: TypeError
=========================== short test summary info ============================
FAILED boolean/test_boolean.py::DualBaseTestCase::test_order - TypeError: Not...
XFAIL 
boolean/test_boolean.py::DualBaseTestCase::test_complex_expression_without_parens_parsed_or_built_in_python_should_be_identical
XFAIL 
boolean/test_boolean.py::DualBaseTestCase::test_parse_complex_expression_should_create_same_expression_as_python
XFAIL 
boolean/test_boolean.py::DualBaseTestCase::test_simplify_complex_expression_parsed_then_simplified
XFAIL 
boolean/test_boolean.py::DualBaseTestCase::test_simplify_complex_expression_parsed_with_simplify
=================== 1 failed, 84 passed, 4 xfailed in 0.45s ====================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest 
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.4
collected 89 items

boolean/boolean.py ....                                                  [  4%]
boolean/test_boolean.py ...............................................x [ 58%]
..........x...xx.....................                                    [100%]

=============================== warnings summary ===============================
.pybuild/cpython3_3.13/build/boolean/test_boolean.py::DualBaseTestCase::test_order
.pybuild/cpython3_3.13/build/boolean/test_boolean.py::DualBaseTestCase::test_order
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/boolean/boolean.py:860: 
DeprecationWarning: NotImplemented should not be used in a boolean context
    return not self.__lt__(other)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
XFAIL 
boolean/test_boolean.py::DualBaseTestCase::test_complex_expression_without_parens_parsed_or_built_in_python_should_be_identical
XFAIL 
boolean/test_boolean.py::DualBaseTestCase::test_parse_complex_expression_should_create_same_expression_as_python
XFAIL 
boolean/test_boolean.py::DualBaseTestCase::test_simplify_complex_expression_parsed_then_simplified
XFAIL 
boolean/test_boolean.py::DualBaseTestCase::test_simplify_complex_expression_parsed_with_simplify
================== 85 passed, 4 xfailed, 2 warnings 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:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to