On Thu, 07 Dec 2023 11:11:28 -0700, Theodore A. Roth wrote:
> The 2.5.1 release is not comptabile with python3-sqlalchemy 2.0.23 which
> is currently provided by meta-openembedded. This results in the
> following error:
>
> root@host:~# python3
> Python 3.11.5 (main, Aug 24 2023, 12:23:19) [GCC 13.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from flask_sqlalchemy import SQLAlchemy
> >>> from flask import Flask
> >>> app = Flask('foobar')
> >>> app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/test.db'
> >>> db = SQLAlchemy(app)
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/python3.11/site-packages/flask_sqlalchemy/__init__.py",
> line 758, in __init__
> _include_sqlalchemy(self, query_class)
> File "/usr/lib/python3.11/site-packages/flask_sqlalchemy/__init__.py",
> line 112, in _include_sqlalchemy
> for key in module.__all__:
> ^^^^^^^^^^^^^^
> AttributeError: module 'sqlalchemy' has no attribute '__all__'. Did you
> mean: '__file__'?
>
> [...]
Applied, thanks!
[1/1] python3-flask-sqlalchemy: upgrade 2.5.1 -> 3.1.1
commit: e351a50f8b001abe5ee3d92de5d8f173b74f758a
Best regards,
--
Khem Raj <[email protected]>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107373):
https://lists.openembedded.org/g/openembedded-devel/message/107373
Mute This Topic: https://lists.openembedded.org/mt/103039454/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-