From abc7263eb905d80a1c69fed3522eaca7192db62b367cd0461b4c83773baa55be Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 2 Aug 2023 07:01:11 +0000 Subject: [PATCH] - Update to 3.0.5: * ``Pagination.next()`` enforces ``max_per_page``. * Improve type hint for ``get_or_404`` return value to be non-optional. * Fix type hint for ``get_or_404`` return value. * Fix type hints for pyright (used by VS Code Pylance extension). * Show helpful errors when mistakenly using multiple ``SQLAlchemy`` instances for the same app, or without calling ``init_app`` * Fix issue with getting the engine associated with a model that uses polymorphic table inheritance. - Update URL. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-SQLAlchemy?expand=0&rev=24 --- Flask-SQLAlchemy-3.0.2.tar.gz | 3 --- flask_sqlalchemy-3.0.5.tar.gz | 3 +++ python-Flask-SQLAlchemy.changes | 14 ++++++++++++++ python-Flask-SQLAlchemy.spec | 15 +++++++-------- 4 files changed, 24 insertions(+), 11 deletions(-) delete mode 100644 Flask-SQLAlchemy-3.0.2.tar.gz create mode 100644 flask_sqlalchemy-3.0.5.tar.gz diff --git a/Flask-SQLAlchemy-3.0.2.tar.gz b/Flask-SQLAlchemy-3.0.2.tar.gz deleted file mode 100644 index c840495..0000000 --- a/Flask-SQLAlchemy-3.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16199f5b3ddfb69e0df2f52ae4c76aedbfec823462349dabb21a1b2e0a2b65e9 -size 128634 diff --git a/flask_sqlalchemy-3.0.5.tar.gz b/flask_sqlalchemy-3.0.5.tar.gz new file mode 100644 index 0000000..de16c00 --- /dev/null +++ b/flask_sqlalchemy-3.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5765e58ca145401b52106c0f46178569243c5da25556be2c231ecc60867c5b1 +size 78504 diff --git a/python-Flask-SQLAlchemy.changes b/python-Flask-SQLAlchemy.changes index 693bee6..9e8a99e 100644 --- a/python-Flask-SQLAlchemy.changes +++ b/python-Flask-SQLAlchemy.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Aug 2 07:00:50 UTC 2023 - Steve Kowalik + +- Update to 3.0.5: + * ``Pagination.next()`` enforces ``max_per_page``. + * Improve type hint for ``get_or_404`` return value to be non-optional. + * Fix type hint for ``get_or_404`` return value. + * Fix type hints for pyright (used by VS Code Pylance extension). + * Show helpful errors when mistakenly using multiple ``SQLAlchemy`` + instances for the same app, or without calling ``init_app`` + * Fix issue with getting the engine associated with a model that uses + polymorphic table inheritance. +- Update URL. + ------------------------------------------------------------------- Sun Jun 11 14:16:45 UTC 2023 - ecsos diff --git a/python-Flask-SQLAlchemy.spec b/python-Flask-SQLAlchemy.spec index 9ef1cc3..cce993e 100644 --- a/python-Flask-SQLAlchemy.spec +++ b/python-Flask-SQLAlchemy.spec @@ -1,7 +1,7 @@ # # spec file for package python-Flask-SQLAlchemy # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,15 @@ %{?sle15_python_module_pythons} Name: python-Flask-SQLAlchemy -Version: 3.0.2 +Version: 3.0.5 Release: 0 Summary: SQLAlchemy support for Flask License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/mitsuhiko/flask-sqlalchemy -Source: https://files.pythonhosted.org/packages/source/F/Flask-SQLAlchemy/Flask-SQLAlchemy-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/f/flask_sqlalchemy/flask_sqlalchemy-%{version}.tar.gz # BR krb5 - the test suite fails with krb5-mini (and users in any case will only ever get krb5, never krb5-mini) BuildRequires: krb5 -BuildRequires: %{python_module pdm-pep517} +BuildRequires: %{python_module flit-core} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} BuildRequires: fdupes @@ -46,7 +45,7 @@ BuildRequires: %{python_module pytest} Adds SQLAlchemy support to your Flask application. %prep -%setup -q -n Flask-SQLAlchemy-%{version} +%autosetup -p1 -n flask_sqlalchemy-%{version} %build %pyproject_wheel @@ -61,7 +60,7 @@ Adds SQLAlchemy support to your Flask application. %files %{python_files} %license LICENSE.rst %doc CHANGES.rst README.rst -%{python_sitelib}/flask_sqlalchemy/ -%{python_sitelib}/Flask[-_]SQLAlchemy-%{version}.dist-info/ +%{python_sitelib}/flask_sqlalchemy +%{python_sitelib}/flask_sqlalchemy-%{version}.dist-info %changelog