Package: python3-flask-sqlalchemy
Version: 2.1-4
Severity: important
Dear Maintainer,
The version of flask-sqlalchemy currently packaged in Debian is quite
old, and gives some deprecation warnings when used with the latest
version of sqlalchemy in Debian:
/usr/lib/python3/dist-packages/sqlalchemy/dialects/sqlite/base.py:1453:
SADeprecationWarning: The create_engine.convert_unicode parameter and
corresponding dialect-level parameters are deprecated, and will be removed in a
future release. Modern DBAPIs support Python Unicode natively and this
parameter is unnecessary.
default.DefaultDialect.__init__(self, **kwargs)
/usr/lib/python3/dist-packages/flask_sqlalchemy/__init__.py:169:
SADeprecationWarning: Use .persist_selectable
info = getattr(mapper.mapped_table, 'info', {})
These warnings disappear if I install the latest 2.4.1 from pip.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-flask-sqlalchemy depends on:
ii python3 3.7.5-1
ii python3-flask 1.1.1-2
ii python3-sqlalchemy 1.3.10+ds1-1
python3-flask-sqlalchemy recommends no packages.
python3-flask-sqlalchemy suggests no packages.
-- no debconf information
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team