Source: superqt
Version: 0.4.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230203 ftbfs-bookworm

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
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:107: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:240: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_superqt 
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py:108: 
> _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is 
> still *beta*.
>   warnings.warn(msg, _BetaConfiguration)
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/superqt
> copying src/superqt/__init__.py -> build/lib/superqt
> copying src/superqt/_eliding_label.py -> build/lib/superqt
> copying src/superqt/_version.py -> build/lib/superqt
> creating build/lib/superqt/spinbox
> copying src/superqt/spinbox/__init__.py -> build/lib/superqt/spinbox
> copying src/superqt/spinbox/_intspin.py -> build/lib/superqt/spinbox
> copying src/superqt/spinbox/_quantity.py -> build/lib/superqt/spinbox
> creating build/lib/superqt/fonticon
> copying src/superqt/fonticon/__init__.py -> build/lib/superqt/fonticon
> copying src/superqt/fonticon/_animations.py -> build/lib/superqt/fonticon
> copying src/superqt/fonticon/_plugins.py -> build/lib/superqt/fonticon
> copying src/superqt/fonticon/_qfont_icon.py -> build/lib/superqt/fonticon
> copying src/superqt/fonticon/_iconfont.py -> build/lib/superqt/fonticon
> creating build/lib/superqt/sliders
> copying src/superqt/sliders/__init__.py -> build/lib/superqt/sliders
> copying src/superqt/sliders/_generic_range_slider.py -> 
> build/lib/superqt/sliders
> copying src/superqt/sliders/_range_style.py -> build/lib/superqt/sliders
> copying src/superqt/sliders/_sliders.py -> build/lib/superqt/sliders
> copying src/superqt/sliders/_generic_slider.py -> build/lib/superqt/sliders
> copying src/superqt/sliders/_labeled.py -> build/lib/superqt/sliders
> creating build/lib/superqt/utils
> copying src/superqt/utils/__init__.py -> build/lib/superqt/utils
> copying src/superqt/utils/_qthreading.py -> build/lib/superqt/utils
> copying src/superqt/utils/_throttler.py -> build/lib/superqt/utils
> copying src/superqt/utils/_code_syntax_highlight.py -> build/lib/superqt/utils
> copying src/superqt/utils/_ensure_thread.py -> build/lib/superqt/utils
> copying src/superqt/utils/_message_handler.py -> build/lib/superqt/utils
> copying src/superqt/utils/_misc.py -> build/lib/superqt/utils
> creating build/lib/superqt/qtcompat
> copying src/superqt/qtcompat/__init__.py -> build/lib/superqt/qtcompat
> creating build/lib/superqt/collapsible
> copying src/superqt/collapsible/__init__.py -> build/lib/superqt/collapsible
> copying src/superqt/collapsible/_collapsible.py -> 
> build/lib/superqt/collapsible
> creating build/lib/superqt/selection
> copying src/superqt/selection/__init__.py -> build/lib/superqt/selection
> copying src/superqt/selection/_searchable_list_widget.py -> 
> build/lib/superqt/selection
> creating build/lib/superqt/combobox
> copying src/superqt/combobox/__init__.py -> build/lib/superqt/combobox
> copying src/superqt/combobox/_enum_combobox.py -> build/lib/superqt/combobox
> copying src/superqt/combobox/_searchable_combo_box.py -> 
> build/lib/superqt/combobox
> running egg_info
> creating src/superqt.egg-info
> writing src/superqt.egg-info/PKG-INFO
> writing dependency_links to src/superqt.egg-info/dependency_links.txt
> writing requirements to src/superqt.egg-info/requires.txt
> writing top-level names to src/superqt.egg-info/top_level.txt
> writing manifest file 'src/superqt.egg-info/SOURCES.txt'
> reading manifest file 'src/superqt.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'src/superqt.egg-info/SOURCES.txt'
> copying src/superqt/py.typed -> build/lib/superqt
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/superqt
> copying build/lib/superqt/__init__.py -> 
> build/bdist.linux-x86_64/wheel/superqt
> copying build/lib/superqt/_eliding_label.py -> 
> build/bdist.linux-x86_64/wheel/superqt
> creating build/bdist.linux-x86_64/wheel/superqt/spinbox
> copying build/lib/superqt/spinbox/__init__.py -> 
> build/bdist.linux-x86_64/wheel/superqt/spinbox
> copying build/lib/superqt/spinbox/_intspin.py -> 
> build/bdist.linux-x86_64/wheel/superqt/spinbox
> copying build/lib/superqt/spinbox/_quantity.py -> 
> build/bdist.linux-x86_64/wheel/superqt/spinbox
> copying build/lib/superqt/py.typed -> build/bdist.linux-x86_64/wheel/superqt
> creating build/bdist.linux-x86_64/wheel/superqt/fonticon
> copying build/lib/superqt/fonticon/__init__.py -> 
> build/bdist.linux-x86_64/wheel/superqt/fonticon
> copying build/lib/superqt/fonticon/_animations.py -> 
> build/bdist.linux-x86_64/wheel/superqt/fonticon
> copying build/lib/superqt/fonticon/_plugins.py -> 
> build/bdist.linux-x86_64/wheel/superqt/fonticon
> copying build/lib/superqt/fonticon/_qfont_icon.py -> 
> build/bdist.linux-x86_64/wheel/superqt/fonticon
> copying build/lib/superqt/fonticon/_iconfont.py -> 
> build/bdist.linux-x86_64/wheel/superqt/fonticon
> creating build/bdist.linux-x86_64/wheel/superqt/sliders
> copying build/lib/superqt/sliders/__init__.py -> 
> build/bdist.linux-x86_64/wheel/superqt/sliders
> copying build/lib/superqt/sliders/_generic_range_slider.py -> 
> build/bdist.linux-x86_64/wheel/superqt/sliders
> copying build/lib/superqt/sliders/_range_style.py -> 
> build/bdist.linux-x86_64/wheel/superqt/sliders
> copying build/lib/superqt/sliders/_sliders.py -> 
> build/bdist.linux-x86_64/wheel/superqt/sliders
> copying build/lib/superqt/sliders/_generic_slider.py -> 
> build/bdist.linux-x86_64/wheel/superqt/sliders
> copying build/lib/superqt/sliders/_labeled.py -> 
> build/bdist.linux-x86_64/wheel/superqt/sliders
> creating build/bdist.linux-x86_64/wheel/superqt/utils
> copying build/lib/superqt/utils/__init__.py -> 
> build/bdist.linux-x86_64/wheel/superqt/utils
> copying build/lib/superqt/utils/_qthreading.py -> 
> build/bdist.linux-x86_64/wheel/superqt/utils
> copying build/lib/superqt/utils/_throttler.py -> 
> build/bdist.linux-x86_64/wheel/superqt/utils
> copying build/lib/superqt/utils/_code_syntax_highlight.py -> 
> build/bdist.linux-x86_64/wheel/superqt/utils
> copying build/lib/superqt/utils/_ensure_thread.py -> 
> build/bdist.linux-x86_64/wheel/superqt/utils
> copying build/lib/superqt/utils/_message_handler.py -> 
> build/bdist.linux-x86_64/wheel/superqt/utils
> copying build/lib/superqt/utils/_misc.py -> 
> build/bdist.linux-x86_64/wheel/superqt/utils
> creating build/bdist.linux-x86_64/wheel/superqt/qtcompat
> copying build/lib/superqt/qtcompat/__init__.py -> 
> build/bdist.linux-x86_64/wheel/superqt/qtcompat
> creating build/bdist.linux-x86_64/wheel/superqt/collapsible
> copying build/lib/superqt/collapsible/__init__.py -> 
> build/bdist.linux-x86_64/wheel/superqt/collapsible
> copying build/lib/superqt/collapsible/_collapsible.py -> 
> build/bdist.linux-x86_64/wheel/superqt/collapsible
> copying build/lib/superqt/_version.py -> 
> build/bdist.linux-x86_64/wheel/superqt
> creating build/bdist.linux-x86_64/wheel/superqt/selection
> copying build/lib/superqt/selection/__init__.py -> 
> build/bdist.linux-x86_64/wheel/superqt/selection
> copying build/lib/superqt/selection/_searchable_list_widget.py -> 
> build/bdist.linux-x86_64/wheel/superqt/selection
> creating build/bdist.linux-x86_64/wheel/superqt/combobox
> copying build/lib/superqt/combobox/__init__.py -> 
> build/bdist.linux-x86_64/wheel/superqt/combobox
> copying build/lib/superqt/combobox/_enum_combobox.py -> 
> build/bdist.linux-x86_64/wheel/superqt/combobox
> copying build/lib/superqt/combobox/_searchable_combo_box.py -> 
> build/bdist.linux-x86_64/wheel/superqt/combobox
> running install_egg_info
> Copying src/superqt.egg-info to 
> build/bdist.linux-x86_64/wheel/superqt-0.4.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/superqt-0.4.0.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_superqt/.tmp-xxs10kv5/superqt-0.4.0-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'superqt/__init__.py'
> adding 'superqt/_eliding_label.py'
> adding 'superqt/_version.py'
> adding 'superqt/py.typed'
> adding 'superqt/collapsible/__init__.py'
> adding 'superqt/collapsible/_collapsible.py'
> adding 'superqt/combobox/__init__.py'
> adding 'superqt/combobox/_enum_combobox.py'
> adding 'superqt/combobox/_searchable_combo_box.py'
> adding 'superqt/fonticon/__init__.py'
> adding 'superqt/fonticon/_animations.py'
> adding 'superqt/fonticon/_iconfont.py'
> adding 'superqt/fonticon/_plugins.py'
> adding 'superqt/fonticon/_qfont_icon.py'
> adding 'superqt/qtcompat/__init__.py'
> adding 'superqt/selection/__init__.py'
> adding 'superqt/selection/_searchable_list_widget.py'
> adding 'superqt/sliders/__init__.py'
> adding 'superqt/sliders/_generic_range_slider.py'
> adding 'superqt/sliders/_generic_slider.py'
> adding 'superqt/sliders/_labeled.py'
> adding 'superqt/sliders/_range_style.py'
> adding 'superqt/sliders/_sliders.py'
> adding 'superqt/spinbox/__init__.py'
> adding 'superqt/spinbox/_intspin.py'
> adding 'superqt/spinbox/_quantity.py'
> adding 'superqt/utils/__init__.py'
> adding 'superqt/utils/_code_syntax_highlight.py'
> adding 'superqt/utils/_ensure_thread.py'
> adding 'superqt/utils/_message_handler.py'
> adding 'superqt/utils/_misc.py'
> adding 'superqt/utils/_qthreading.py'
> adding 'superqt/utils/_throttler.py'
> adding 'superqt-0.4.0.dist-info/LICENSE'
> adding 'superqt-0.4.0.dist-info/METADATA'
> adding 'superqt-0.4.0.dist-info/WHEEL'
> adding 'superqt-0.4.0.dist-info/top_level.txt'
> adding 'superqt-0.4.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built superqt-0.4.0-py3-none-any.whl
> I: pybuild plugin_pyproject:119: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_superqt/build; xvfb-run 
> --auto-servernum --server-num=20 -s "-screen 0 1024x768x24 -ac +extension GLX 
> +render -noreset" python3.11 -m pytest -v -k "" 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.1, pluggy-1.0.0+repack -- 
> /usr/bin/python3.11
> cachedir: .pytest_cache
> PyQt5 5.15.8 -- Qt runtime 5.15.8 -- Qt compiled 5.15.8
> rootdir: /<<PKGBUILDDIR>>, configfile: pyproject.toml
> plugins: qt-4.2.0
> collecting ... collected 381 items / 1 error
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR collecting 
> .pybuild/cpython3_3.11_superqt/build/tests/test_quantity.py _
> /usr/lib/python3/dist-packages/pint/registry.py:639: in load_definitions
>     parsed_files = p.parse(file, is_resource)
> /usr/lib/python3/dist-packages/pint/parser.py:229: in parse
>     parsed = self.parse_single_resource(file)
> /usr/lib/python3/dist-packages/pint/parser.py:264: in parse_single_resource
>     with resources.path(__package__, resource_name) as p:
> /usr/lib/python3.11/importlib/resources/_legacy.py:18: in wrapper
>     warnings.warn(
> E   DeprecationWarning: path is deprecated. Use files() instead. Refer to 
> https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy
>  for migration advice.
> 
> During handling of the above exception, another exception occurred:
> tests/test_quantity.py:3: in <module>
>     from superqt import QQuantity
> <frozen importlib._bootstrap>:1231: in _handle_fromlist
>     ???
> superqt/__init__.py:51: in __getattr__
>     from .spinbox._quantity import QQuantity
> superqt/spinbox/_quantity.py:21: in <module>
>     UREG = UnitRegistry()
> /usr/lib/python3/dist-packages/pint/registry.py:161: in __call__
>     obj._after_init()
> /usr/lib/python3/dist-packages/pint/registry.py:2018: in _after_init
>     super()._after_init()
> /usr/lib/python3/dist-packages/pint/registry.py:352: in _after_init
>     loaded_files = self.load_definitions("default_en.txt", True)
> /usr/lib/python3/dist-packages/pint/registry.py:644: in load_definitions
>     raise ValueError("While opening {}\n{}".format(file, msg))
> E   ValueError: While opening default_en.txt
> E   path is deprecated. Use files() instead. Refer to 
> https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy
>  for migration advice.
> =========================== short test summary info 
> ============================
> ERROR tests/test_quantity.py - ValueError: While opening default_en.txt
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.57s 
> ===============================
> E: pybuild pybuild:388: test: plugin pyproject failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_superqt/build; xvfb-run 
> --auto-servernum --server-num=20 -s "-screen 0 1024x768x24 -ac +extension GLX 
> +render -noreset" python{version} -m pytest -v -k "" 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2023/02/03/superqt_0.4.0-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230203;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230203&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