From 7e5a97dcab0ac219fa30c0f8addee45223e06f0110e1be7668392a55f92ab5c2 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 21 Mar 2020 14:58:35 +0000 Subject: [PATCH] - Fix build for older distributions by buildrequiring a new-enough pytest OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=164 --- python-SQLAlchemy.changes | 1 + python-SQLAlchemy.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python-SQLAlchemy.changes b/python-SQLAlchemy.changes index ab0279f..ec3e8df 100644 --- a/python-SQLAlchemy.changes +++ b/python-SQLAlchemy.changes @@ -20,6 +20,7 @@ Sat Mar 14 12:26:48 UTC 2020 - Dirk Mueller compared to an empty tuple, which can occur in a particular kind of joined eager loading path. The "empty tuple" use case has been resolved so that the path registry is compared to a path registry in all cases; +- Fix build for older distributions by buildrequiring a new-enough pytest ------------------------------------------------------------------- Thu Mar 12 07:37:00 UTC 2020 - Tomáš Chvátal diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index db4de77..bfc707f 100644 --- a/python-SQLAlchemy.spec +++ b/python-SQLAlchemy.spec @@ -36,8 +36,8 @@ 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} -BuildRequires: %{python_module pytest} # /SECTION %ifpython2 Obsoletes: %{oldpython}-sqlalchemy < %{version}