public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-fastapi] rawhide: Revert "Work around a breaking change in pytest-timeout 2.5.0"
@ 2026-08-25 6:21 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-25 6:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-fastapi
Branch : rawhide
Commit : 7fd59ce3c87e601ced524e9b3e041501716eea4f
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-25T07:19:48+01:00
Stats : +0/-14 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-fastapi/c/7fd59ce3c87e601ced524e9b3e041501716eea4f?branch=rawhide
Log:
Revert "Work around a breaking change in pytest-timeout 2.5.0"
This reverts commit a23fcb3f9607ed4a673b5969d38d92d90f90ec30.
---
diff --git a/python-fastapi.spec b/python-fastapi.spec
index ccf8a8e..678fe81 100644
--- a/python-fastapi.spec
+++ b/python-fastapi.spec
@@ -17,12 +17,6 @@
%bcond strawberry_graphql 0
%bcond uvicorn 1
-# Work around a breaking change in pytest-timeout 2.5.0 (yanked from PyPI, but
-# still in Rawhide for now):
-# https://github.com/pytest-dev/pytest-timeout/issues/203
-# https://src.fedoraproject.org/rpms/python-pytest-timeout/pull-request/5
-%bcond pytest_timeout %[ 0%{?fedora} < 46 ]
-
Name: python-fastapi
Version: 0.141.1
Release: %autorelease
@@ -89,11 +83,7 @@ BuildRequires: %{py3_dist strawberry-graphql} >= 0.200
BuildRequires: %{py3_dist typer} >= 0.24.1
BuildRequires: %{py3_dist a2wsgi} >= 1.9
BuildRequires: %{py3_dist pytest-xdist[psutil]} >= 2.5
-%if %{with pytest_timeout}
BuildRequires: %{py3_dist pytest-timeout} >= 2.4
-%else
-BuildRequires: tomcli
-%endif
# This is still needed in the tests even if we do not have sqlmodel to bring it
# in as an indirect dependency.
BuildRequires: %{py3_dist sqlalchemy}
@@ -192,10 +182,6 @@ It makes sure the dependencies are installed.
%pyproject_patch_dependency uvicorn:ignore
%endif
-%if %{without pytest_timeout}
-tomcli set pyproject.toml del tool.pytest.timeout
-%endif
-
# Remove bundled js-termynal 0.0.1; since we are not building documentation, we
# do this very bluntly:
rm --recursive --verbose docs/*/docs/js docs/*/docs/css
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-25 6:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 6:21 [rpms/python-fastapi] rawhide: Revert "Work around a breaking change in pytest-timeout 2.5.0" Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox