public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jsonschema] 2488367: Avoid tomcli dependency
@ 2026-06-15  7:29 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-15  7:29 UTC (permalink / raw)
  To: git-commits

            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”

^ 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: Avoid tomcli dependency Yaakov Selkowitz

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