Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-rapidjson for
openSUSE:Factory checked in at 2022-10-31 12:15:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-rapidjson (Old)
and /work/SRC/openSUSE:Factory/.python-python-rapidjson.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-rapidjson"
Mon Oct 31 12:15:16 2022 rev:9 rq:1032446 version:1.9
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-rapidjson/python-python-rapidjson.changes
2022-10-08 01:25:45.246302467 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-rapidjson.new.2275/python-python-rapidjson.changes
2022-10-31 12:15:17.906384273 +0100
@@ -1,0 +2,6 @@
+Fri Oct 28 20:41:04 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to 1.9
+ * Produce Python 3.11 wheels, thanks to cibuildwheel 2.11.1.
+
+-------------------------------------------------------------------
Old:
----
python-rapidjson-1.8.tar.gz
New:
----
python-rapidjson-1.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-rapidjson.spec ++++++
--- /var/tmp/diff_new_pack.p4oqTN/_old 2022-10-31 12:15:18.450386827 +0100
+++ /var/tmp/diff_new_pack.p4oqTN/_new 2022-10-31 12:15:18.454386846 +0100
@@ -21,7 +21,7 @@
# check git submodule and update devel:libraries:c_c++/rapidjson
%define rjversion 1.1.0+git20211015.4d6cb081
Name: python-python-rapidjson
-Version: 1.8
+Version: 1.9
Release: 0
Summary: Python wrapper around rapidjson
License: MIT
++++++ python-rapidjson-1.8.tar.gz -> python-rapidjson-1.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-rapidjson-1.8/.github/workflows/main.yml
new/python-rapidjson-1.9/.github/workflows/main.yml
--- old/python-rapidjson-1.8/.github/workflows/main.yml 2022-07-07
07:21:46.000000000 +0200
+++ new/python-rapidjson-1.9/.github/workflows/main.yml 2022-10-17
08:30:59.000000000 +0200
@@ -111,7 +111,7 @@
name: Set up QEMU
- name: Build wheels
- uses: pypa/[email protected]
+ uses: pypa/[email protected]
env:
CIBW_ARCHS_LINUX: ${{matrix.arch}}
CIBW_TEST_REQUIRES: "pytest pytest-benchmark pytz"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-rapidjson-1.8/CHANGES.rst
new/python-rapidjson-1.9/CHANGES.rst
--- old/python-rapidjson-1.8/CHANGES.rst 2022-07-07 07:21:46.000000000
+0200
+++ new/python-rapidjson-1.9/CHANGES.rst 2022-10-17 08:30:59.000000000
+0200
@@ -1,6 +1,14 @@
Changes
-------
+1.9 (2022-10-17)
+~~~~~~~~~~~~~~~~
+
+* Produce Python 3.11 wheels, thanks to ``cibuildwheel`` `2.11.1`__
+
+ __ https://cibuildwheel.readthedocs.io/en/stable/changelog/#v2111
+
+
1.8 (2022-07-07)
~~~~~~~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-rapidjson-1.8/rapidjson.cpp
new/python-rapidjson-1.9/rapidjson.cpp
--- old/python-rapidjson-1.8/rapidjson.cpp 2022-07-07 07:21:46.000000000
+0200
+++ new/python-rapidjson-1.9/rapidjson.cpp 2022-10-17 08:30:59.000000000
+0200
@@ -51,7 +51,7 @@
static PyObject* decode_error = NULL;
-/* These are the names of oftenly used methods or literal values, interned in
the module
+/* These are the names of often used methods or literal values, interned in
the module
initialization function, to avoid repeated creation/destruction of
PyUnicode values
from plain C strings.
@@ -393,7 +393,7 @@
}
}
if (c == NULL) {
- // Propagate the error state, it will be catched by
dumps_internal()
+ // Propagate the error state, it will be caught by dumps_internal()
} else {
PyObject* res = PyObject_CallMethodObjArgs(stream, write_name, c,
NULL);
if (res == NULL) {
@@ -2493,9 +2493,9 @@
ASSERT_VALID_SIZE(l);
writer->String(s, (SizeType) l);
Py_DECREF(unicodeObj);
- } else if ((!(iterableMode & IM_ONLY_LISTS) && PyList_Check(object))
+ } else if (PyList_CheckExact(object)
||
- PyList_CheckExact(object)) {
+ (!(iterableMode & IM_ONLY_LISTS) && PyList_Check(object))) {
writer->StartArray();
Py_ssize_t size = PyList_GET_SIZE(object);
@@ -2527,9 +2527,9 @@
}
writer->EndArray();
- } else if (((!(mappingMode & MM_ONLY_DICTS) && PyDict_Check(object))
+ } else if ((PyDict_CheckExact(object)
||
- PyDict_CheckExact(object))
+ (!(mappingMode & MM_ONLY_DICTS) && PyDict_Check(object)))
&&
((mappingMode & MM_SKIP_NON_STRING_KEYS)
||
@@ -2634,7 +2634,11 @@
char isoformat[ISOFORMAT_LEN];
memset(isoformat, 0, ISOFORMAT_LEN);
- const int TIMEZONE_LEN = 16;
+ // The timezone is always shorter than this, but gcc12 emits a warning
about
+ // sprintf() that *may* produce longer results, because we pass int
values when
+ // concretely they are constrained to 24*3600 seconds: pacify gcc
using a bigger
+ // buffer
+ const int TIMEZONE_LEN = 24;
char timeZone[TIMEZONE_LEN] = { 0 };
if (!(datetimeMode & DM_IGNORE_TZ)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-rapidjson-1.8/tests/test_refs_count.py
new/python-rapidjson-1.9/tests/test_refs_count.py
--- old/python-rapidjson-1.8/tests/test_refs_count.py 2022-07-07
07:21:46.000000000 +0200
+++ new/python-rapidjson-1.9/tests/test_refs_count.py 2022-10-17
08:30:59.000000000 +0200
@@ -5,7 +5,7 @@
# :Copyright: ?? 2017, 2018, 2020, 2022 Lele Gaifax
#
-# NB: this is a simplicistic test that uses sys.gettotalrefcount(), available
+# NB: this is a simplistic test that uses sys.gettotalrefcount(), available
# when the interpreter is built --with-pydebug, that tries to assert that
# repeated calls to dumps() and loads() does not leak object references.
# Since it's not an exact science, it should be taken with a grain of salt.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-rapidjson-1.8/version.txt
new/python-rapidjson-1.9/version.txt
--- old/python-rapidjson-1.8/version.txt 2022-07-07 07:21:46.000000000
+0200
+++ new/python-rapidjson-1.9/version.txt 2022-10-17 08:30:59.000000000
+0200
@@ -1 +1 @@
-1.8
\ No newline at end of file
+1.9
\ No newline at end of file