From 7a529d54940bbf2cea834599d59e0d24d20d94ab347ed0da27f337a74be02ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 15 Nov 2024 13:31:07 +0000 Subject: [PATCH] Accepting request 1224456 from home:nkrapp:branches:devel:languages:python:flask - temporarily disable tests that are broken with SLQAlchemy 2.0.36 * https://github.com/pallets-eco/flask-sqlalchemy/issues/1378 OBS-URL: https://build.opensuse.org/request/show/1224456 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-SQLAlchemy?expand=0&rev=35 --- python-Flask-SQLAlchemy.changes | 6 ++++++ python-Flask-SQLAlchemy.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-Flask-SQLAlchemy.changes b/python-Flask-SQLAlchemy.changes index eec4b3f..3da236a 100644 --- a/python-Flask-SQLAlchemy.changes +++ b/python-Flask-SQLAlchemy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 15 13:23:23 UTC 2024 - Nico Krapp + +- temporarily disable tests that are broken with SLQAlchemy 2.0.36 + * https://github.com/pallets-eco/flask-sqlalchemy/issues/1378 + ------------------------------------------------------------------- Wed Oct 30 02:33:57 UTC 2024 - Steve Kowalik diff --git a/python-Flask-SQLAlchemy.spec b/python-Flask-SQLAlchemy.spec index 77ff357..f352dba 100644 --- a/python-Flask-SQLAlchemy.spec +++ b/python-Flask-SQLAlchemy.spec @@ -57,7 +57,10 @@ Adds SQLAlchemy support to your Flask application. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -W "ignore::ResourceWarning" +# skip tests that are broken with SQLAlchemy 2.0.36 +# https://github.com/pallets-eco/flask-sqlalchemy/issues/1378 +donttest=("-k" "not test_model_bind") +%pytest -W "ignore::ResourceWarning" "${donttest[@]}" %files %{python_files} %license LICENSE.rst