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: De-conditionalize the tests
Date: Wed, 23 Sep 2026 06:18:48 GMT [thread overview]
Message-ID: <179014432815.1.16725387788868578030.rpms-python-lazy-loader-a4f28271e70e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-lazy-loader
Branch : epel10
Commit : a4f28271e70e7a5c5dae941b0e91591cb40e15ce
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-23T07:03:33+01:00
Stats : +1/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-lazy-loader/c/a4f28271e70e7a5c5dae941b0e91591cb40e15ce?branch=epel10
Log:
De-conditionalize the tests
---
diff --git a/python-lazy-loader.spec b/python-lazy-loader.spec
index 705d69b..ee8ac0b 100644
--- a/python-lazy-loader.spec
+++ b/python-lazy-loader.spec
@@ -1,5 +1,3 @@
-%bcond tests 1
-
Name: python-lazy-loader
Version: 0.5
Release: %autorelease
@@ -13,7 +11,6 @@ BuildArch: noarch
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: %{py3_dist pytest}
@@ -21,7 +18,6 @@ BuildRequires: %{py3_dist pytest}
# metadata, so we must BR them manually as well:
BuildRequires: %{py3_dist numpy}
BuildRequires: %{py3_dist scipy}
-%endif
%global common_description %{expand:
lazy-loader makes it easy to load subpackages and functions on demand.
@@ -83,11 +79,8 @@ tomcli set pyproject.toml str tool.pytest.ini_options.minversion 7.4.3
%check
-%if %{with tests}
-%pytest
-%else
%pyproject_check_import
-%endif
+%pytest
%files -n python3-lazy-loader -f %{pyproject_files}
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=179014432815.1.16725387788868578030.rpms-python-lazy-loader-a4f28271e70e@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