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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b177743d2bc680a80e74835d080121f7338c35551fbc4cea9bcda9aa841d9f7
size 41293

3
pymemcache-3.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a68adaf3677eb8022c1dc06117133a329378baa360cccf25b2b03390701c520
size 43509

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Mar 20 12:04:30 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- 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.
-------------------------------------------------------------------
Tue Sep 10 11:58:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

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