From 0e786ce3a3a137f3bb36b05f2a73ab758664d1c9 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Fri, 7 Oct 2022 00:17:47 -0500 Subject: [PATCH] Remove incorrect python3-dateutil test BuildRequires In the latest tomli version, the test suite moved from pytest to unittest and removed the python-dateutil dependency [1]. This commit removes the python-dateutil BR but keeps the pytest BR so we can use %pytest as the test runner. [1]: https://github.com/hukkin/tomli/blob/master/CHANGELOG.md#201 --- python-tomli.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/python-tomli.spec b/python-tomli.spec index a475b0b..77bc1b7 100644 --- a/python-tomli.spec +++ b/python-tomli.spec @@ -6,7 +6,7 @@ Name: python-tomli Version: 2.0.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A little TOML parser for Python License: MIT @@ -17,10 +17,9 @@ BuildArch: noarch BuildRequires: python3-devel %if %{without bootstrap} -# Upstream test requirements are in tests/requirements.txt, -# but they're mixed together with coverage ones. Tests only need: +# The test suite uses the stdlib's unittest framework, but we use %%pytest +# as the test runner. BuildRequires: python3-pytest -BuildRequires: python3-dateutil %endif %global _description %{expand: @@ -90,6 +89,9 @@ grep '^Requires-Dist:' %{buildroot}%{python3_sitelib}/tomli-%{version}.dist-info %changelog +* Fri Oct 07 2022 Maxwell G - 2.0.1-5 +- Remove incorrect python3-dateutil test BuildRequires + * Fri Jul 22 2022 Fedora Release Engineering - 2.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild