Hello community,

here is the log from the commit of package python-pylibmc for openSUSE:Factory 
checked in at 2019-09-23 12:05:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pylibmc (Old)
 and      /work/SRC/openSUSE:Factory/.python-pylibmc.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pylibmc"

Mon Sep 23 12:05:07 2019 rev:7 rq:729848 version:1.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pylibmc/python-pylibmc.changes    
2019-03-14 14:55:36.947758249 +0100
+++ /work/SRC/openSUSE:Factory/.python-pylibmc.new.7948/python-pylibmc.changes  
2019-09-23 12:05:11.529927345 +0200
@@ -1,0 +2,6 @@
+Tue Sep 10 12:04:16 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 1.6.1:
+  * no changelog provided
+
+-------------------------------------------------------------------

Old:
----
  pylibmc-1.6.0.tar.gz

New:
----
  pylibmc-1.6.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pylibmc.spec ++++++
--- /var/tmp/diff_new_pack.cDavxZ/_old  2019-09-23 12:05:12.393927203 +0200
+++ /var/tmp/diff_new_pack.cDavxZ/_new  2019-09-23 12:05:12.393927203 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pylibmc
-Version:        1.6.0
+Version:        1.6.1
 Release:        0
 Summary:        memcached client for Python
 License:        BSD-3-Clause

++++++ pylibmc-1.6.0.tar.gz -> pylibmc-1.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylibmc-1.6.0/PKG-INFO new/pylibmc-1.6.1/PKG-INFO
--- old/pylibmc-1.6.0/PKG-INFO  2018-11-09 19:05:45.000000000 +0100
+++ new/pylibmc-1.6.1/PKG-INFO  2019-08-15 14:04:10.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pylibmc
-Version: 1.6.0
+Version: 1.6.1
 Summary: Quick and small memcached client for Python
 Home-page: http://sendapatch.se/projects/pylibmc/
 Author: Ludvig Ericson
@@ -96,3 +96,5 @@
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylibmc-1.6.0/docs/changelog.rst 
new/pylibmc-1.6.1/docs/changelog.rst
--- old/pylibmc-1.6.0/docs/changelog.rst        2018-03-13 17:11:12.000000000 
+0100
+++ new/pylibmc-1.6.1/docs/changelog.rst        2018-11-09 19:35:16.000000000 
+0100
@@ -1,6 +1,22 @@
 Change Log
 ==========
 
+New in version 1.6.0
+--------------------
+
+Though no major feature overhauls have taken place, this release is partially
+incompatible with 1.5.0. This stems from the fact that python-memcached is now
+using a flag that pylibmc has been using for some years. python-memcached uses
+it for a different purpose, and an incompatible one. We deemed that it would be
+better to support this interoperability. The change also means that Unicode
+strings are now stored as UTF-8 rather than pickled, which may or may not
+result in a slight performance improvement for this type of data.
+
+We have also introduced a `pickle_protocol` behavior to enable seamless
+interoperability between Python 2.x and 3.x. Also, this release introduces a
+ManyLinux wheel, making installation a breeze on ManyLinux systems (which I
+suppose is many linuxes.)
+
 New in version 1.5.0
 --------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylibmc-1.6.0/docs/conf.py 
new/pylibmc-1.6.1/docs/conf.py
--- old/pylibmc-1.6.0/docs/conf.py      2018-03-13 17:11:11.000000000 +0100
+++ new/pylibmc-1.6.1/docs/conf.py      2018-11-09 19:35:16.000000000 +0100
@@ -24,7 +24,7 @@
 else:
     sys.path.insert(0, pylibmc_dir)
 
-import pylibmc
+import _pylibmc
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
@@ -53,18 +53,21 @@
 master_doc = 'index'
 
 # General information about the project.
-project = pylibmc.__name__
-copyright = u'2011, Ludvig Ericson'
+project = 'pylibmc'
+copyright = u'2018, Ludvig Ericson'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # built documents.
 #
 # The short X.Y version.
-version = pylibmc.__version__
+version = _pylibmc.__version__
 # The full version, including alpha/beta/rc tags.
 release = version
 
+print(_pylibmc.__file__)
+print(project, release)
+
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
 #language = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylibmc-1.6.0/docs/install.rst 
new/pylibmc-1.6.1/docs/install.rst
--- old/pylibmc-1.6.0/docs/install.rst  2018-11-09 18:42:08.000000000 +0100
+++ new/pylibmc-1.6.1/docs/install.rst  2019-08-15 13:49:27.000000000 +0200
@@ -5,7 +5,7 @@
 Requirements
 ============
 
-* Python 2.6-2.7, or Python 3.3-3.6
+* Python 2.6-2.7, or Python 3.3-3.7
 * libmemcached 1.0.8 or later (latest tested is 1.0.18)
 * zlib (required for compression support)
 * libsasl2 (required for authentication support)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylibmc-1.6.0/setup.py new/pylibmc-1.6.1/setup.py
--- old/pylibmc-1.6.0/setup.py  2018-11-09 18:42:08.000000000 +0100
+++ new/pylibmc-1.6.1/setup.py  2019-08-15 13:49:27.000000000 +0200
@@ -122,5 +122,7 @@
         'Programming Language :: Python :: 3.3',
         'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
     ],
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylibmc-1.6.0/src/_pylibmcmodule.c 
new/pylibmc-1.6.1/src/_pylibmcmodule.c
--- old/pylibmc-1.6.0/src/_pylibmcmodule.c      2018-11-09 18:42:08.000000000 
+0100
+++ new/pylibmc-1.6.1/src/_pylibmcmodule.c      2019-08-15 14:01:27.000000000 
+0200
@@ -148,6 +148,8 @@
     PyObject *behaviors = NULL;
     memcached_return rc;
 
+    self->pickle_protocol = -1;
+
     static char *kws[] = { "servers", "binary", "username", "password",
                            "behaviors", NULL };
 
@@ -216,8 +218,6 @@
     }
     self->native_deserialization = (uint8_t) native_deserialization;
 
-    self->pickle_protocol = -1;
-
     while ((c_srv = PyIter_Next(srvs_it)) != NULL) {
         unsigned char stype;
         char *hostname;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylibmc-1.6.0/src/pylibmc-version.h 
new/pylibmc-1.6.1/src/pylibmc-version.h
--- old/pylibmc-1.6.0/src/pylibmc-version.h     2018-11-09 19:05:41.000000000 
+0100
+++ new/pylibmc-1.6.1/src/pylibmc-version.h     2019-08-15 14:03:49.000000000 
+0200
@@ -1 +1 @@
-#define PYLIBMC_VERSION "1.6.0"
+#define PYLIBMC_VERSION "1.6.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylibmc-1.6.0/tests/__init__.py 
new/pylibmc-1.6.1/tests/__init__.py
--- old/pylibmc-1.6.0/tests/__init__.py 2018-11-09 18:42:08.000000000 +0100
+++ new/pylibmc-1.6.1/tests/__init__.py 2019-08-15 13:49:27.000000000 +0200
@@ -31,5 +31,6 @@
     one new reference is created as the argument to sys.getrefcount).
     Therefore, try to do it in a consistent and deterministic fashion.
     """
-    gc.collect()
-    return [sys.getrefcount(val) for val in refcountables]
+    if hasattr(sys, 'getrefcount'):
+        gc.collect()
+        return [sys.getrefcount(val) for val in refcountables]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylibmc-1.6.0/tests/test_refcounts.py 
new/pylibmc-1.6.1/tests/test_refcounts.py
--- old/pylibmc-1.6.0/tests/test_refcounts.py   2018-03-13 17:11:20.000000000 
+0100
+++ new/pylibmc-1.6.1/tests/test_refcounts.py   2019-08-15 13:49:27.000000000 
+0200
@@ -2,7 +2,6 @@
 from __future__ import print_function
 
 import datetime
-import sys
 
 from nose.tools import eq_, ok_
 
@@ -170,14 +169,14 @@
     def test_get_invalid_key(self):
         bc = make_test_client(binary=True)
         key = object()
-        initial_refcount = sys.getrefcount(key)
+        initial_refcount = get_refcounts([key])
         raised = False
         try:
             bc.get(key)
         except TypeError:
             raised = True
         assert raised
-        eq_(sys.getrefcount(key), initial_refcount)
+        eq_(get_refcounts([key]), initial_refcount)
 
     def test_cas(self):
         k = "testkey"


Reply via email to