public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-fastapi] rawhide: Revert "Work around a breaking change in pytest-timeout 2.5.0"
Date: Tue, 25 Aug 2026 06:21:47 GMT [thread overview]
Message-ID: <178763890708.1.7889631099085970873.rpms-python-fastapi-7fd59ce3c87e@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-25 6:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178763890708.1.7889631099085970873.rpms-python-fastapi-7fd59ce3c87e@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox