public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-lazy-loader] epel10: De-conditionalize the tests
@ 2026-09-23  6:18 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-23  6:18 UTC (permalink / raw)
  To: git-commits

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}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-23  6:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23  6:18 [rpms/python-lazy-loader] epel10: De-conditionalize the tests Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox