From efb9ba40e090df16a6a2b9efc816c718195479ecd799998b42f60b8f79cf9db1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 20 Jan 2021 17:54:57 +0000 Subject: [PATCH] Accepting request 864868 from home:jayvdb:branches:devel:languages:python - Skip one failing test on Python 3.6 OBS-URL: https://build.opensuse.org/request/show/864868 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=181 --- python-SQLAlchemy.changes | 5 +++++ python-SQLAlchemy.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-SQLAlchemy.changes b/python-SQLAlchemy.changes index 4cf4e44..fa08486 100644 --- a/python-SQLAlchemy.changes +++ b/python-SQLAlchemy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 20 12:21:49 UTC 2021 - John Vandenberg + +- Skip one failing test on Python 3.6 + ------------------------------------------------------------------- Sat Dec 19 11:01:39 UTC 2020 - Dirk Müller diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index b9f1444..fc6a1fa 100644 --- a/python-SQLAlchemy.spec +++ b/python-SQLAlchemy.spec @@ -36,6 +36,7 @@ Requires: python Provides: python-sqlalchemy = %{version} Obsoletes: python-sqlalchemy < %{version} # SECTION test requirements +BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest >= 4.4.0} BuildRequires: %{python_module pytest-xdist} # /SECTION @@ -78,7 +79,9 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%pytest_arch -n auto +# One test fails on Python 3.6 +# packaging.version.InvalidVersion: Invalid version: 'SQLAlchemy' +%pytest_arch -n auto -k 'not (test_parseconnect and CreateEngineTest and test_bad_args)' %files %{python_files} %license LICENSE