17
0

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
This commit is contained in:
2021-01-20 17:54:57 +00:00
committed by Git OBS Bridge
parent 7cc5579064
commit efb9ba40e0
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 20 12:21:49 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- Skip one failing test on Python 3.6
-------------------------------------------------------------------
Sat Dec 19 11:01:39 UTC 2020 - Dirk Müller <dmueller@suse.com>

View File

@@ -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