public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-jsonschema] 2488367: Avoid tomcli dependency
Date: Mon, 15 Jun 2026 07:29:59 GMT	[thread overview]
Message-ID: <178150859905.1.12891222119496380465.rpms-python-jsonschema-f443edeffc31@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-jsonschema
            Branch : 2488367
            Commit : f443edeffc31b5305ee4b2f849dae8e00088af3f
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-03-22T02:09:20-04:00
            Stats  : +5/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-jsonschema/c/f443edeffc31b5305ee4b2f849dae8e00088af3f?branch=2488367

            Log:
            Avoid tomcli dependency

jsonschema is in RHEL but tomcli is not; a simple sed will accomplish the
same thing here.

---
diff --git a/python-jsonschema.spec b/python-jsonschema.spec
index 7051a2d..78a2681 100644
--- a/python-jsonschema.spec
+++ b/python-jsonschema.spec
@@ -12,14 +12,13 @@ jsonschema is an implementation of JSON Schema for Python (supporting
 Name:           python-%{pypi_name}
 Summary:        Implementation of JSON Schema validation for Python
 Version:        4.26.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        MIT
 URL:            https://github.com/Julian/jsonschema
 Source0:        %{pypi_source}
 
 BuildArch:      noarch
 BuildRequires:  python3-devel
-BuildRequires:  tomcli
 
 # test requirements
 %bcond tests %{undefined rhel}
@@ -48,7 +47,7 @@ rm jsonschema/tests/test_jsonschema_test_suite.py
 
 # Test dependency on (python-)virtue would only be required if we used nox to
 # run the tests.
-tomcli set pyproject.toml lists delitem dependency-groups.test virtue
+sed -i -e 's|"virtue",||' pyproject.toml
 
 %generate_buildrequires
 %pyproject_buildrequires %{?with_tests:-g test}
@@ -73,6 +72,9 @@ tomcli set pyproject.toml lists delitem dependency-groups.test virtue
 %{_bindir}/jsonschema
 
 %changelog
+* Sun Mar 22 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 4.26.0-2
+- Avoid tomcli dependency
+
 * 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”

                 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=178150859905.1.12891222119496380465.rpms-python-jsonschema-f443edeffc31@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --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