Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-zodbpickle for
openSUSE:Factory checked in at 2022-01-26 21:27:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zodbpickle (Old)
and /work/SRC/openSUSE:Factory/.python-zodbpickle.new.1938 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zodbpickle"
Wed Jan 26 21:27:29 2022 rev:8 rq:949272 version:2.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zodbpickle/python-zodbpickle.changes
2021-09-25 00:36:40.747209845 +0200
+++
/work/SRC/openSUSE:Factory/.python-zodbpickle.new.1938/python-zodbpickle.changes
2022-01-26 21:28:30.825359761 +0100
@@ -1,0 +2,6 @@
+Wed Jan 26 11:35:31 UTC 2022 - [email protected]
+
+- version update to 2.2.0
+ * - Add support for Python 3.10.
+
+-------------------------------------------------------------------
Old:
----
zodbpickle-2.1.0.tar.gz
New:
----
zodbpickle-2.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zodbpickle.spec ++++++
--- /var/tmp/diff_new_pack.sbsrN2/_old 2022-01-26 21:28:31.253356810 +0100
+++ /var/tmp/diff_new_pack.sbsrN2/_new 2022-01-26 21:28:31.257356782 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-zodbpickle
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zodbpickle
-Version: 2.1.0
+Version: 2.2.0
Release: 0
Summary: Fork of Python 3 pickle module
License: Python-2.0 AND ZPL-2.1
++++++ zodbpickle-2.1.0.tar.gz -> zodbpickle-2.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zodbpickle-2.1.0/.manylinux-install.sh
new/zodbpickle-2.2.0/.manylinux-install.sh
--- old/zodbpickle-2.1.0/.manylinux-install.sh 2021-09-24 08:23:18.000000000
+0200
+++ new/zodbpickle-2.2.0/.manylinux-install.sh 2021-09-29 08:13:32.000000000
+0200
@@ -33,6 +33,7 @@
[[ "${PYBIN}" == *"cp36"* ]] || \
[[ "${PYBIN}" == *"cp37"* ]] || \
[[ "${PYBIN}" == *"cp38"* ]] || \
+ [[ "${PYBIN}" == *"cp310"* ]] || \
[[ "${PYBIN}" == *"cp39"* ]]; then
"${PYBIN}/pip" install -e /io/
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zodbpickle-2.1.0/CHANGES.rst
new/zodbpickle-2.2.0/CHANGES.rst
--- old/zodbpickle-2.1.0/CHANGES.rst 2021-09-24 08:23:18.000000000 +0200
+++ new/zodbpickle-2.2.0/CHANGES.rst 2021-09-29 08:13:32.000000000 +0200
@@ -2,6 +2,12 @@
Changelog
===========
+2.2.0 (2021-09-29)
+==================
+
+- Add support for Python 3.10.
+
+
2.1.0 (2021-09-24)
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zodbpickle-2.1.0/PKG-INFO
new/zodbpickle-2.2.0/PKG-INFO
--- old/zodbpickle-2.1.0/PKG-INFO 2021-09-24 08:23:19.000000000 +0200
+++ new/zodbpickle-2.2.0/PKG-INFO 2021-09-29 08:13:33.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: zodbpickle
-Version: 2.1.0
+Version: 2.2.0
Summary: Fork of Python 2 and 3 pickle module.
Home-page: https://github.com/zopefoundation/zodbpickle
Author: Python and Zope Foundation
@@ -177,6 +177,12 @@
Changelog
===========
+ 2.2.0 (2021-09-29)
+ ==================
+
+ - Add support for Python 3.10.
+
+
2.1.0 (2021-09-24)
==================
@@ -372,6 +378,7 @@
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python :: Implementation :: Jython
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zodbpickle-2.1.0/appveyor.yml
new/zodbpickle-2.2.0/appveyor.yml
--- old/zodbpickle-2.1.0/appveyor.yml 2021-09-24 08:23:18.000000000 +0200
+++ new/zodbpickle-2.2.0/appveyor.yml 2021-09-29 08:13:32.000000000 +0200
@@ -21,6 +21,10 @@
- python: 38-x64
- python: 39
- python: 39-x64
+ # `multibuild` cannot install non-final versions as they are not on
+ # ftp.python.org, so we skip Python 3.10 until its final release:
+ # - python: 310
+ # - python: 310-x64
install:
- "SET PYTHONVERSION=%PYTHON%"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zodbpickle-2.1.0/setup.py
new/zodbpickle-2.2.0/setup.py
--- old/zodbpickle-2.1.0/setup.py 2021-09-24 08:23:18.000000000 +0200
+++ new/zodbpickle-2.2.0/setup.py 2021-09-29 08:13:32.000000000 +0200
@@ -47,7 +47,7 @@
setup(
name='zodbpickle',
- version='2.1.0',
+ version='2.2.0',
description='Fork of Python 2 and 3 pickle module.',
author='Python and Zope Foundation',
author_email='[email protected]',
@@ -67,6 +67,7 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: Implementation :: Jython',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zodbpickle-2.1.0/src/zodbpickle/_pickle_33.c
new/zodbpickle-2.2.0/src/zodbpickle/_pickle_33.c
--- old/zodbpickle-2.1.0/src/zodbpickle/_pickle_33.c 2021-09-24
08:23:18.000000000 +0200
+++ new/zodbpickle-2.2.0/src/zodbpickle/_pickle_33.c 2021-09-29
08:13:32.000000000 +0200
@@ -4,6 +4,28 @@
PyDoc_STRVAR(pickle_module_doc,
"Optimized C implementation for the Python pickle module.");
+
+#if (PY_VERSION_HEX >= 0x30A00B1) /* 3.10.0b1 */
+#ifndef Py_SIZE
+#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
+#endif
+#define _PyUnicode_AsStringAndSize PyUnicode_AsUTF8AndSize
+/**
+ * The function ``_PyObject_LookupAttrId`` function replaces the combo of
+ * ``_PyObject_HasAttrId`` followed by ``_PyObject_GetAttrId``; our code isn't
+ * structured to take advantage of that, so for now we throw away the
+ * resulting attribute value and continue to make the extra ``Get`` call.
+ */
+static int _PyObject_HasAttrId(PyObject* obj, void* id)
+{
+ int result;
+ PyObject* attr_val;
+ result = _PyObject_LookupAttrId(obj, id, &attr_val);
+ Py_XDECREF(attr_val);
+ return result;
+}
+#endif
+
/* Bump this when new opcodes are added to the pickle protocol. */
enum {
HIGHEST_PROTOCOL = 3,
@@ -1633,7 +1655,7 @@
goto error;
}
else {
- char *string;
+ const char *string;
/* proto < 2: write the repr and newline. This is quadratic-time (in
the number of digits), in both directions. We add a trailing 'L'
@@ -2929,7 +2951,7 @@
}
else {
PyObject *pid_str = NULL;
- char *pid_ascii_bytes;
+ const char *pid_ascii_bytes;
Py_ssize_t size;
pid_str = PyObject_Str(pid);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zodbpickle-2.1.0/src/zodbpickle/tests/pickletester_3.py
new/zodbpickle-2.2.0/src/zodbpickle/tests/pickletester_3.py
--- old/zodbpickle-2.1.0/src/zodbpickle/tests/pickletester_3.py 2021-09-24
08:23:18.000000000 +0200
+++ new/zodbpickle-2.2.0/src/zodbpickle/tests/pickletester_3.py 2021-09-29
08:13:32.000000000 +0200
@@ -1,14 +1,16 @@
import io
+import os
import unittest
import sys
import copyreg
import weakref
+import tempfile
from http.cookies import SimpleCookie
from zodbpickle import pickle_3 as pickle
from zodbpickle import pickletools_3 as pickletools
from test.support import (
- TestFailed, TESTFN, run_with_locale,
+ TestFailed, run_with_locale,
_2G, _4G, bigmemtest,
)
@@ -41,6 +43,8 @@
ascii_char_size = 1
+fd, TESTFN = tempfile.mkstemp('.pickletester_3')
+os.close(fd)
# Return True if opcode code appears in the pickle, else False.
def opcode_in_pickle(code, pickle):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zodbpickle-2.1.0/src/zodbpickle.egg-info/PKG-INFO
new/zodbpickle-2.2.0/src/zodbpickle.egg-info/PKG-INFO
--- old/zodbpickle-2.1.0/src/zodbpickle.egg-info/PKG-INFO 2021-09-24
08:23:19.000000000 +0200
+++ new/zodbpickle-2.2.0/src/zodbpickle.egg-info/PKG-INFO 2021-09-29
08:13:33.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: zodbpickle
-Version: 2.1.0
+Version: 2.2.0
Summary: Fork of Python 2 and 3 pickle module.
Home-page: https://github.com/zopefoundation/zodbpickle
Author: Python and Zope Foundation
@@ -177,6 +177,12 @@
Changelog
===========
+ 2.2.0 (2021-09-29)
+ ==================
+
+ - Add support for Python 3.10.
+
+
2.1.0 (2021-09-24)
==================
@@ -372,6 +378,7 @@
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python :: Implementation :: Jython
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zodbpickle-2.1.0/tox.ini new/zodbpickle-2.2.0/tox.ini
--- old/zodbpickle-2.1.0/tox.ini 2021-09-24 08:23:18.000000000 +0200
+++ new/zodbpickle-2.2.0/tox.ini 2021-09-29 08:13:32.000000000 +0200
@@ -10,6 +10,7 @@
py37,py37-pure
py38,py38-pure
py39,py39-pure
+ py310,py310-pure
pypy
pypy3
coverage