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-jsonschema] 2488367: Improve test execution; always run an import-only “smoke test”
Date: Mon, 15 Jun 2026 07:29:58 GMT	[thread overview]
Message-ID: <178150859859.1.2984999838754128836.rpms-python-jsonschema-5d2982aea376@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-15  7:29 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=178150859859.1.2984999838754128836.rpms-python-jsonschema-5d2982aea376@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