Relax the minimal tomli version to support Fedora 35 and 36
This commit is contained in:
parent
066e7174f8
commit
9100fc98b1
1 changed files with 5 additions and 0 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue