From 3ad6331aaabda92fd0b9bab0932241277222f82c0eb59ff51b644acc937dc886 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 30 Jun 2024 19:02:03 +0000 Subject: [PATCH] - skip test that fails with setuptools 70.1 (gh#pypa/pyproject-hooks#203) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyproject-hooks?expand=0&rev=6 --- python-pyproject-hooks.changes | 6 ++++++ python-pyproject-hooks.spec | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-pyproject-hooks.changes b/python-pyproject-hooks.changes index 2209814..fec3720 100644 --- a/python-pyproject-hooks.changes +++ b/python-pyproject-hooks.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jun 30 18:58:23 UTC 2024 - Dirk Müller + +- skip test that fails with setuptools 70.1 + (gh#pypa/pyproject-hooks#203) + ------------------------------------------------------------------- Sat Jun 29 12:29:33 UTC 2024 - Dirk Müller diff --git a/python-pyproject-hooks.spec b/python-pyproject-hooks.spec index 572add3..6be4d31 100644 --- a/python-pyproject-hooks.spec +++ b/python-pyproject-hooks.spec @@ -16,7 +16,6 @@ # -%define fname pyproject_hooks %{?sle15_python_module_pythons} Name: python-pyproject-hooks Version: 1.1.0 @@ -24,12 +23,11 @@ Release: 0 Summary: Wrappers to call pyproject.toml-based build backend hooks License: MIT URL: https://github.com/pypa/pyproject-hooks -Source: https://github.com/pypa/pyproject-hooks/archive/refs/tags/v%{version}.tar.gz#/%{fname}-%{version}-gh.tar.gz +Source: https://github.com/pypa/pyproject-hooks/archive/refs/tags/v%{version}.tar.gz#/pyproject_hooks-%{version}-gh.tar.gz BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module flit-core} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testpath} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -59,7 +57,8 @@ Note: The ``pep517`` project has been replaced by this project (low level) and t %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# https://github.com/pypa/pyproject-hooks/issues/203 +%pytest -k "not test_setup" %files %{python_files} %{python_sitelib}/pyproject_hooks