Source: flask-babelex
Version: 0.9.4-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240224 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build --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:305: python3.12 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'upload-dir' will not be supported in future
>         versions. Please use the underscore name 'upload_dir' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> running config
> I: pybuild base:305: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'upload-dir' will not be supported in future
>         versions. Please use the underscore name 'upload_dir' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:305: /usr/bin/python3.12 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'upload-dir' will not be supported in future
>         versions. Please use the underscore name 'upload_dir' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-babelex/build/flask_babelex
> copying flask_babelex/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-babelex/build/flask_babelex
> copying flask_babelex/_compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-babelex/build/flask_babelex
> I: pybuild base:305: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'upload-dir' will not be supported in future
>         versions. Please use the underscore name 'upload_dir' instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-babelex/build/flask_babelex
> copying flask_babelex/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-babelex/build/flask_babelex
> copying flask_babelex/_compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-babelex/build/flask_babelex
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-babelex/build; python3.12 -m 
> unittest discover -v 
> flask_babelex (unittest.loader._FailedTest.flask_babelex) ... ERROR
> 
> ======================================================================
> ERROR: flask_babelex (unittest.loader._FailedTest.flask_babelex)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: flask_babelex
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 427, in _find_test_path
>     package = self._get_module_from_name(name)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.12/unittest/loader.py", line 337, in 
> _get_module_from_name
>     __import__(name)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-babelex/build/flask_babelex/__init__.py",
>  line 20, in <module>
>     from flask import _request_ctx_stack
> ImportError: cannot import name '_request_ctx_stack' from 'flask' 
> (/usr/lib/python3/dist-packages/flask/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-babelex/build; python3.12 -m 
> unittest discover -v 
> I: pybuild base:305: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-babelex/build; python3.11 -m 
> unittest discover -v 
> flask_babelex (unittest.loader._FailedTest.flask_babelex) ... ERROR
> 
> ======================================================================
> ERROR: flask_babelex (unittest.loader._FailedTest.flask_babelex)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: flask_babelex
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 452, in _find_test_path
>     package = self._get_module_from_name(name)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/loader.py", line 362, in 
> _get_module_from_name
>     __import__(name)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-babelex/build/flask_babelex/__init__.py",
>  line 20, in <module>
>     from flask import _request_ctx_stack
> ImportError: cannot import name '_request_ctx_stack' from 'flask' 
> (/usr/lib/python3/dist-packages/flask/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-babelex/build; python3.11 -m 
> unittest discover -v 
> 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/2024/02/24/flask-babelex_0.9.4-3_unstable.log

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