diff --git a/python-python-rapidjson.changes b/python-python-rapidjson.changes index 6c9185e..2b70daf 100644 --- a/python-python-rapidjson.changes +++ b/python-python-rapidjson.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Nov 18 04:18:48 UTC 2025 - Steve Kowalik + +- Update to 1.22: + * Rectify type hints of loads() and Decoder.__call__() + * Ensure Validator receives valid UTF-8 bytes/bytearray arguments + * Recompute comparison table with latest versions of other libraries, using + Python 3.13 + * Typing stubs: specify default value for stream argument of + Encoder.__call__() +- Refreshed rapidjson-system.patch + ------------------------------------------------------------------- Thu Jun 20 12:41:52 UTC 2024 - Dirk Müller diff --git a/python-python-rapidjson.spec b/python-python-rapidjson.spec index d9ffadf..6a5a2dc 100644 --- a/python-python-rapidjson.spec +++ b/python-python-rapidjson.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-rapidjson # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define rjversion 1.1.0+git20211015.4d6cb081 %{?sle15_python_module_pythons} Name: python-python-rapidjson -Version: 1.17 +Version: 1.22 Release: 0 Summary: Python wrapper around rapidjson License: MIT @@ -63,6 +63,7 @@ export LANG=en_US.UTF-8 %doc CHANGES.rst README.rst %license LICENSE %{python_sitearch}/rapidjson.*.so +%{python_sitearch}/rapidjson-stubs %{python_sitearch}/python_rapidjson-%{version}.dist-info %changelog diff --git a/python-rapidjson-1.17.tar.gz b/python-rapidjson-1.17.tar.gz deleted file mode 100644 index b5e1317..0000000 --- a/python-rapidjson-1.17.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab836acaef05880fd4005eff7bdaa6d672262b0e2c797828eab23ec31f904f38 -size 1053262 diff --git a/python-rapidjson-1.22.tar.gz b/python-rapidjson-1.22.tar.gz new file mode 100644 index 0000000..131b0fd --- /dev/null +++ b/python-rapidjson-1.22.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf4b82d1c0d8d760ba96625cf2388f7eecd42b5e53c40a7e4bd9f26fe425c3be +size 1057439 diff --git a/rapidjson-system.patch b/rapidjson-system.patch index 7788464..58b840d 100644 --- a/rapidjson-system.patch +++ b/rapidjson-system.patch @@ -1,8 +1,8 @@ -Index: python-rapidjson-0.7.1/setup.py +Index: python-rapidjson-1.22/setup.py =================================================================== ---- python-rapidjson-0.7.1.orig/setup.py -+++ python-rapidjson-0.7.1/setup.py -@@ -29,19 +29,7 @@ if sys.version_info < (3,): +--- python-rapidjson-1.22.orig/setup.py ++++ python-rapidjson-1.22/setup.py +@@ -29,19 +29,7 @@ if sys.version_info < (3, 6): ROOT_PATH = os.path.abspath(os.path.dirname(__file__)) @@ -21,5 +21,5 @@ Index: python-rapidjson-0.7.1/setup.py - " want to report the issue.") +rj_include_dir = '/usr/include/rapidjson' - with open('version.txt', encoding='utf-8') as f: - VERSION = f.read() + # Automatically updated by bump-my-version at release time + VERSION = '1.22'