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: Update to 1.7.0 upstream release
Date: Wed, 23 Sep 2026 10:12:16 GMT [thread overview]
Message-ID: <179015833676.1.11060817216872586671.rpms-python-starlette-b7cb12d9de59@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-starlette
Branch : rawhide
Commit : b7cb12d9de59b125cef6221be41d0cf8f5803a4e
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-23T10:36:08+01:00
Stats : +78/-5 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-starlette/c/b7cb12d9de59b125cef6221be41d0cf8f5803a4e?branch=rawhide
Log:
Update to 1.7.0 upstream release
- Resolves: rhbz#2512789
Upstream tag: 1.7.0
Upstream commit: 2269e9a0
Commit co-authored by Packit automation (https://packit.dev/)
---
diff --git a/3576.patch b/3576.patch
new file mode 100644
index 0000000..4453417
--- /dev/null
+++ b/3576.patch
@@ -0,0 +1,61 @@
+From dcc38ea531438c8f56ca52d9b62cca2ef926def0 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Wed, 23 Sep 2026 10:12:51 +0100
+Subject: [PATCH 1/2] Make it possible to run the tests without blockbuster
+
+---
+ tests/conftest.py | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/tests/conftest.py b/tests/conftest.py
+index 3aca866ea..e4ac90e21 100644
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -6,13 +6,19 @@
+ from typing import Any, Literal
+
+ import pytest
+-from blockbuster import BlockBuster, BlockBusterFunction
++
++try:
++ from blockbuster import BlockBuster, BlockBusterFunction
++except ImportError:
++ HAS_BLOCKBUSTER = False
++else:
++ HAS_BLOCKBUSTER = True
+
+ from starlette.testclient import TestClient
+ from tests.types import TestClientFactory
+
+
+-@pytest.fixture(autouse=True)
++@pytest.fixture(autouse=HAS_BLOCKBUSTER)
+ def blockbuster() -> Iterator[None]:
+ bb = BlockBuster("starlette")
+ if sys.version_info >= (3, 15): # pragma: no cover - Requires Python 3.15 or newer.
+
+From 97b653725092411a192bb6659df88b7615fbb70f Mon Sep 17 00:00:00 2001
+From: Marcelo Trylesinski <marcelotryle@gmail.com>
+Date: Wed, 23 Sep 2026 11:26:40 +0200
+Subject: [PATCH 2/2] Apply suggestion from @cubic-dev-ai[bot]
+
+Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
+---
+ tests/conftest.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/conftest.py b/tests/conftest.py
+index e4ac90e21..7f3d81f96 100644
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -9,8 +9,8 @@
+
+ try:
+ from blockbuster import BlockBuster, BlockBusterFunction
+-except ImportError:
+- HAS_BLOCKBUSTER = False
++except ImportError: # pragma: no cover - Requires the `dev` dependency group.
++ HAS_BLOCKBUSTER = False # pragma: no cover
+ else:
+ HAS_BLOCKBUSTER = True
+
diff --git a/README.packit b/README.packit
index ef5aa9d..41bc266 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.2.post1.dev6+g30936cda7.
+The file was generated using packit 1.16.3.post1.dev11+g14b012ef4.
diff --git a/python-starlette.spec b/python-starlette.spec
index ba2fdf3..91cd74d 100644
--- a/python-starlette.spec
+++ b/python-starlette.spec
@@ -1,11 +1,16 @@
Name: python-starlette
-Version: 1.6.0
+Version: 1.7.0
Release: %autorelease
Summary: The little ASGI library that shines
License: BSD-3-Clause
URL: https://www.starlette.io/
-Source: https://github.com/encode/starlette/archive/%{version}/starlette-%{version}.tar.gz
+%global forgeurl https://github.com/encode/starlette
+Source: %{forgeurl}/archive/%{version}/starlette-%{version}.tar.gz
+
+# Make it possible to run the tests without blockbuster
+# https://github.com/Kludex/starlette/pull/3576
+Patch: %{forgeurl}/pull/3576.patch
BuildSystem: pyproject
BuildOption(generate_buildrequires): --extras full
@@ -21,6 +26,8 @@ BuildRequires: %{py3_dist httpx2[zstd]}
BuildRequires: %{py3_dist pytest}
BuildRequires: %{py3_dist trio}
BuildRequires: %{py3_dist typing_extensions}
+# For blockbuster, see https://github.com/cbornet/blockbuster/issues/46 for why
+# we would prefer not to package it.
%global common_description %{expand:
Starlette is a lightweight ASGI framework/toolkit, which is ideal for building
@@ -54,7 +61,12 @@ Summary: %{summary}
%check -a
-%pytest --verbose
+# Requires python3dist(opentelemetry-sdk), formerly built from
+# https://src.fedoraproject.org/rpms/python-opentelemetry, now retired and
+# neither simple nor pleasant to bring back.
+ignore="${ignore-} --ignore=tests/middleware/test_opentelemetry.py"
+
+%pytest ${ignore-} --verbose
%files -n python3-starlette -f %{pyproject_files}
diff --git a/sources b/sources
index c5fd9b5..264b6e0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (starlette-1.6.0.tar.gz) = b415a5fde7572a1ee1965c7fdaeb0cb5a9b5f7ab8471f3085de730141f531302e7eb0fb61546c65af54f7d8a7a5a49ff2e2f03b544b99358dcaa499082b5d3bd
+SHA512 (starlette-1.7.0.tar.gz) = cb599db97c50a75a343ed264c9296900db76b3677e3149938b33c457c6190a3493506d016d66db03adb1f7bc74980dda28b19cb02034fd590762848dacbc5924
reply other threads:[~2026-09-23 10:12 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=179015833676.1.11060817216872586671.rpms-python-starlette-b7cb12d9de59@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