Relax the minimal tomli version to support Fedora 35 and 36

This commit is contained in:
Miro Hrončok 2022-09-14 16:08:44 +02:00
commit 9100fc98b1

View file

@ -91,6 +91,11 @@ Obsoletes: python3-tox < 3.24.4-2
%prep
%autosetup -p1 -n tox-%{version}
# In https://github.com/tox-dev/tox/pull/2463 upstream insisted on pinning tomli to >=2.0.1.
# However, it works fine with 1.2.3 we have in Fedora 35+36, so we relax the dependency.
# We rely on the Fedora CI to catch problems.
sed -i 's/tomli>=2.0.1/tomli>=1.2.3/' setup.cfg
%generate_buildrequires
%pyproject_buildrequires -r %{?with_tests:-x testing}