public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-fastapi] rawhide: Update to 0.137.0 upstream release
@ 2026-06-15  8:48 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-15  8:48 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-fastapi
            Branch : rawhide
            Commit : 0e5c4c7c35bbef7ac28c43d0ac5ceb907b247a2d
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-06-15T07:11:35+01:00
            Stats  : +5/-64 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-fastapi/c/0e5c4c7c35bbef7ac28c43d0ac5ceb907b247a2d?branch=rawhide

            Log:
            Update to 0.137.0 upstream release

- Resolves: rhbz#2488750

Upstream tag: 0.137.0
Upstream commit: 9a9c4ad5

Commit co-authored by Packit automation (https://packit.dev/)

---
diff --git a/.gitignore b/.gitignore
index d72b175..7b61070 100644
--- a/.gitignore
+++ b/.gitignore
@@ -145,3 +145,4 @@
 /fastapi-0.136.0.tar.gz
 /fastapi-0.136.1.tar.gz
 /fastapi-0.136.3.tar.gz
+/fastapi-0.137.0.tar.gz

diff --git a/README.packit b/README.packit
index eb5cf90..4e76cbe 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
 This repository is maintained by packit.
 https://packit.dev/
-The file was generated using packit 1.16.0.post1.dev2+ged481c62d.
+The file was generated using packit 1.16.0.post1.dev8+g8a0482385.

diff --git a/fastapi-0.136.3-httpx2.patch b/fastapi-0.136.3-httpx2.patch
deleted file mode 100644
index 5b0c028..0000000
--- a/fastapi-0.136.3-httpx2.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff --git a/tests/test_tutorial/test_header_param_models/test_tutorial001.py b/tests/test_tutorial/test_header_param_models/test_tutorial001.py
-index 8391bd1197da8..cc274cd64dce4 100644
---- a/tests/test_tutorial/test_header_param_models/test_tutorial001.py
-+++ b/tests/test_tutorial/test_header_param_models/test_tutorial001.py
-@@ -1,6 +1,7 @@
- import importlib
- 
- import pytest
-+from dirty_equals import IsOneOf
- from fastapi.testclient import TestClient
- from inline_snapshot import snapshot
- 
-@@ -68,7 +69,9 @@ def test_header_param_model_invalid(client: TestClient):
-                         "x_tag": [],
-                         "host": "testserver",
-                         "accept": "*/*",
--                        "accept-encoding": "gzip, deflate",
-+                        "accept-encoding": IsOneOf(
-+                            "gzip, deflate", "gzip, deflate, zstd"
-+                        ),
-                         "connection": "keep-alive",
-                         "user-agent": "testclient",
-                     },
-diff --git a/tests/test_tutorial/test_header_param_models/test_tutorial003.py b/tests/test_tutorial/test_header_param_models/test_tutorial003.py
-index 7d0da24fd5791..de2fb87ec6cf0 100644
---- a/tests/test_tutorial/test_header_param_models/test_tutorial003.py
-+++ b/tests/test_tutorial/test_header_param_models/test_tutorial003.py
-@@ -1,6 +1,7 @@
- import importlib
- 
- import pytest
-+from dirty_equals import IsOneOf
- from fastapi.testclient import TestClient
- from inline_snapshot import snapshot
- 
-@@ -66,7 +67,9 @@ def test_header_param_model_no_underscore(client: TestClient):
-                         "traceparent": "123",
-                         "x_tag": [],
-                         "accept": "*/*",
--                        "accept-encoding": "gzip, deflate",
-+                        "accept-encoding": IsOneOf(
-+                            "gzip, deflate", "gzip, deflate, zstd"
-+                        ),
-                         "connection": "keep-alive",
-                         "user-agent": "testclient",
-                         "save-data": "true",
-@@ -105,7 +108,9 @@ def test_header_param_model_invalid(client: TestClient):
-                         "x_tag": [],
-                         "host": "testserver",
-                         "accept": "*/*",
--                        "accept-encoding": "gzip, deflate",
-+                        "accept-encoding": IsOneOf(
-+                            "gzip, deflate", "gzip, deflate, zstd"
-+                        ),
-                         "connection": "keep-alive",
-                         "user-agent": "testclient",
-                     },

diff --git a/python-fastapi.spec b/python-fastapi.spec
index ff2df06..056222a 100644
--- a/python-fastapi.spec
+++ b/python-fastapi.spec
@@ -18,7 +18,7 @@
 %bcond uvicorn 1
 
 Name:           python-fastapi
-Version:        0.136.3
+Version:        0.137.0
 Release:        %autorelease
 Summary:        FastAPI framework
 
@@ -43,10 +43,6 @@ BuildArch:      noarch
 # Downstream-only: run test_fastapi_cli without coverage
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
 Patch:          0001-Downstream-only-run-test_fastapi_cli-without-coverag.patch
-# Update a couple of tests in tests/test_tutorial/test_header_param_models for
-# httpx2; backported from
-# https://github.com/fastapi/fastapi/commit/59d4a80fcf8a7b3a46b2560f75dc0d171e7ea8ff.
-Patch:          fastapi-0.136.3-httpx2.patch
 
 # Since dependency groups contain overly-strict version bounds and some
 # unwanted linting/coverage/typechecking/formatting dependencies
@@ -86,6 +82,7 @@ BuildRequires:  %{py3_dist sqlmodel} >= 0.0.31
 %if %{with strawberry_graphql}
 BuildRequires:  %{py3_dist strawberry-graphql} >= 0.200
 %endif
+BuildRequires:  %{py3_dist typer} >= 0.24.1
 BuildRequires:  %{py3_dist a2wsgi} >= 1.9
 BuildRequires:  %{py3_dist pytest-xdist[psutil]} >= 2.5
 BuildRequires:  %{py3_dist pytest-timeout} >= 2.4

diff --git a/sources b/sources
index d8b800b..ff74d71 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fastapi-0.136.3.tar.gz) = 43a3b1d255e400bd5eefd9abf25dd4f49660be76302ee37f6700041218ec2db9a996c745170f91278dcb8045f8ec74357ac21906cf23ad0057bfa415e7dc3415
+SHA512 (fastapi-0.137.0.tar.gz) = 4324b4c341311603633d210da7a5e621b238ee3a63d6f67b97ed7d165d9bdee28fd89a334afaad5eb68c584d997fb62cb6174fd897b19a57505b2106c9a7df92

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15  8:48 [rpms/python-fastapi] rawhide: Update to 0.137.0 upstream release 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