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-lazy-loader] epel10: Update to 0.5 (close RHBZ#2444939)
Date: Wed, 23 Sep 2026 06:18:46 GMT [thread overview]
Message-ID: <179014432673.1.5764265293033423615.rpms-python-lazy-loader-28a2f156e2a1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-lazy-loader
Branch : epel10
Commit : 28a2f156e2a1b95e6119a4ef6336cc2cb39f4d65
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-23T07:01:00+01:00
Stats : +32/-6 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-lazy-loader/c/28a2f156e2a1b95e6119a4ef6336cc2cb39f4d65?branch=epel10
Log:
Update to 0.5 (close RHBZ#2444939)
- Adapt for EPEL10
---
diff --git a/.gitignore b/.gitignore
index 52b9670..4dcde9d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/lazy_loader-0.2.tar.gz
/lazy_loader-0.3.tar.gz
/lazy_loader-0.4.tar.gz
+/lazy_loader-0.5.tar.gz
diff --git a/python-lazy-loader.spec b/python-lazy-loader.spec
index 69b427f..9bf9c16 100644
--- a/python-lazy-loader.spec
+++ b/python-lazy-loader.spec
@@ -1,26 +1,27 @@
%bcond tests 1
Name: python-lazy-loader
-Version: 0.4
+Version: 0.5
Release: %autorelease
Summary: Populate library namespace without incurring immediate import costs
License: BSD-3-Clause
-URL: https://github.com/scientific-python/lazy_loader
+URL: https://github.com/scientific-python/lazy-loader
Source: %{pypi_source lazy_loader}
BuildArch: noarch
BuildRequires: python3-devel
+BuildRequires: tomcli
%if %{with tests}
# The “test” extra includes unwanted linters, etc.; we manually BR pytest
# rather than patching out all the others from pyproject.toml.
-BuildRequires: python3dist(pytest)
+BuildRequires: %{py3_dist pytest}
# These are required for some of the tests, but are not captured in the
# metadata, so we must BR them manually as well:
-BuildRequires: python3dist(numpy)
-BuildRequires: python3dist(scipy)
+BuildRequires: %{py3_dist numpy}
+BuildRequires: %{py3_dist scipy}
%endif
%global common_description %{expand:
@@ -44,6 +45,30 @@ Summary: %{summary}
%prep
%autosetup -n lazy_loader-%{version}
+# EPEL10: Fix incompatibility with older setuptools.
+#
+# Upstream commit 21e5d04ba8574edec6fd27050c7dff04891eccda changed
+# license = {file = "LICENSE.md"}
+# to
+# license = "BSD-3-Clause"
+# in pyproject.toml, but our old setuptools complains:
+#
+# configuration error: `project.license` must be valid exactly by one
+# definition (2 matches found):
+#
+# - keys:
+# 'file': {type: string}
+# required: ['file']
+# - keys:
+# 'text': {type: string}
+# required: ['text']
+# We therefore programmatically revert this part of the change.
+tomcli set pyproject.toml del project.license
+tomcli set pyproject.toml str project.license.file LICENSE.md
+
+# EPEL10: Try to work with the pytest version we have. (Upstream wants 8.0.)
+tomcli set pyproject.toml str tool.pytest.ini_options.minversion 7.4.3
+
%generate_buildrequires
%pyproject_buildrequires
diff --git a/sources b/sources
index 5532c78..099a5cd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lazy_loader-0.4.tar.gz) = 29e3589929869351ea62cf7cbba86b581bd7935918b54cfd5ac107cbf7cc427d6d4e050ec1f9bef084587e55286d7afa31d5cdb6deb7d072d25493d19d6bbce6
+SHA512 (lazy_loader-0.5.tar.gz) = aca2a7a8901dadc2c20a5e23ae016b466dad541153c0f43ed20b57b375c6dc8279a324ea086ed2468e20655dd567a30f9275da7fd8664f6384296bdb739289b7
reply other threads:[~2026-09-23 6:18 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=179014432673.1.5764265293033423615.rpms-python-lazy-loader-28a2f156e2a1@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