Processed: Re: Bug#1064697: flask-babelex: FTBFS: ImportError: cannot import name '_request_ctx_stack' from 'flask' (/usr/lib/python3/dist-packages/flask/__init__.py)

2024-03-21 Thread Debian Bug Tracking System
Processing control commands:

> clone -1 -2
Bug #1064697 [src:flask-babelex] flask-babelex: FTBFS: ImportError: cannot 
import name '_request_ctx_stack' from 'flask' 
(/usr/lib/python3/dist-packages/flask/__init__.py)
Bug 1064697 cloned as bug 1067414
> reassign -2 ftp.debian.org
Bug #1067414 [src:flask-babelex] flask-babelex: FTBFS: ImportError: cannot 
import name '_request_ctx_stack' from 'flask' 
(/usr/lib/python3/dist-packages/flask/__init__.py)
Bug reassigned from package 'src:flask-babelex' to 'ftp.debian.org'.
No longer marked as found in versions flask-babelex/0.9.4-3.
Ignoring request to alter fixed versions of bug #1067414 to the same values 
previously set
> retitle -2 RM: flask-babelex -- obsolete
Bug #1067414 [ftp.debian.org] flask-babelex: FTBFS: ImportError: cannot import 
name '_request_ctx_stack' from 'flask' 
(/usr/lib/python3/dist-packages/flask/__init__.py)
Changed Bug title to 'RM: flask-babelex -- obsolete' from 'flask-babelex: 
FTBFS: ImportError: cannot import name '_request_ctx_stack' from 'flask' 
(/usr/lib/python3/dist-packages/flask/__init__.py)'.

-- 
1064697: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064697
1067414: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067414
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1064697: flask-babelex: FTBFS: ImportError: cannot import name '_request_ctx_stack' from 'flask' (/usr/lib/python3/dist-packages/flask/__init__.py)

2024-03-21 Thread Christoph Berg
Control: clone -1 -2
Control: reassign -2 ftp.debian.org
Control: retitle -2 RM: flask-babelex -- obsolete

Re: Colin Watson
> Should we just remove this package from Debian?  I'm CCing everyone
> who's uploaded it in the past just in case, but I suspect this is an
> easy decision.

Yeah, let's just do that. Thanks for looking into the details!

Christoph



Bug#1064697: flask-babelex: FTBFS: ImportError: cannot import name '_request_ctx_stack' from 'flask' (/usr/lib/python3/dist-packages/flask/__init__.py)

2024-03-08 Thread Colin Watson
On Sun, Feb 25, 2024 at 08:37:09PM +0100, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
[...]
> > ==
> > 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 
> > "/<>/.pybuild/cpython3_3.12_flask-babelex/build/flask_babelex/__init__.py",
> >  line 20, in 
> > from flask import _request_ctx_stack
> > ImportError: cannot import name '_request_ctx_stack' from 'flask' 
> > (/usr/lib/python3/dist-packages/flask/__init__.py)

https://github.com/mrjoes/flask-babelex is archived and shows a
deprecation warning:

  "All Flask-BabelEx features were merged into Flask-Babel and
  Flask-BabelEx package should no longer be used in your projects.
  Please migrate."

Apparently this was originally packaged as a dependency of pgadmin4, but
pgadmin4 no longer uses it:

  
https://github.com/pgadmin-org/pgadmin4/commit/d644b4f94ec71af78a46434121bce0fcd626a2dc

Should we just remove this package from Debian?  I'm CCing everyone
who's uploaded it in the past just in case, but I suspect this is an
easy decision.

Thanks,

-- 
Colin Watson (he/him)  [cjwat...@debian.org]



Bug#1064697: flask-babelex: FTBFS: ImportError: cannot import name '_request_ctx_stack' from 'flask' (/usr/lib/python3/dist-packages/flask/__init__.py)

2024-02-25 Thread Lucas Nussbaum
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 
> /<>/.pybuild/cpython3_3.12_flask-babelex/build/flask_babelex
> copying flask_babelex/__init__.py -> 
> /<>/.pybuild/cpython3_3.12_flask-babelex/build/flask_babelex
> copying flask_babelex/_compat.py -> 
> /<>/.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 
> /<>/.pybuild/cpython3_3.11_flask-babelex/build/flask_babelex
> copying flask_babelex/__init__.py -> 
> /<>/.pybuild/cpython3_3.11_flask-babelex/build/flask_babelex
> copying flask_babelex/_compat.py -> 
> /<>/.pybuild/cpython3_3.11_flask-babelex/build/flask_babelex
>dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd 
> /<>/.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)
> --
>