14
0
forked from pool/python-hatch

Accepting request 1094318 from home:bnavigator:branches:devel:languages:python

- Add hatch-pr828-pth-tests.patch, gh#pypa/hatch#828 fixing
  test failure with hatchling >= 1.17.1

OBS-URL: https://build.opensuse.org/request/show/1094318
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=20
This commit is contained in:
2023-06-21 17:27:58 +00:00
committed by Git OBS Bridge
parent dc112c19ff
commit c5cf20c607
3 changed files with 121 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ URL: https://hatch.pypa.io/latest/
Source: https://github.com/pypa/hatch/archive/refs/tags/hatch-v%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix-sdist-target.patch -- gh#pypa/hatch@1b10663e645e
Patch0: fix-sdist-target.patch
# PATCH-FIX-UPSTREAM hatch-pr828-pth-tests.patch, gh#pypa/hatch#828
Patch1: hatch-pr828-pth-tests.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module hatchling >= 1.14}
BuildRequires: %{python_module pip}
@@ -48,6 +50,8 @@ Requires: git-core
%if %{with test}
BuildRequires: %{python_module filelock >= 3.7.1}
BuildRequires: %{python_module hatch = %{version}}
# Due to Patch1, gh#pypa/hatch#828
BuildRequires: %{python_module hatchling >= 1.17.1}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest-randomly}
BuildRequires: %{python_module pytest-rerunfailures}