Accepting request 925874 from home:bnavigator:branches:devel:languages:python:pytest

- Fix compatibikity with with Psycopg 2.9
  * pytest-plugins-pr186-fix-psycopg29.patch
  * gh#man-group/pytest-plugins#186

OBS-URL: https://build.opensuse.org/request/show/925874
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=9
This commit is contained in:
2021-10-19 17:15:13 +00:00
committed by Git OBS Bridge
parent 62c4fbd37b
commit c1c9fc7de6
3 changed files with 54 additions and 2 deletions

View File

@@ -23,8 +23,10 @@ Release: 0
Summary: Extensible server fixures for py.test
License: MIT
Group: Development/Languages/Python
URL: https://github.com/manahl/pytest-plugins
URL: https://github.com/man-group/pytest-plugins
Source: https://files.pythonhosted.org/packages/source/p/pytest-server-fixtures/pytest-server-fixtures-%{version}.tar.gz
# PATCH-FIX-UPSTREAM pytest-plugins-pr186-fix-psycopg29.patch -- gh#man-group/pytest-plugins#186
Patch0: https://github.com/man-group/pytest-plugins/pull/186.patch#/pytest-plugins-pr186-fix-psycopg29.patch
BuildRequires: %{python_module setuptools-git}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -89,7 +91,7 @@ BuildRequires: xorg-x11-server
Extensible server fixures for py.test.
%prep
%setup -q -n pytest-server-fixtures-%{version}
%autosetup -p2 -n pytest-server-fixtures-%{version}
# Tests requiring a server
rm tests/integration/test_mongo_server.py