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-starlette] rawhide: Follow upstream in testing with python-httpx2, now that we have it
Date: Wed, 03 Jun 2026 09:26:14 GMT [thread overview]
Message-ID: <178047877439.1.12714831665795754385.rpms-python-starlette-6fb7f63b2c57@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-starlette
Branch : rawhide
Commit : 6fb7f63b2c57b161c559ccbdaab519af6be369ed
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-06-03T10:25:50+01:00
Stats : +3/-35 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-starlette/c/6fb7f63b2c57b161c559ccbdaab519af6be369ed?branch=rawhide
Log:
Follow upstream in testing with python-httpx2, now that we have it
---
diff --git a/python-starlette-1.2.0-PR3295-undo.patch b/python-starlette-1.2.0-PR3295-undo.patch
deleted file mode 100644
index 44b7188..0000000
--- a/python-starlette-1.2.0-PR3295-undo.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur python-starlette-1.2.0-orig/tests/test_requests.py python-starlette-1.2.0/tests/test_requests.py
---- python-starlette-1.2.0-orig/tests/test_requests.py 2026-05-28 07:36:57.000000000 -0400
-+++ python-starlette-1.2.0/tests/test_requests.py 2026-05-28 13:13:35.414490586 -0400
-@@ -58,7 +58,7 @@
- "headers": {
- "host": "example.org",
- "user-agent": "testclient",
-- "accept-encoding": "gzip, deflate, zstd",
-+ "accept-encoding": "gzip, deflate",
- "accept": "*/*",
- "connection": "keep-alive",
- }
-diff -Naur python-starlette-1.2.0-orig/tests/test_websockets.py python-starlette-1.2.0/tests/test_websockets.py
---- python-starlette-1.2.0-orig/tests/test_websockets.py 2026-05-28 07:36:57.000000000 -0400
-+++ python-starlette-1.2.0/tests/test_websockets.py 2026-05-28 13:13:35.414800795 -0400
-@@ -91,7 +91,7 @@
- with client.websocket_connect("/") as websocket:
- expected_headers = {
- "accept": "*/*",
-- "accept-encoding": "gzip, deflate, zstd",
-+ "accept-encoding": "gzip, deflate",
- "connection": "upgrade",
- "host": "testserver",
- "user-agent": "testclient",
diff --git a/python-starlette.spec b/python-starlette.spec
index 1ec1a71..61fcf22 100644
--- a/python-starlette.spec
+++ b/python-starlette.spec
@@ -7,25 +7,17 @@ License: BSD-3-Clause
URL: https://www.starlette.io/
Source: https://github.com/encode/starlette/archive/%{version}/starlette-%{version}.tar.gz
-# Since https://github.com/Kludex/starlette/pull/3291, Starlette prefers
-# httpx2, a maintained fork of httpx by the Pydantic people, when it is
-# available. Once we have a python-httpx2 package, we can update the
-# BuildRequires accordingly. Until then, we (downstream-only) revert the part
-# of https://github.com/Kludex/starlette/pull/3295 that adjusted test
-# expectations around the accept-encoding header to match httpx2.
-Patch: python-starlette-1.2.0-PR3295-undo.patch
-
BuildSystem: pyproject
BuildOption(generate_buildrequires): --extras full
BuildOption(install): --assert-license starlette
BuildArch: noarch
-# The file requirements.txt pins exact versions and contains many unwanted
+# The “dev” dependency group pins exact versions and contains many unwanted
# dependencies, e.g. linters and typecheckers (see
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters).
-# It’s easier to maintain BuildRequires for testing manually than to heavily
-# patch or process the requirements file.
+# It’s easier to maintain BuildRequires for testing manually.
+BuildRequires: %{py3_dist httpx2[zstd]}
BuildRequires: %{py3_dist pytest}
BuildRequires: %{py3_dist trio}
BuildRequires: %{py3_dist typing_extensions}
reply other threads:[~2026-06-03 9:26 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=178047877439.1.12714831665795754385.rpms-python-starlette-6fb7f63b2c57@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