- Drop patch suppot-python-312.patch.

- Add patch support-python-312.patch, which is a rename of the previous
  patch.
- Add patch fix-traceback.patch, support traceback changes of
  Python 3.12.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-examples?expand=0&rev=8
This commit is contained in:
2024-03-07 01:17:27 +00:00
committed by Git OBS Bridge
parent 3d08560b5d
commit eabd9cb398
4 changed files with 236 additions and 2 deletions

View File

@@ -24,10 +24,12 @@ License: MIT
URL: https://github.com/pydantic/pytest-examples
# sdist without tests
Source: https://github.com/pydantic/pytest-examples/archive/refs/tags/v%{version}.tar.gz#/pytest-examples-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#pydantic/pytest-examples#17
Patch0: fix-traceback.patch
# PATCH-FIX-UPSTREAM test-ruff-0.1.0.patch - fix tests for ruff-0.1.0
Patch0: test-ruff-0.1.0.patch
Patch1: test-ruff-0.1.0.patch
# PATCH-FIX-UPSTREAM gh#pydantic/pytest-examples#22
Patch1: suppot-python-312.patch
Patch2: support-python-312.patch
BuildRequires: %{python_module black}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}