Accepting request 1085288 from devel:languages:python

- remove parallel testing, too unstable
- readd provides which is needed to select between 1.x and 2.x

OBS-URL: https://build.opensuse.org/request/show/1085288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy1?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2023-05-09 11:07:08 +00:00 committed by Git OBS Bridge
parent fd8bacc446
commit b14e2409d8
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat May 6 15:46:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
- remove parallel testing, too unstable
- readd provides which is needed to select between 1.x and 2.x
-------------------------------------------------------------------
Thu May 4 14:47:24 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -35,6 +35,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python
Requires: python-greenlet
Provides: python-sqlalchemy = %{version}
Conflicts: python-SQLAlchemy
%if %{python_version_nodots} < 38
Requires: python-importlib-metadata
@ -43,7 +44,6 @@ Requires: python-importlib-metadata
BuildRequires: %{python_module greenlet}
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module pytest >= 4.4.0}
BuildRequires: %{python_module pytest-xdist}
# /SECTION
%python_subpackages
@ -82,7 +82,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%check
# One test fails on Python 3.6
# packaging.version.InvalidVersion: Invalid version: 'SQLAlchemy'
%pytest_arch %{?jobs:-n %jobs} -k 'not (test_parseconnect and CreateEngineTest and test_bad_args)'
%pytest_arch -k 'not (test_parseconnect and CreateEngineTest and test_bad_args)'
%files %{python_files}
%license LICENSE