Hello community, here is the log from the commit of package python-plyvel for openSUSE:Factory checked in at 2020-03-18 12:45:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-plyvel (Old) and /work/SRC/openSUSE:Factory/.python-plyvel.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-plyvel" Wed Mar 18 12:45:15 2020 rev:9 rq:786088 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-plyvel/python-plyvel.changes 2019-05-22 11:15:49.838536020 +0200 +++ /work/SRC/openSUSE:Factory/.python-plyvel.new.3160/python-plyvel.changes 2020-03-18 12:50:49.801154556 +0100 @@ -1,0 +2,7 @@ +Wed Mar 18 07:35:14 UTC 2020 - Marketa Calabkova <[email protected]> + +- update to 1.2.0 + * Add Python 3.8 support + * Drop Python 3.4 support + +------------------------------------------------------------------- Old: ---- plyvel-1.1.0.tar.gz New: ---- plyvel-1.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-plyvel.spec ++++++ --- /var/tmp/diff_new_pack.Y5aOIM/_old 2020-03-18 12:50:50.705155097 +0100 +++ /var/tmp/diff_new_pack.Y5aOIM/_new 2020-03-18 12:50:50.709155099 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-plyvel # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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-plyvel -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: Python interface to LevelDB License: BSD-3-Clause ++++++ plyvel-1.1.0.tar.gz -> plyvel-1.2.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plyvel-1.1.0/Makefile new/plyvel-1.2.0/Makefile --- old/plyvel-1.1.0/Makefile 2019-05-02 11:45:29.000000000 +0200 +++ new/plyvel-1.2.0/Makefile 2020-01-22 13:32:52.000000000 +0100 @@ -1,4 +1,4 @@ -.PHONY: all cython ext doc clean test wheels +.PHONY: all cython ext doc clean test docker-build-env release all: cython ext @@ -25,23 +25,14 @@ find . -name __pycache__ -delete test: ext - py.test + pytest -wheels: cython - # Note: this should run inside the docker container. - for dir in /opt/python/*; do \ - $${dir}/bin/python setup.py build --force; \ - $${dir}/bin/python setup.py bdist_wheel; \ - done - for wheel in dist/*.whl; do \ - auditwheel show $${wheel}; \ - auditwheel repair -w /dist/ $${wheel}; \ - done - -sdist: cython - # Note: this should run inside the docker container. - python setup.py sdist --dist-dir /dist - -release: +docker-build-env: docker build -t plyvel-build . - docker run -i -t -v $(pwd)/dist/:/dist plyvel-build + +release: docker-build-env + CIBW_BUILD='*-manylinux1_x86_64' \ + CIBW_MANYLINUX1_X86_64_IMAGE=plyvel-build \ + CIBW_BEFORE_BUILD=scripts/cibuildwheel-before-build.sh \ + CIBW_PLATFORM=linux \ + cibuildwheel --output-dir dist diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plyvel-1.1.0/NEWS.rst new/plyvel-1.2.0/NEWS.rst --- old/plyvel-1.1.0/NEWS.rst 2019-05-02 11:41:17.000000000 +0200 +++ new/plyvel-1.2.0/NEWS.rst 2020-01-22 20:22:55.000000000 +0100 @@ -2,6 +2,24 @@ Version history =============== +Plyvel 1.2.0 +============ + +Release date: 2020-01-22 + +* Add Python 3.8 support + (`pr #109 <https://github.com/wbolster/plyvel/pull/109>`_) + +* Drop Python 3.4 support + (`pr #109 <https://github.com/wbolster/plyvel/pull/109>`_) + +* Build Linux wheels against Snappy 1.1.8, LevelDB 1.22, and produce Python 3.8 wheels + (`issue #108 <https://github.com/wbolster/plyvel/issues/108>`_, + `pr #111 <https://github.com/wbolster/plyvel/pull/111>`_, ) + +* Improve compilation flags for Darwin (OSX) builds + (`pr #107 <https://github.com/wbolster/plyvel/pull/107>`_) + Plyvel 1.1.0 ============ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plyvel-1.1.0/PKG-INFO new/plyvel-1.2.0/PKG-INFO --- old/plyvel-1.1.0/PKG-INFO 2019-05-02 11:48:03.000000000 +0200 +++ new/plyvel-1.2.0/PKG-INFO 2020-01-22 20:33:00.412627700 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: plyvel -Version: 1.1.0 +Version: 1.2.0 Summary: Plyvel, a fast and feature-rich Python interface to LevelDB Home-page: https://github.com/wbolster/plyvel Author: Wouter Bolsterlee diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plyvel-1.1.0/plyvel/_plyvel.cpp new/plyvel-1.2.0/plyvel/_plyvel.cpp --- old/plyvel-1.1.0/plyvel/_plyvel.cpp 2019-05-02 11:48:02.000000000 +0200 +++ new/plyvel-1.2.0/plyvel/_plyvel.cpp 2020-01-22 20:32:59.000000000 +0100 @@ -1,4 +1,4 @@ -/* Generated by Cython 0.29.7 */ +/* Generated by Cython 0.29.14 */ #define PY_SSIZE_T_CLEAN #include "Python.h" @@ -7,8 +7,8 @@ #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) #error Cython requires Python 2.6+ or Python 3.3+. #else -#define CYTHON_ABI "0_29_7" -#define CYTHON_HEX_VERSION 0x001D07F0 +#define CYTHON_ABI "0_29_14" +#define CYTHON_HEX_VERSION 0x001D0EF0 #define CYTHON_FUTURE_DIVISION 0 #include <stddef.h> #ifndef offsetof @@ -324,8 +324,13 @@ #define __Pyx_DefaultClassType PyClass_Type #else #define __Pyx_BUILTIN_MODULE_NAME "builtins" +#if PY_VERSION_HEX >= 0x030800A4 && PY_VERSION_HEX < 0x030800B2 + #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\ + PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) +#else #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\ PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) +#endif #define __Pyx_DefaultClassType PyType_Type #endif #ifndef Py_TPFLAGS_CHECKTYPES @@ -1232,7 +1237,7 @@ #define __Pyx_PyFunction_FastCall(func, args, nargs)\ __Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL) #if 1 || PY_VERSION_HEX < 0x030600B1 -static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs); +static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, PyObject *kwargs); #else #define __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs) _PyFunction_FastCallDict(func, args, nargs, kwargs) #endif @@ -19051,7 +19056,7 @@ * * @cname("__pyx_convert_string_from_py_std__in_string") * cdef string __pyx_convert_string_from_py_std__in_string(object o) except *: # <<<<<<<<<<<<<< - * cdef Py_ssize_t length + * cdef Py_ssize_t length = 0 * cdef const char* data = __Pyx_PyObject_AsStringAndSize(o, &length) */ @@ -19063,9 +19068,18 @@ char const *__pyx_t_1; __Pyx_RefNannySetupContext("__pyx_convert_string_from_py_std__in_string", 0); + /* "string.from_py":14 + * @cname("__pyx_convert_string_from_py_std__in_string") + * cdef string __pyx_convert_string_from_py_std__in_string(object o) except *: + * cdef Py_ssize_t length = 0 # <<<<<<<<<<<<<< + * cdef const char* data = __Pyx_PyObject_AsStringAndSize(o, &length) + * return string(data, length) + */ + __pyx_v_length = 0; + /* "string.from_py":15 * cdef string __pyx_convert_string_from_py_std__in_string(object o) except *: - * cdef Py_ssize_t length + * cdef Py_ssize_t length = 0 * cdef const char* data = __Pyx_PyObject_AsStringAndSize(o, &length) # <<<<<<<<<<<<<< * return string(data, length) * @@ -19074,7 +19088,7 @@ __pyx_v_data = __pyx_t_1; /* "string.from_py":16 - * cdef Py_ssize_t length + * cdef Py_ssize_t length = 0 * cdef const char* data = __Pyx_PyObject_AsStringAndSize(o, &length) * return string(data, length) # <<<<<<<<<<<<<< * @@ -19087,7 +19101,7 @@ * * @cname("__pyx_convert_string_from_py_std__in_string") * cdef string __pyx_convert_string_from_py_std__in_string(object o) except *: # <<<<<<<<<<<<<< - * cdef Py_ssize_t length + * cdef Py_ssize_t length = 0 * cdef const char* data = __Pyx_PyObject_AsStringAndSize(o, &length) */ @@ -19202,7 +19216,12 @@ sizeof(struct __pyx_obj_6plyvel_7_plyvel_DB), /*tp_basicsize*/ 0, /*tp_itemsize*/ __pyx_tp_dealloc_6plyvel_7_plyvel_DB, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif 0, /*tp_getattr*/ 0, /*tp_setattr*/ #if PY_MAJOR_VERSION < 3 @@ -19252,6 +19271,12 @@ #if PY_VERSION_HEX >= 0x030400a1 0, /*tp_finalize*/ #endif + #if PY_VERSION_HEX >= 0x030800b1 + 0, /*tp_vectorcall*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 + 0, /*tp_print*/ + #endif }; static PyObject *__pyx_tp_new_6plyvel_7_plyvel_PrefixedDB(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { @@ -19333,7 +19358,12 @@ sizeof(struct __pyx_obj_6plyvel_7_plyvel_PrefixedDB), /*tp_basicsize*/ 0, /*tp_itemsize*/ __pyx_tp_dealloc_6plyvel_7_plyvel_PrefixedDB, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif 0, /*tp_getattr*/ 0, /*tp_setattr*/ #if PY_MAJOR_VERSION < 3 @@ -19383,6 +19413,12 @@ #if PY_VERSION_HEX >= 0x030400a1 0, /*tp_finalize*/ #endif + #if PY_VERSION_HEX >= 0x030800b1 + 0, /*tp_vectorcall*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 + 0, /*tp_print*/ + #endif }; static PyObject *__pyx_tp_new_6plyvel_7_plyvel_WriteBatch(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { @@ -19450,7 +19486,12 @@ sizeof(struct __pyx_obj_6plyvel_7_plyvel_WriteBatch), /*tp_basicsize*/ 0, /*tp_itemsize*/ __pyx_tp_dealloc_6plyvel_7_plyvel_WriteBatch, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif 0, /*tp_getattr*/ 0, /*tp_setattr*/ #if PY_MAJOR_VERSION < 3 @@ -19500,6 +19541,12 @@ #if PY_VERSION_HEX >= 0x030400a1 0, /*tp_finalize*/ #endif + #if PY_VERSION_HEX >= 0x030800b1 + 0, /*tp_vectorcall*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 + 0, /*tp_print*/ + #endif }; static struct __pyx_vtabstruct_6plyvel_7_plyvel_BaseIterator __pyx_vtable_6plyvel_7_plyvel_BaseIterator; @@ -19572,7 +19619,12 @@ sizeof(struct __pyx_obj_6plyvel_7_plyvel_BaseIterator), /*tp_basicsize*/ 0, /*tp_itemsize*/ __pyx_tp_dealloc_6plyvel_7_plyvel_BaseIterator, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif 0, /*tp_getattr*/ 0, /*tp_setattr*/ #if PY_MAJOR_VERSION < 3 @@ -19622,6 +19674,12 @@ #if PY_VERSION_HEX >= 0x030400a1 0, /*tp_finalize*/ #endif + #if PY_VERSION_HEX >= 0x030800b1 + 0, /*tp_vectorcall*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 + 0, /*tp_print*/ + #endif }; static struct __pyx_vtabstruct_6plyvel_7_plyvel_Iterator __pyx_vtable_6plyvel_7_plyvel_Iterator; @@ -19670,7 +19728,12 @@ sizeof(struct __pyx_obj_6plyvel_7_plyvel_Iterator), /*tp_basicsize*/ 0, /*tp_itemsize*/ __pyx_tp_dealloc_6plyvel_7_plyvel_Iterator, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif 0, /*tp_getattr*/ 0, /*tp_setattr*/ #if PY_MAJOR_VERSION < 3 @@ -19720,6 +19783,12 @@ #if PY_VERSION_HEX >= 0x030400a1 0, /*tp_finalize*/ #endif + #if PY_VERSION_HEX >= 0x030800b1 + 0, /*tp_vectorcall*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 + 0, /*tp_print*/ + #endif }; static struct __pyx_vtabstruct_6plyvel_7_plyvel_RawIterator __pyx_vtable_6plyvel_7_plyvel_RawIterator; @@ -19753,7 +19822,12 @@ sizeof(struct __pyx_obj_6plyvel_7_plyvel_RawIterator), /*tp_basicsize*/ 0, /*tp_itemsize*/ __pyx_tp_dealloc_6plyvel_7_plyvel_BaseIterator, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif 0, /*tp_getattr*/ 0, /*tp_setattr*/ #if PY_MAJOR_VERSION < 3 @@ -19807,6 +19881,12 @@ #if PY_VERSION_HEX >= 0x030400a1 0, /*tp_finalize*/ #endif + #if PY_VERSION_HEX >= 0x030800b1 + 0, /*tp_vectorcall*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 + 0, /*tp_print*/ + #endif }; static struct __pyx_vtabstruct_6plyvel_7_plyvel_Snapshot __pyx_vtable_6plyvel_7_plyvel_Snapshot; @@ -19875,7 +19955,12 @@ sizeof(struct __pyx_obj_6plyvel_7_plyvel_Snapshot), /*tp_basicsize*/ 0, /*tp_itemsize*/ __pyx_tp_dealloc_6plyvel_7_plyvel_Snapshot, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif 0, /*tp_getattr*/ 0, /*tp_setattr*/ #if PY_MAJOR_VERSION < 3 @@ -19925,6 +20010,12 @@ #if PY_VERSION_HEX >= 0x030400a1 0, /*tp_finalize*/ #endif + #if PY_VERSION_HEX >= 0x030800b1 + 0, /*tp_vectorcall*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 + 0, /*tp_print*/ + #endif }; static struct __pyx_obj_6plyvel_7_plyvel___pyx_scope_struct____init__ *__pyx_freelist_6plyvel_7_plyvel___pyx_scope_struct____init__[8]; @@ -19986,7 +20077,12 @@ sizeof(struct __pyx_obj_6plyvel_7_plyvel___pyx_scope_struct____init__), /*tp_basicsize*/ 0, /*tp_itemsize*/ __pyx_tp_dealloc_6plyvel_7_plyvel___pyx_scope_struct____init__, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif 0, /*tp_getattr*/ 0, /*tp_setattr*/ #if PY_MAJOR_VERSION < 3 @@ -20036,6 +20132,12 @@ #if PY_VERSION_HEX >= 0x030400a1 0, /*tp_finalize*/ #endif + #if PY_VERSION_HEX >= 0x030800b1 + 0, /*tp_vectorcall*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 + 0, /*tp_print*/ + #endif }; static PyMethodDef __pyx_methods[] = { @@ -20589,7 +20691,9 @@ __pyx_vtabptr_6plyvel_7_plyvel_DB = &__pyx_vtable_6plyvel_7_plyvel_DB; __pyx_vtable_6plyvel_7_plyvel_DB.close = (PyObject *(*)(struct __pyx_obj_6plyvel_7_plyvel_DB *, int __pyx_skip_dispatch))__pyx_f_6plyvel_7_plyvel_2DB_close; if (PyType_Ready(&__pyx_type_6plyvel_7_plyvel_DB) < 0) __PYX_ERR(0, 221, __pyx_L1_error) + #if PY_VERSION_HEX < 0x030800B1 __pyx_type_6plyvel_7_plyvel_DB.tp_print = 0; + #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_6plyvel_7_plyvel_DB.tp_dictoffset && __pyx_type_6plyvel_7_plyvel_DB.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_6plyvel_7_plyvel_DB.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; } @@ -20598,7 +20702,9 @@ if (__Pyx_setup_reduce((PyObject*)&__pyx_type_6plyvel_7_plyvel_DB) < 0) __PYX_ERR(0, 221, __pyx_L1_error) __pyx_ptype_6plyvel_7_plyvel_DB = &__pyx_type_6plyvel_7_plyvel_DB; if (PyType_Ready(&__pyx_type_6plyvel_7_plyvel_PrefixedDB) < 0) __PYX_ERR(0, 453, __pyx_L1_error) + #if PY_VERSION_HEX < 0x030800B1 __pyx_type_6plyvel_7_plyvel_PrefixedDB.tp_print = 0; + #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_6plyvel_7_plyvel_PrefixedDB.tp_dictoffset && __pyx_type_6plyvel_7_plyvel_PrefixedDB.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_6plyvel_7_plyvel_PrefixedDB.tp_getattro = __Pyx_PyObject_GenericGetAttr; } @@ -20606,7 +20712,9 @@ if (__Pyx_setup_reduce((PyObject*)&__pyx_type_6plyvel_7_plyvel_PrefixedDB) < 0) __PYX_ERR(0, 453, __pyx_L1_error) __pyx_ptype_6plyvel_7_plyvel_PrefixedDB = &__pyx_type_6plyvel_7_plyvel_PrefixedDB; if (PyType_Ready(&__pyx_type_6plyvel_7_plyvel_WriteBatch) < 0) __PYX_ERR(0, 553, __pyx_L1_error) + #if PY_VERSION_HEX < 0x030800B1 __pyx_type_6plyvel_7_plyvel_WriteBatch.tp_print = 0; + #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_6plyvel_7_plyvel_WriteBatch.tp_dictoffset && __pyx_type_6plyvel_7_plyvel_WriteBatch.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_6plyvel_7_plyvel_WriteBatch.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; } @@ -20616,7 +20724,9 @@ __pyx_vtabptr_6plyvel_7_plyvel_BaseIterator = &__pyx_vtable_6plyvel_7_plyvel_BaseIterator; __pyx_vtable_6plyvel_7_plyvel_BaseIterator.close = (PyObject *(*)(struct __pyx_obj_6plyvel_7_plyvel_BaseIterator *, int __pyx_skip_dispatch))__pyx_f_6plyvel_7_plyvel_12BaseIterator_close; if (PyType_Ready(&__pyx_type_6plyvel_7_plyvel_BaseIterator) < 0) __PYX_ERR(0, 654, __pyx_L1_error) + #if PY_VERSION_HEX < 0x030800B1 __pyx_type_6plyvel_7_plyvel_BaseIterator.tp_print = 0; + #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_6plyvel_7_plyvel_BaseIterator.tp_dictoffset && __pyx_type_6plyvel_7_plyvel_BaseIterator.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_6plyvel_7_plyvel_BaseIterator.tp_getattro = __Pyx_PyObject_GenericGetAttr; } @@ -20632,7 +20742,9 @@ __pyx_vtable_6plyvel_7_plyvel_Iterator.real_prev = (PyObject *(*)(struct __pyx_obj_6plyvel_7_plyvel_Iterator *))__pyx_f_6plyvel_7_plyvel_8Iterator_real_prev; __pyx_type_6plyvel_7_plyvel_Iterator.tp_base = __pyx_ptype_6plyvel_7_plyvel_BaseIterator; if (PyType_Ready(&__pyx_type_6plyvel_7_plyvel_Iterator) < 0) __PYX_ERR(0, 703, __pyx_L1_error) + #if PY_VERSION_HEX < 0x030800B1 __pyx_type_6plyvel_7_plyvel_Iterator.tp_print = 0; + #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_6plyvel_7_plyvel_Iterator.tp_dictoffset && __pyx_type_6plyvel_7_plyvel_Iterator.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_6plyvel_7_plyvel_Iterator.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; } @@ -20657,7 +20769,9 @@ __pyx_vtable_6plyvel_7_plyvel_RawIterator.value = (PyObject *(*)(struct __pyx_obj_6plyvel_7_plyvel_RawIterator *, int __pyx_skip_dispatch))__pyx_f_6plyvel_7_plyvel_11RawIterator_value; __pyx_type_6plyvel_7_plyvel_RawIterator.tp_base = __pyx_ptype_6plyvel_7_plyvel_BaseIterator; if (PyType_Ready(&__pyx_type_6plyvel_7_plyvel_RawIterator) < 0) __PYX_ERR(0, 1010, __pyx_L1_error) + #if PY_VERSION_HEX < 0x030800B1 __pyx_type_6plyvel_7_plyvel_RawIterator.tp_print = 0; + #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_6plyvel_7_plyvel_RawIterator.tp_dictoffset && __pyx_type_6plyvel_7_plyvel_RawIterator.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_6plyvel_7_plyvel_RawIterator.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; } @@ -20669,7 +20783,9 @@ __pyx_vtabptr_6plyvel_7_plyvel_Snapshot = &__pyx_vtable_6plyvel_7_plyvel_Snapshot; __pyx_vtable_6plyvel_7_plyvel_Snapshot.close = (PyObject *(*)(struct __pyx_obj_6plyvel_7_plyvel_Snapshot *, int __pyx_skip_dispatch))__pyx_f_6plyvel_7_plyvel_8Snapshot_close; if (PyType_Ready(&__pyx_type_6plyvel_7_plyvel_Snapshot) < 0) __PYX_ERR(0, 1100, __pyx_L1_error) + #if PY_VERSION_HEX < 0x030800B1 __pyx_type_6plyvel_7_plyvel_Snapshot.tp_print = 0; + #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_6plyvel_7_plyvel_Snapshot.tp_dictoffset && __pyx_type_6plyvel_7_plyvel_Snapshot.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_6plyvel_7_plyvel_Snapshot.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; } @@ -20678,7 +20794,9 @@ if (__Pyx_setup_reduce((PyObject*)&__pyx_type_6plyvel_7_plyvel_Snapshot) < 0) __PYX_ERR(0, 1100, __pyx_L1_error) __pyx_ptype_6plyvel_7_plyvel_Snapshot = &__pyx_type_6plyvel_7_plyvel_Snapshot; if (PyType_Ready(&__pyx_type_6plyvel_7_plyvel___pyx_scope_struct____init__) < 0) __PYX_ERR(0, 662, __pyx_L1_error) + #if PY_VERSION_HEX < 0x030800B1 __pyx_type_6plyvel_7_plyvel___pyx_scope_struct____init__.tp_print = 0; + #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_6plyvel_7_plyvel___pyx_scope_struct____init__.tp_dictoffset && __pyx_type_6plyvel_7_plyvel___pyx_scope_struct____init__.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_6plyvel_7_plyvel___pyx_scope_struct____init__.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; } @@ -20924,9 +21042,9 @@ } #endif /*--- Builtin init code ---*/ - if (__Pyx_InitCachedBuiltins() < 0) __PYX_ERR(0, 1, __pyx_L1_error) + if (__Pyx_InitCachedBuiltins() < 0) goto __pyx_L1_error; /*--- Constants init code ---*/ - if (__Pyx_InitCachedConstants() < 0) __PYX_ERR(0, 1, __pyx_L1_error) + if (__Pyx_InitCachedConstants() < 0) goto __pyx_L1_error; /*--- Global type/function init code ---*/ (void)__Pyx_modinit_global_init_code(); (void)__Pyx_modinit_variable_export_code(); @@ -21181,7 +21299,7 @@ * * @cname("__pyx_convert_string_from_py_std__in_string") * cdef string __pyx_convert_string_from_py_std__in_string(object o) except *: # <<<<<<<<<<<<<< - * cdef Py_ssize_t length + * cdef Py_ssize_t length = 0 * cdef const char* data = __Pyx_PyObject_AsStringAndSize(o, &length) */ @@ -21373,7 +21491,7 @@ return result; } #if 1 || PY_VERSION_HEX < 0x030600B1 -static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs) { +static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, PyObject *kwargs) { PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func); PyObject *globals = PyFunction_GET_GLOBALS(func); PyObject *argdefs = PyFunction_GET_DEFAULTS(func); @@ -21444,12 +21562,12 @@ } #if PY_MAJOR_VERSION >= 3 result = PyEval_EvalCodeEx((PyObject*)co, globals, (PyObject *)NULL, - args, nargs, + args, (int)nargs, k, (int)nk, d, (int)nd, kwdefs, closure); #else result = PyEval_EvalCodeEx(co, globals, (PyObject *)NULL, - args, nargs, + args, (int)nargs, k, (int)nk, d, (int)nd, closure); #endif @@ -23345,6 +23463,12 @@ #if PY_VERSION_HEX >= 0x030400a1 0, #endif +#if PY_VERSION_HEX >= 0x030800b1 + 0, +#endif +#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 + 0, +#endif }; static int __pyx_CyFunction_init(void) { __pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plyvel-1.1.0/plyvel/_version.py new/plyvel-1.2.0/plyvel/_version.py --- old/plyvel-1.1.0/plyvel/_version.py 2019-05-02 11:40:27.000000000 +0200 +++ new/plyvel-1.2.0/plyvel/_version.py 2020-01-22 20:19:11.000000000 +0100 @@ -5,4 +5,4 @@ # Note: don't add any non-trivial logic here; this file is also loaded # from setup.py file when the module has not yet been compiled! -__version__ = '1.1.0' +__version__ = '1.2.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plyvel-1.1.0/plyvel.egg-info/PKG-INFO new/plyvel-1.2.0/plyvel.egg-info/PKG-INFO --- old/plyvel-1.1.0/plyvel.egg-info/PKG-INFO 2019-05-02 11:48:03.000000000 +0200 +++ new/plyvel-1.2.0/plyvel.egg-info/PKG-INFO 2020-01-22 20:33:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: plyvel -Version: 1.1.0 +Version: 1.2.0 Summary: Plyvel, a fast and feature-rich Python interface to LevelDB Home-page: https://github.com/wbolster/plyvel Author: Wouter Bolsterlee diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plyvel-1.1.0/requirements-dev.txt new/plyvel-1.2.0/requirements-dev.txt --- old/plyvel-1.1.0/requirements-dev.txt 2018-01-11 20:45:45.000000000 +0100 +++ new/plyvel-1.2.0/requirements-dev.txt 2019-05-03 18:16:10.000000000 +0200 @@ -1,4 +1,5 @@ -r requirements-test.txt +cibuildwheel Cython >= 0.17 sphinx tox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plyvel-1.1.0/setup.py new/plyvel-1.2.0/setup.py --- old/plyvel-1.1.0/setup.py 2019-05-02 11:47:33.000000000 +0200 +++ new/plyvel-1.2.0/setup.py 2020-01-22 13:32:52.000000000 +0100 @@ -1,6 +1,7 @@ from os.path import join, dirname from setuptools import setup from setuptools.extension import Extension +import platform CURRENT_DIR = dirname(__file__) @@ -15,6 +16,9 @@ extra_compile_args = ['-Wall', '-g', '-x', 'c++', '-std=c++11'] +if platform.system() == 'Darwin': + extra_compile_args += ['-stdlib=libc++'] + ext_modules = [ Extension( 'plyvel._plyvel',
