From d476f0a8d4e3c02ba979afb445301d312428a0f871979aba980c2e8444817635 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 2 May 2023 11:59:55 +0000 Subject: [PATCH] * ignore the DeprecationWarning instead OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=21 --- python-build.changes | 1 + python-build.spec | 2 ++ 2 files changed, 3 insertions(+) diff --git a/python-build.changes b/python-build.changes index 535bae7..bb03cc6 100644 --- a/python-build.changes +++ b/python-build.changes @@ -4,6 +4,7 @@ Tue May 2 10:52:23 UTC 2023 - Ben Greiner - Remove support-tarfile-data-filter.patch: better documentation required, preferable supported through upstream * gh#pypa/build#609 + * ignore the DeprecationWarning instead ------------------------------------------------------------------- Tue May 2 08:04:24 UTC 2023 - Steve Kowalik diff --git a/python-build.spec b/python-build.spec index 09cf06a..8c985d1 100644 --- a/python-build.spec +++ b/python-build.spec @@ -75,6 +75,8 @@ It is a simple build tool and does not perform any dependency management. %prep %autosetup -p1 -n build-%{version} +# until we have gh#pypa/build#609 +sed -i '/"error",/ a \ "ignore::DeprecationWarning:tarfile",' pyproject.toml %if !%{with test} %build