Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Beaker for openSUSE:Factory 
checked in at 2022-12-20 20:20:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Beaker (Old)
 and      /work/SRC/openSUSE:Factory/.python-Beaker.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Beaker"

Tue Dec 20 20:20:48 2022 rev:31 rq:1043858 version:1.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Beaker/python-Beaker.changes      
2022-03-17 17:01:35.273689468 +0100
+++ /work/SRC/openSUSE:Factory/.python-Beaker.new.1835/python-Beaker.changes    
2022-12-20 20:21:30.522214185 +0100
@@ -1,0 +2,15 @@
+Tue Dec 20 06:34:00 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 1.12.0:
+  * Enabled testing on Python 3.10 and 3.11
+  * Fixed issue #122 - Session ignores deserializer json
+  * Remove ID generation fallback for when the uuid module is not found
+  * Port testing from nose to pytest
+  * Fixed issue #180 - KeyError when loading deleted session 
+- Remove Python 2 and Python 3 gubbins.
+- Remove patch denose.patch, merged upstream.
+- Add patch support-pymemcache.patch:
+  * Also support pymemcache.
+- Fiddle BuildRequires as appropiate.
+
+-------------------------------------------------------------------

Old:
----
  1.11.0.tar.gz
  denose.patch

New:
----
  1.12.0.tar.gz
  support-pymemcache.patch

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

Other differences:
------------------
++++++ python-Beaker.spec ++++++
--- /var/tmp/diff_new_pack.UiFNG5/_old  2022-12-20 20:21:31.658220410 +0100
+++ /var/tmp/diff_new_pack.UiFNG5/_new  2022-12-20 20:21:31.722220761 +0100
@@ -16,19 +16,15 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define oldpython python
-%bcond_without python2
 Name:           python-Beaker
-Version:        1.11.0
+Version:        1.12.0
 Release:        0
 Summary:        A Session and Caching library with WSGI Middleware
 License:        BSD-3-Clause
 URL:            https://github.com/bbangert/beaker
 Source:         https://github.com/bbangert/beaker/archive/%{version}.tar.gz
-# PATCH-FEATURE-UPSTREAM denose.patch gh#bbangert/beaker#192 mc...@suse.com
-# Port tests to pytest
-Patch0:         denose.patch
+# PATCH-FIX-OPENSUSE Support pymemcache
+Patch0:         support-pymemcache.patch
 BuildRequires:  %{python_module SQLAlchemy}
 BuildRequires:  %{python_module WebTest}
 BuildRequires:  %{python_module coverage}
@@ -44,27 +40,17 @@
 BuildRequires:  fdupes
 BuildRequires:  glibc-locale
 BuildRequires:  python-rpm-macros
+Requires:       python-dbm
 Requires:       python-pylibmc
 Requires:       python-setuptools
 Recommends:     python-SQLAlchemy
 Recommends:     python-cryptography
 Recommends:     python-pycrypto
 Recommends:     python-pycryptopp >= 0.5.12
+Recommends:     python-pymemcache
 Recommends:     python-pymongo
-Recommends:     python-python-memcached
 Recommends:     python-redis
 BuildArch:      noarch
-%if %{with python2}
-BuildRequires:  python-funcsigs
-%endif
-%ifpython2
-Requires:       python-funcsigs
-Provides:       %{oldpython}-beaker = %{version}
-Obsoletes:      %{oldpython}-beaker < %{version}
-%endif
-%if %{python_version_nodots} >= 30
-Requires:       python-dbm
-%endif
 %python_subpackages
 
 %description
@@ -99,8 +85,7 @@
 * Fine-grained toggling of back-ends, keys, and expiration per Cache object
 
 %prep
-%setup -q -n beaker-%{version}
-%autopatch -p1
+%autosetup -p1 -n beaker-%{version}
 
 %build
 %python_build

++++++ 1.11.0.tar.gz -> 1.12.0.tar.gz ++++++
++++ 2013 lines of diff (skipped)

++++++ support-pymemcache.patch ++++++
Index: beaker-1.12.0/beaker/ext/memcached.py
===================================================================
--- beaker-1.12.0.orig/beaker/ext/memcached.py
+++ beaker-1.12.0/beaker/ext/memcached.py
@@ -39,8 +39,12 @@ def _load_client(name='auto'):
         import bmemcached
         return bmemcached
 
+    def _pymemcache():
+        from pymemcache.client.base import Client
+        return Client
+
     def _auto():
-        for _client in (_pylibmc, _cmemcache, _memcache, _bmemcached):
+        for _client in (_pymemcache, _pylibmc, _cmemcache, _memcache, 
_bmemcached):
             try:
                 return _client()
             except ImportError:
@@ -52,6 +56,7 @@ def _load_client(name='auto'):
 
     clients = {
         'pylibmc': _pylibmc,
+        'pymemcache': _pymemcache,
         'cmemcache': _cmemcache,
         'memcache': _memcache,
         'bmemcached': _bmemcached,

Reply via email to