* ignore the DeprecationWarning instead

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=21
This commit is contained in:
Benjamin Greiner 2023-05-02 11:59:55 +00:00 committed by Git OBS Bridge
parent 2a1cc284b3
commit d476f0a8d4
2 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@ Tue May 2 10:52:23 UTC 2023 - Ben Greiner <code@bnavigator.de>
- 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 <steven.kowalik@suse.com>

View File

@ -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