14
0

Accepting request 786851 from home:mcalabkova:branches:devel:languages:python

- Update to 3.0.0
  * The serialization API has been reworked. Instead of consuming a serializer
    and deserializer as separate arguments, client objects now expect an argument
    ``serde`` to be an object which implements ``serialize`` and ``deserialize``
    as methods. (``serialize`` and ``deserialize`` are still supported but
    considered deprecated.)
  * Validate integer inputs for ``expire``, ``delay``, ``incr``, ``decr``, and
    ``memlimit`` -- non-integer values now raise ``MemcacheIllegalInputError``
  * Validate inputs for ``cas`` -- values which are not integers or strings of
    0-9 now raise ``MemcacheIllegalInputError``
  * Add ``prepend`` and ``append`` support to ``MockMemcacheClient``.
  * Add the ``touch`` method to ``HashClient``.
  * Added official support for Python 3.8.

OBS-URL: https://build.opensuse.org/request/show/786851
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymemcache?expand=0&rev=15
This commit is contained in:
Tomáš Chvátal
2020-03-20 12:10:10 +00:00
committed by Git OBS Bridge
parent a789af25e5
commit ad993dddd5
4 changed files with 22 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pymemcache
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2014 Thomas Bechtold <thomasbechtold@jpberlin.de>
#
# All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pymemcache
Version: 2.2.2
Version: 3.0.0
Release: 0
Summary: A pure Python memcached client
License: Apache-2.0