Source: python-hsluv
Version: 5.0.2-1
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 --with python3 --buildsystem=pybuild
> 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
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running config
> I: pybuild base:310: python3.11 setup.py config
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running build
> running build_py
> copying hsluv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hsluv/build
> I: pybuild base:310: /usr/bin/python3 setup.py build
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running build
> running build_py
> copying hsluv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hsluv/build
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py test
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> 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.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> creating hsluv.egg-info
> writing hsluv.egg-info/PKG-INFO
> writing dependency_links to hsluv.egg-info/dependency_links.txt
> writing top-level names to hsluv.egg-info/top_level.txt
> writing manifest file 'hsluv.egg-info/SOURCES.txt'
> reading manifest file 'hsluv.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> writing manifest file 'hsluv.egg-info/SOURCES.txt'
> running build_ext
> test_snapshot (tests.test_hsluv.TestHsluv.test_snapshot) ... ERROR
> test_within_rgb_range (tests.test_hsluv.TestHsluv.test_within_rgb_range) ... ok
>
> ======================================================================
> ERROR: test_snapshot (tests.test_hsluv.TestHsluv.test_snapshot)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/test_hsluv.py", line 56, in test_snapshot
> self.assert_tuples_close(test_hpluv, colors['hpluv'])
> File "/<<PKGBUILDDIR>>/tests/test_hsluv.py", line 80, in assert_tuples_close
> raise Exception(f"Mismatch: {a} {b}")
> Exception: Mismatch: 1739.663225186895 1739.663225186883
>
> ----------------------------------------------------------------------
> Ran 2 tests in 1.918s
>
> FAILED (errors=1)
> Test failed: <unittest.runner.TextTestResult run=2 errors=1 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=2 errors=1 failures=0>
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: python3.12 setup.py test
> I: pybuild base:310: python3.11 setup.py test
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> 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.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> writing hsluv.egg-info/PKG-INFO
> writing dependency_links to hsluv.egg-info/dependency_links.txt
> writing top-level names to hsluv.egg-info/top_level.txt
> reading manifest file 'hsluv.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> writing manifest file 'hsluv.egg-info/SOURCES.txt'
> running build_ext
> test_snapshot (tests.test_hsluv.TestHsluv.test_snapshot) ... ok
> test_within_rgb_range (tests.test_hsluv.TestHsluv.test_within_rgb_range) ... ok
>
> ----------------------------------------------------------------------
> Ran 2 tests in 2.359s
>
> OK
> dh_auto_test: error: pybuild --test -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-hsluv_5.0.2-1_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.