public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/python-jsonpatch] rawhide: Update to v1.38 - rhbz#2548598
Date: Sat, 31 Oct 2026 16:46:57 GMT [thread overview]
Message-ID: <179346521789.1.13354071578596742569.rpms-python-jsonpatch-02e12ac7dd22@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-jsonpatch
Branch : rawhide
Commit : 02e12ac7dd220293d0e898aed863e6a210c5bf9b
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-10-31T17:46:33+01:00
Stats : +3/-93 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-jsonpatch/c/02e12ac7dd220293d0e898aed863e6a210c5bf9b?branch=rawhide
Log:
Update to v1.38 - rhbz#2548598
---
diff --git a/.gitignore b/.gitignore
index b1ff115..1facea9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/jsonpatch-1.14.tar.gz
/jsonpatch-1.21.tar.gz
/jsonpatch-1.33.tar.gz
+/jsonpatch-1.38.tar.gz
diff --git a/0001-Skip-unit-test-in-packaging.patch b/0001-Skip-unit-test-in-packaging.patch
deleted file mode 100644
index 5f03e5c..0000000
--- a/0001-Skip-unit-test-in-packaging.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 5bf37e237694ac7bf028f9129561d1265fd95621 Mon Sep 17 00:00:00 2001
-From: Alfredo Moralejo <amoralej@redhat.com>
-Date: Tue, 6 Feb 2018 16:57:17 +0000
-Subject: [PATCH] Skip unit test in packaging
-
-Tarball from pypy does not provides tests.js file.
----
- tests.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tests.py b/tests.py
-index 548d28b..0386e29 100755
---- a/tests.py
-+++ b/tests.py
-@@ -13,6 +13,7 @@ import sys
-
- class ApplyPatchTestCase(unittest.TestCase):
-
-+ @unittest.skip("Skipping in packaging")
- def test_js_file(self):
- with open('./tests.js', 'r') as f:
- tests = json.load(f)
---
-1.8.3.1
-
diff --git a/159.patch b/159.patch
deleted file mode 100644
index d82c97a..0000000
--- a/159.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From c54b939576d604f240d652de350def810f6f4748 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
-Date: Wed, 13 Mar 2024 16:55:53 +0100
-Subject: [PATCH] Avoid usage of unittest.makeSuite, removed from Python 3.13
-
-Patch generated by:
-
- sed -i 's/unittest.makeSuite/unittest.defaultTestLoader.loadTestsFromTestCase/g' $(grep -rl makeSuite)
----
- ext_tests.py | 2 +-
- tests.py | 24 ++++++++++++------------
- 2 files changed, 13 insertions(+), 13 deletions(-)
-
-diff --git a/ext_tests.py b/ext_tests.py
-index 1fd8d8f..94fef6c 100755
---- a/ext_tests.py
-+++ b/ext_tests.py
-@@ -98,7 +98,7 @@ def get_suite(filenames):
- # we use the (potentially) patched version of json.load here
- tests = jsonpatch.json.load(f)
- cls = make_test_case(tests)
-- suite.addTest(unittest.makeSuite(cls))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(cls))
-
- return suite
-
-diff --git a/tests.py b/tests.py
-index d9eea92..d9210ee 100755
---- a/tests.py
-+++ b/tests.py
-@@ -1048,18 +1048,18 @@ class JsonPatch(jsonpatch.JsonPatch):
- def get_suite():
- suite = unittest.TestSuite()
- suite.addTest(doctest.DocTestSuite(jsonpatch))
-- suite.addTest(unittest.makeSuite(ApplyPatchTestCase))
-- suite.addTest(unittest.makeSuite(EqualityTestCase))
-- suite.addTest(unittest.makeSuite(MakePatchTestCase))
-- suite.addTest(unittest.makeSuite(ListTests))
-- suite.addTest(unittest.makeSuite(InvalidInputTests))
-- suite.addTest(unittest.makeSuite(ConflictTests))
-- suite.addTest(unittest.makeSuite(OptimizationTests))
-- suite.addTest(unittest.makeSuite(JsonPointerTests))
-- suite.addTest(unittest.makeSuite(JsonPatchCreationTest))
-- suite.addTest(unittest.makeSuite(UtilityMethodTests))
-- suite.addTest(unittest.makeSuite(CustomJsonPointerTests))
-- suite.addTest(unittest.makeSuite(CustomOperationTests))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(ApplyPatchTestCase))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(EqualityTestCase))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(MakePatchTestCase))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(ListTests))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(InvalidInputTests))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(ConflictTests))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(OptimizationTests))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(JsonPointerTests))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(JsonPatchCreationTest))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(UtilityMethodTests))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(CustomJsonPointerTests))
-+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(CustomOperationTests))
- return suite
-
-
diff --git a/python-jsonpatch.spec b/python-jsonpatch.spec
index ac39af8..fe13260 100644
--- a/python-jsonpatch.spec
+++ b/python-jsonpatch.spec
@@ -1,18 +1,13 @@
%global pypi_name jsonpatch
Name: python-%{pypi_name}
-Version: 1.33
+Version: 1.38
Release: %autorelease
Summary: Applying JSON Patches in Python
License: BSD-3-Clause
URL: https://github.com/stefankoegl/python-json-patch
Source0: https://pypi.io/packages/source/j/jsonpatch/%{pypi_name}-%{version}.tar.gz
-# tarball from pypi does not include file tests.js required for a specific test.
-# upstream issue https://github.com/stefankoegl/python-json-patch/issues/82
-Patch0: 0001-Skip-unit-test-in-packaging.patch
-# Avoid usage of unittest.makeSuite, removed from Python 3.13
-Patch1: https://github.com/stefankoegl/python-json-patch/pull/159.patch
BuildArch: noarch
diff --git a/sources b/sources
index 1547369..5960c51 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jsonpatch-1.33.tar.gz) = a0f56e82cc5a0d9d76680489ba8eec122378d6322c83d8e97c7276df9b32bc7735bec69d6ed9ed2e139f016b127e47eeb4a948b1394fd31079f19b390bbbc50b
+SHA512 (jsonpatch-1.38.tar.gz) = 58443fc1a60569207c02ad1628df46f1c096097233d728afcd25cad3677d335024ee2ba7a6621febfd2b5afbd082a36ca58741203d0f5883fd6463e0b871f90b
reply other threads:[~2026-10-31 16:46 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=179346521789.1.13354071578596742569.rpms-python-jsonpatch-02e12ac7dd22@fedoraproject.org \
--to=steve.traylen@cern.ch \
--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