public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jsonschema] 2488367: Improve test execution; always run an import-only “smoke test”
@ 2026-06-15 7:29 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-15 7:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-jsonschema
Branch : 2488367
Commit : 5d2982aea37621ef972c350c3eb0fc0df87b0367
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-03-03T06:49:15+00:00
Stats : +4/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-jsonschema/c/5d2982aea37621ef972c350c3eb0fc0df87b0367?branch=2488367
Log:
Improve test execution; always run an import-only “smoke test”
---
diff --git a/python-jsonschema.spec b/python-jsonschema.spec
index 3cd239e..7051a2d 100644
--- a/python-jsonschema.spec
+++ b/python-jsonschema.spec
@@ -61,9 +61,10 @@ tomcli set pyproject.toml lists delitem dependency-groups.test virtue
%pyproject_save_files %{pypi_name}
-%if %{with tests}
%check
-PYTHONPATH=%{buildroot}%{python3_sitelib} trial-3 %{pypi_name}
+%pyproject_check_import -e '*.benchmarks*' -e '*.tests*'
+%if %{with tests}
+%{py3_test_envvars} trial-3 %{pypi_name}
%endif
%files -n python3-%{pypi_name} -f %{pyproject_files}
@@ -74,6 +75,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} trial-3 %{pypi_name}
%changelog
* Tue Mar 03 2026 Benjamin A. Beasley <code@musicinmybrain.net> - 4.26.0-1
- Update to 4.26.0 (close RHBZ#2247079)
+- Improve test execution; always run an import-only “smoke test”
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.23.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 7:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 7:29 [rpms/python-jsonschema] 2488367: Improve test execution; always run an import-only “smoke test” 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