Source: mplcursors
Version: 0.5.2-2
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
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/mplcursors
> copying lib/mplcursors/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/mplcursors
> copying lib/mplcursors/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/mplcursors
> copying lib/mplcursors/_pick_info.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/mplcursors
> copying lib/mplcursors/_mplcursors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/mplcursors
> 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
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/mplcursors
> copying lib/mplcursors/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/mplcursors
> copying lib/mplcursors/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/mplcursors
> copying lib/mplcursors/_pick_info.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/mplcursors
> copying lib/mplcursors/_mplcursors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/mplcursors
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:314: cp -rv /<<PKGBUILDDIR>>/examples 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples
> '/<<PKGBUILDDIR>>/examples' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples'
> '/<<PKGBUILDDIR>>/examples/README.txt' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/README.txt'
> '/<<PKGBUILDDIR>>/examples/artist_labels.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/artist_labels.py'
> '/<<PKGBUILDDIR>>/examples/bar.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/bar.py'
> '/<<PKGBUILDDIR>>/examples/basic.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/basic.py'
> '/<<PKGBUILDDIR>>/examples/change_popup_color.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/change_popup_color.py'
> '/<<PKGBUILDDIR>>/examples/contour.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/contour.py'
> '/<<PKGBUILDDIR>>/examples/dataframe.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/dataframe.py'
> '/<<PKGBUILDDIR>>/examples/date.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/date.py'
> '/<<PKGBUILDDIR>>/examples/highlight.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/highlight.py'
> '/<<PKGBUILDDIR>>/examples/hover.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/hover.py'
> '/<<PKGBUILDDIR>>/examples/image.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/image.py'
> '/<<PKGBUILDDIR>>/examples/keyboard_shortcuts.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/keyboard_shortcuts.py'
> '/<<PKGBUILDDIR>>/examples/labeled_points.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/labeled_points.py'
> '/<<PKGBUILDDIR>>/examples/nondraggable.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/nondraggable.py'
> '/<<PKGBUILDDIR>>/examples/paired_highlight.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/paired_highlight.py'
> '/<<PKGBUILDDIR>>/examples/scatter.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/scatter.py'
> '/<<PKGBUILDDIR>>/examples/step.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/step.py'
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/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 0 items / 1 error
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR collecting 
> .pybuild/cpython3_3.12_mplcursors/build/tests/test_mplcursors.py _
> /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:177: in 
> exec_module
>     source_stat, co = _rewrite_test(fn, self.config)
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:359: in 
> _rewrite_test
>     tree = ast.parse(source, filename=strfn)
> /usr/lib/python3.12/ast.py:52: in parse
>     return compile(source, filename, mode, flags,
> E     File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/tests/test_mplcursors.py",
>  line 164
> E       cursor.selections[0], "x=(.*)\ny=(.*)\n\[(.*)\]") == (0, 0, 2)
> E                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
> E   SyntaxError: invalid escape sequence '\['
> =========================== short test summary info 
> ============================
> ERROR tests/test_mplcursors.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.17s 
> ===============================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build; python3.12 -m 
> pytest tests
> I: pybuild pybuild:314: cp -rv /<<PKGBUILDDIR>>/examples 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples
> '/<<PKGBUILDDIR>>/examples' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples'
> '/<<PKGBUILDDIR>>/examples/README.txt' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/README.txt'
> '/<<PKGBUILDDIR>>/examples/artist_labels.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/artist_labels.py'
> '/<<PKGBUILDDIR>>/examples/bar.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/bar.py'
> '/<<PKGBUILDDIR>>/examples/basic.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/basic.py'
> '/<<PKGBUILDDIR>>/examples/change_popup_color.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/change_popup_color.py'
> '/<<PKGBUILDDIR>>/examples/contour.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/contour.py'
> '/<<PKGBUILDDIR>>/examples/dataframe.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/dataframe.py'
> '/<<PKGBUILDDIR>>/examples/date.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/date.py'
> '/<<PKGBUILDDIR>>/examples/highlight.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/highlight.py'
> '/<<PKGBUILDDIR>>/examples/hover.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/hover.py'
> '/<<PKGBUILDDIR>>/examples/image.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/image.py'
> '/<<PKGBUILDDIR>>/examples/keyboard_shortcuts.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/keyboard_shortcuts.py'
> '/<<PKGBUILDDIR>>/examples/labeled_points.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/labeled_points.py'
> '/<<PKGBUILDDIR>>/examples/nondraggable.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/nondraggable.py'
> '/<<PKGBUILDDIR>>/examples/paired_highlight.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/paired_highlight.py'
> '/<<PKGBUILDDIR>>/examples/scatter.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/scatter.py'
> '/<<PKGBUILDDIR>>/examples/step.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/step.py'
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/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 73 items
> 
> tests/test_mplcursors.py ............................................... [ 
> 64%]
> ..........................                                               
> [100%]
> 
> ============================= 73 passed in 19.03s 
> ==============================
> I: pybuild pybuild:340: rm -rf 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples
> 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/mplcursors_0.5.2-2_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.

Reply via email to