15
0

Accepting request 865059 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/865059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy?expand=0&rev=81
This commit is contained in:
2021-01-22 20:50:04 +00:00
committed by Git OBS Bridge
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