Remove undesired/optional test dependency on pympler

pympler is optional and orphaned in Fedora
This commit is contained in:
Miro Hrončok 2024-01-15 18:07:44 +01:00
parent 64900c81e5
commit ae3a70f7bc

View File

@ -10,7 +10,7 @@
Name: python-attrs
Version: 23.2.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Python attributes without boilerplate
# SPDX
@ -37,6 +37,8 @@ object protocols.
%prep
%setup -q -n %{modname}-%{version}
# Remove undesired/optional test dependency on pympler
sed -i '/"pympler",/d' pyproject.toml
# Remove tests-mypy extra from tests-no-zope extra
sed -i "/attrs\[tests-mypy\]/d" pyproject.toml
@ -62,6 +64,9 @@ sed -i "/attrs\[tests-mypy\]/d" pyproject.toml
%doc README.md
%changelog
* Mon Jan 15 2024 Miro Hrončok <mhroncok@redhat.com> - 23.2.0-2
- Remove undesired/optional test dependency on pympler
* Tue Jan 02 2024 Lumír Balhar <lbalhar@redhat.com> - 23.2.0-1
- Update to 23.2.0 (rhbz#2256322)