[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#965050: marked as done (python3-flask-babel: flask_babel broken after recent werkzeug update)



Your message dated Wed, 15 Jul 2020 07:48:29 +0000
with message-id <E1jvc9V-0008rn-2x@fasolo.debian.org>
and subject line Bug#965050: fixed in flask-babel 0.12.2-1
has caused the Debian Bug report #965050,
regarding python3-flask-babel: flask_babel broken after recent werkzeug update
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
965050: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965050
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python3-flask-babel
Version: 0.11.2-3
Severity: normal
Tags: upstream
X-Debbugs-Cc: harinath@hurrynot.org

Dear Maintainer,

I use 'fava' which appears to use 'flask_babel'.  Recently, 'fava' started
crashing with the following backtrace:

--8<--
Traceback (most recent call last):
  File "/usr/bin/fava", line 11, in <module>
    load_entry_point('fava==1.14', 'console_scripts', 'fava')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 490, in
load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2859,
in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2450,
in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2456,
in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/fava/cli.py", line 11, in <module>
    from fava.application import app
  File "/usr/lib/python3/dist-packages/fava/application.py", line 35, in
<module>
    from flask_babel import Babel
  File "/usr/lib/python3/dist-packages/flask_babel/__init__.py", line 19, in
<module>
    from werkzeug import ImmutableDict
ImportError: cannot import name 'ImmutableDict' from 'werkzeug'
(/usr/lib/python3/dist-packages/werkzeug/__init__.py)
--8<--

Turns out werkzeug was recently updated:

--8<--
python-werkzeug (1.0.1+dfsg1-2) unstable; urgency=medium

  * Uploading to unstable.

 -- Ondřej Nový <onovy@debian.org>  Tue, 14 Jul 2020 09:40:21 +0200
--8<--

The origin of the bug seems to be the use of deprecated exports from werkzeug,
which were removed:

https://github.com/pallets/werkzeug/commit/d50618e3651ad5d4d3118e903a040b733c4d0233#diff-9ab9cda90dbf882c5f053820bffc3d15

The fix appears to be:

  https://github.com/python-babel/flask-
babel/commit/fcc347b8e4c751f4cbe36d2a7652bc250f780c99



-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-1-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-flask-babel depends on:
ii  python3         3.8.2-3
ii  python3-babel   2.8.0+dfsg.1-3
ii  python3-flask   1.1.2-1
ii  python3-jinja2  2.11.2-1

python3-flask-babel recommends no packages.

Versions of packages python3-flask-babel suggests:
pn  python-flask-babel-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: flask-babel
Source-Version: 0.12.2-1
Done: Johannes 'josch' Schauer <josch@debian.org>

We believe that the bug you reported is fixed in the latest version of
flask-babel, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 965050@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Johannes 'josch' Schauer <josch@debian.org> (supplier of updated flask-babel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 15 Jul 2020 09:24:58 +0200
Source: flask-babel
Architecture: source
Version: 0.12.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Johannes 'josch' Schauer <josch@debian.org>
Closes: 965050
Changes:
 flask-babel (0.12.2-1) unstable; urgency=medium
 .
   [ Håvard Flaget Aasen ]
   * QA upload
   * New upstream release
   * Set upstream metadata fields: Bug-Database, Repository,
     Repository-Browse.
   * d/control
     - Bump debhelper to 12
     - Update Standards-Version to 4.5.0
     - Update Vcs-* URI's now points to DPMT in salsa.
     - Add Rules-Requires-Root: no
 .
   [ Johannes 'josch' Schauer ]
   * add debian/salsa-ci.yml
   * fix import of ImmutableDict from werkzeug (closes: #965050)
Checksums-Sha1:
 82f158a2b22aec7935d191fc464d3917f80ee59e 2275 flask-babel_0.12.2-1.dsc
 773fd5208b0ae6c9a818aea941b0a6436981b1be 44567 flask-babel_0.12.2.orig.tar.gz
 8217b934496d729b755a586d9b7a060a03977614 4600 flask-babel_0.12.2-1.debian.tar.xz
Checksums-Sha256:
 801c23a9a5f2c8d15eda293e1f4ec60e6506083fde10afc00b834d9e6a6076fe 2275 flask-babel_0.12.2-1.dsc
 316ad183e42003f3922957fa643d0a1e8e34a0f0301a88c3a8f605bc37ba5c86 44567 flask-babel_0.12.2.orig.tar.gz
 f0cc256109d739b186e110874c585050894b9a4d3f186d8b7fca8ba5406b042e 4600 flask-babel_0.12.2-1.debian.tar.xz
Files:
 2d81daf16019760c29672fc1e01a8c7d 2275 python optional flask-babel_0.12.2-1.dsc
 fcf2f360ff279d3133e40974804efd72 44567 python optional flask-babel_0.12.2.orig.tar.gz
 68fb9c4abf287f3695e4f417e4234793 4600 python optional flask-babel_0.12.2-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAl8OsRoACgkQ8sulx4+9
g+E1/g//dsw2dCCwmWIpbY9O3HzpH4UM0LSeFx0WdnL32rkK8jUn+Kfcsav7QRN6
ulcjxbFIRhLoTn0OWP6SXz/GcKE3z7jbVePZsuxaw84Q2isBsRx/H28ef+AqB0Mv
MCUsIFSlcHK+lkddaxDr7Sd3GQlHeQjD9NNlI7q+p42Ayau6AzJZSXjA6DVYzz0F
STf39KlttGMSai94GcP0eCxF1GwE+wCbeOdrW8s+xyf0YdjH5k0XtdAky1V9kU1m
HkW2NQIrL3+K8JsViuI+Mxe+hO3+LRplQ3Jwewxdj2lljkTdNgVkXiPa0Gp11IPs
gCleCUjG19iGNiC0Y32tkAdBS/cfSU75lBCqKuOmx/+E7CzJWZYM+hUtOhRnEvlO
ZfJ7ACQCmchZi0mFafLfttCSu1v4Lq5NMl2BVqgQ2szh8fH2AdJHZzfu8At1Zys/
sqJUeZA6pu89UgIMmc8xrIxPP+EQDgftKPPbTuKebZRcBhEk3LqYI0n3EeYR/j01
zcHFCtrgpI3p2G/faCDSF5FCIKn5Hn+o9IKsHPenHFm/8HTmpmpqZyuyeml/4tH1
mLW6NmOCO1AEWyTJoMhdfQJdyOOZdqZC/RrVd/s2FEWrl5kaxLPwJ5L3zb9Pc0i9
A3yrh/uhz4usYHcyv1nW+rvadff5RPkz8rTGsxR0BvWV9ou9cmo=
=oiDk
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: