From fcaf5d18d2847b568828f9d827615e07c0e1911cd751b15141d25c029ee78ee6 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 30 Oct 2024 02:35:00 +0000 Subject: [PATCH] - Ignore ResourceWarning during pytest to avoid a Python 3.13 failure. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-SQLAlchemy?expand=0&rev=33 --- python-Flask-SQLAlchemy.changes | 5 +++++ python-Flask-SQLAlchemy.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-Flask-SQLAlchemy.changes b/python-Flask-SQLAlchemy.changes index 29be159..eec4b3f 100644 --- a/python-Flask-SQLAlchemy.changes +++ b/python-Flask-SQLAlchemy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 30 02:33:57 UTC 2024 - Steve Kowalik + +- Ignore ResourceWarning during pytest to avoid a Python 3.13 failure. + ------------------------------------------------------------------- Thu Feb 1 05:13:58 UTC 2024 - Steve Kowalik diff --git a/python-Flask-SQLAlchemy.spec b/python-Flask-SQLAlchemy.spec index 814bc76..77ff357 100644 --- a/python-Flask-SQLAlchemy.spec +++ b/python-Flask-SQLAlchemy.spec @@ -57,12 +57,12 @@ Adds SQLAlchemy support to your Flask application. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +%pytest -W "ignore::ResourceWarning" %files %{python_files} %license LICENSE.rst %doc CHANGES.rst README.rst %{python_sitelib}/flask_sqlalchemy -%{python_sitelib}/flask_sqlalchemy-%{version}*-info +%{python_sitelib}/flask_sqlalchemy-%{version}.dist-info %changelog