Accepting request 1303215 from home:mcalabkova:branches:devel:languages:python

- Add py314.patch to fix tests with Python 3.14

OBS-URL: https://build.opensuse.org/request/show/1303215
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=36
This commit is contained in:
2025-09-10 09:14:16 +00:00
committed by Git OBS Bridge
parent 00aef5dde3
commit e49157e113
3 changed files with 59 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-distlib
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@ Summary: Distribution utilities
License: Python-2.0
URL: https://github.com/pypa/distlib
Source: https://files.pythonhosted.org/packages/source/d/distlib/distlib-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/pypa/distlib/commit/6286442857de9f734686d08f0e59ca8048ee357a Fix #251: Use more appropriate function in test.
Patch0: py314.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module testsuite}