summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-*: Update recipes to correctly check the upstream packagesDerek Straka2024-12-191-2/+1
| | | | | | | | | | | | With the upstream check migrated to the simple repo API, a number of the recipes required updates to: 1. Remove outdated UPSTREAM_CHECK_REGEX checks 2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for packages that use '_', CamelCase, or other deviations from PEP625 in the source archive Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: drop ${PYTHON_PN}Tim Orling2024-02-191-1/+1
| | | | | | | python 2 is long unsupported, so we no longer need this variable. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-flask-sqlalchemy: fix upstream uri checkDerek Straka2023-12-221-0/+2
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-flask-sqlalchemy: upgrade 2.5.1 -> 3.1.1Theodore A. Roth2023-12-071-0/+11
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__'? Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com> Signed-off-by: Theodore A. Roth <troth@openavr.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>