public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-openapi-core] rawhide: Use %pyproject_patch_dependency for removing the FastAPI version upper bound
@ 2026-06-03 20:15 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-03 20:15 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-openapi-core
Branch : rawhide
Commit : ae5b244d6c03d3682a88f8ca5a77aa5a074d07b2
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-03T20:51:25+01:00
Stats  : +1/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-openapi-core/c/ae5b244d6c03d3682a88f8ca5a77aa5a074d07b2?branch=rawhide

Log:
Use %pyproject_patch_dependency for removing the FastAPI version upper bound

---
diff --git a/python-openapi-core.spec b/python-openapi-core.spec
index b54424d..f4ee32a 100644
--- a/python-openapi-core.spec
+++ b/python-openapi-core.spec
@@ -53,10 +53,7 @@ Summary:        %{summary}
 sed -r -i '/^--cov[-=]/d' pyproject.toml
 # We cannot respect a SemVer or version range pin on FastAPI; it updates
 # frequently, with usually-tiny breaking changes.
-sed -r -i \
-    -e 's/(fastapi = \{version = ")\^/\1>=/' \
-    -e 's/(fastapi = \{version = ".*),<[^"]+/\1/' \
-    pyproject.toml
+%pyproject_patch_dependency fastapi:drop_upper
 # Erroring on DeprecationWarnings makes sense upstream, but is probably too
 # strict for distribution packaging.
 #

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-03 20:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03 20:15 [rpms/python-openapi-core] rawhide: Use %pyproject_patch_dependency for removing the FastAPI version upper bound 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