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-urllib3] f43: Use pyproject long options
Date: Sat, 19 Sep 2026 07:36:40 GMT [thread overview]
Message-ID: <178980340081.1.15888783256362638479.rpms-python-urllib3-b8bf824e476d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-urllib3
Branch : f43
Commit : b8bf824e476d77b8eb78831165980ebbd2da7777
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-19T08:31:17+01:00
Stats : +7/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-urllib3/c/b8bf824e476d77b8eb78831165980ebbd2da7777?branch=f43
Log:
Use pyproject long options
[skip changelog]
---
diff --git a/python-urllib3.spec b/python-urllib3.spec
index 1c33168..2ab777b 100644
--- a/python-urllib3.spec
+++ b/python-urllib3.spec
@@ -143,7 +143,7 @@ tomcli set pyproject.toml lists replace --type regex_search \
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
# Generate BR’s from packaged extras even when tests are disabled, to ensure
# the extras metapackages are installable if the build succeeds.
-%pyproject_buildrequires %{?with_extradeps:-x brotli,zstd,socks,h2} %{?with_tests:-g dev}
+%pyproject_buildrequires %{?with_extradeps:--extras brotli,zstd,socks,h2} %{?with_tests:--dependency-groups dev}
%build
@@ -154,7 +154,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
%install
%pyproject_install
-%pyproject_save_files -l urllib3
+%pyproject_save_files --assert-license urllib3
%check
@@ -164,11 +164,11 @@ export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
# urllib3.contrib.ntlmpool is deprecated and requires ntlm
# urllib3.contrib.securetransport is macOS only
# urllib3.contrib.pyopenssl requires pyOpenSSL
-%{pyproject_check_import %{!?with_extradeps:-e urllib3.contrib.socks -e urllib3.http2*}
- -e urllib3.contrib.emscripten*
- -e urllib3.contrib.ntlmpool
- -e urllib3.contrib.securetransport
- -e urllib3.contrib.pyopenssl}
+%{pyproject_check_import %{!?with_extradeps:-e urllib3.contrib.socks --exclude urllib3.http2*}
+ --exclude urllib3.contrib.emscripten*
+ --exclude urllib3.contrib.ntlmpool
+ --exclude urllib3.contrib.securetransport
+ --exclude urllib3.contrib.pyopenssl}
# Increase the “long timeout” for slower environments; as of this writing, it
# is increased from 0.1 to 0.5 second.
reply other threads:[~2026-09-19 7:36 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=178980340081.1.15888783256362638479.rpms-python-urllib3-b8bf824e476d@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