Your message dated Sun, 18 Dec 2022 17:25:18 +0100
with message-id <[email protected]>
and subject line Re: Bug#1002958: python3-flask-migrate missing: No module 
named 'flask_migrate'
has caused the Debian Bug report #1002958,
regarding python3-flask-migrate missing: No module named 'flask_migrate'
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 [email protected]
immediately.)


-- 
1002958: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002958
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-flask-migrate
Version: python3-flask-sqlalchemy
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

The package python3-flask-migrate is missing in bookworm even though
it's there in sid and in packages before bookworm:
https://packages.debian.org/search?keywords=python3-flask-migrate&searchon=names&suite=all&section=all

This is a problem for anyone trying to use python3-flask-sqlalchemy
since most flask-sqlalchemy apps use migration (at least, all the
examples I've seen do, so I've followed that in my own apps).

Can python3-flask-migrate please be added back to bookworm? I know
it's possible to get it through pip install, but I prefer using Debian
packages when possible since they get security updates.

One easy way to see the problem is to use lesson 4 (or any later
lesson) of the Flask Mega Tutorial:

git clone https://github.com/miguelgrinberg/microblog.git
cd microblog/
git checkout tags/v0.4
export FLASK_APP=microblog.py
flask run

which produces output:

Error: While importing 'microblog', an ImportError was raised:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/flask/cli.py", line 256, in locate_app
    __import__(module_name)
  File "/home/akkana/outsrc/microblog/microblog.py", line 1, in <module>
    from app import app, db
  File "/home/akkana/outsrc/microblog/app/__init__.py", line 3, in <module>
    from flask_migrate import Migrate
ModuleNotFoundError: No module named 'flask_migrate'


Thanks for considering this!


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-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 /usr/bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Version: 3.1.0-1

Hello Akkana,

Am Sat, Jan 01, 2022 at 12:00:15PM -0700 schrieb Akkana Peck:
 
> The package python3-flask-migrate is missing in bookworm even though
> it's there in sid and in packages before bookworm:
> https://packages.debian.org/search?keywords=python3-flask-migrate&searchon=names&suite=all&section=all
> 
> This is a problem for anyone trying to use python3-flask-sqlalchemy
> since most flask-sqlalchemy apps use migration (at least, all the
> examples I've seen do, so I've followed that in my own apps).

at the time you've written this report the package in question were
removed from testing due a not fixed FTBFS in time before the removing
did become rality.

https://tracker.debian.org/news/1279924/flask-migrate-removed-from-testing/

With the upload of version 3.1.0-1 the issue of the FTBFS was fixed and
since the migration of the version to testing/bookworm no other removel
did happen.

I'll close this issue now.

Regards
Carsten

--- End Message ---

Reply via email to