public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-ijson] rawhide: update to 3.5.0 fixes rhbz#2290986
@ 2026-07-08 19:17 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-08 19:17 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-ijson
            Branch : rawhide
            Commit : 5e9f4f810cc6e4ba993cf0fb9ac642fe8f36748d
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-25T23:20:33-03:00
            Stats  : +7/-5 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-ijson/c/5e9f4f810cc6e4ba993cf0fb9ac642fe8f36748d?branch=rawhide

            Log:
            update to 3.5.0 fixes rhbz#2290986

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index fe34393..0c341bf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /ijson-3.2.0.tar.gz
 /ijson-3.2.3.tar.gz
 /ijson-3.3.0.tar.gz
+/ijson-3.5.0.tar.gz

diff --git a/python-ijson.spec b/python-ijson.spec
index b83a055..f6ff219 100644
--- a/python-ijson.spec
+++ b/python-ijson.spec
@@ -1,11 +1,11 @@
 %global srcname ijson
 
 Name:           python-%{srcname}
-Version:        3.3.0
+Version:        3.5.0
 Release:        %autorelease
 Summary:        Iterative JSON parser
 
-License:        BSD-3-Clause
+License:        BSD-3-Clause AND ISC
 URL:            https://github.com/ICRAR/ijson
 Source0:        %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
 
@@ -25,6 +25,7 @@ Recommends:     python3dist(cffi)
 
 # Test dependencies
 BuildRequires:  python3dist(cffi)
+BuildRequires:  python3dist(pytest)
 
 %description -n python3-%{srcname} %_description
 
@@ -32,7 +33,7 @@ BuildRequires:  python3dist(cffi)
 %autosetup -n %{srcname}-%{version}
 
 # Disable tests for unsupported configurations.
-sed -i "s/\['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']/\['python', 'yajl2', 'yajl2_cffi']/" test/test_base.py
+sed -i "s/\['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']/\['python', 'yajl2', 'yajl2_cffi']/" tests/test_base.py
 
 %generate_buildrequires
 %pyproject_buildrequires
@@ -46,7 +47,7 @@ sed -i "s/\['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']/\['python', 'yaj
 
 %check
 %pyproject_check_import -e "ijson.backends.yajl*"
-PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD %{python3} -m unittest discover
+%pytest
 
 %files -n python3-%{srcname} -f %{pyproject_files}
 %doc README.rst

diff --git a/sources b/sources
index 11af24d..ce2eead 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ijson-3.3.0.tar.gz) = d2f54d4dae25328b2173f0e0f5c83853c77f59ce5f133ca21f4d06b18e62517aafe9062c027b054a98e84d889656956f79f27c1b9b173360ab20c1af85c22f1d
+SHA512 (ijson-3.5.0.tar.gz) = 8791811b73ced0b06baa2426890f9ee85406874c87cbdb77a619c72a8fecd5d111eb4f55cdff0820fc09e46e78fd136e5f3274a2be96781e043dbd7616ee49f2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-08 19:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-08 19:17 [rpms/python-ijson] rawhide: update to 3.5.0 fixes rhbz#2290986 Filipe Rosset

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