14
0
forked from pool/python-sybil

Accepting request 1100616 from home:mcalabkova:branches:devel:languages:python:pytest

Please note: The newest version is currently 5.0.3. Version 4.0.0 was heavily 
rewritten, there are some not-yet-packaged test dependencies. I am just lazy 
to create new packages, so making a little step with small changes (which
suffice to fix the build with new pytest).

- Update to 3.0.1
  * Continue with the ever shifting sands of pytest APIs, this time 
    appeasing warnings from pytest 7 that when fixed break compatibility 
    with pytest 6.
- Drop python-sybil-fix-ordering.diff
- Add pytest74.patch to support pytest 7.4

OBS-URL: https://build.opensuse.org/request/show/1100616
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sybil?expand=0&rev=32
This commit is contained in:
2023-07-26 06:43:55 +00:00
committed by Git OBS Bridge
parent 5c049ce885
commit cadbc5782c
6 changed files with 59 additions and 31 deletions

View File

@@ -18,13 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-sybil
Version: 3.0.0
Version: 3.0.1
Release: 0
Summary: Automated testing of examples in documentation
License: MIT
URL: https://github.com/cjw296/sybil
Source: https://files.pythonhosted.org/packages/source/s/sybil/sybil-%{version}.tar.gz
Patch0: python-sybil-fix-ordering.diff
#PATCH-FIX-UPSTREAM https://github.com/simplistix/sybil/commit/df0d221c1d9da1454a5ef7fd72675d8d43b96eb0 Deal with more pytest internals changing
Patch: pytest74.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 6.2}
BuildRequires: %{python_module setuptools-git}