Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-memcached for openSUSE:Factory checked in at 2024-02-02 15:47:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-memcached (Old) and /work/SRC/openSUSE:Factory/.python-python-memcached.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-memcached" Fri Feb 2 15:47:16 2024 rev:22 rq:1143507 version:1.62 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-memcached/python-python-memcached.changes 2023-06-01 17:21:16.770786048 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-memcached.new.1815/python-python-memcached.changes 2024-02-02 15:47:53.254009049 +0100 @@ -1,0 +2,32 @@ +Thu Feb 1 21:18:55 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- update to 1.62: + * delete() return value now is 1 for "DELETED" and 0 for + "NOT_FOUND" or server error. (Nick Pope PR #190) +- update to 1.60: + * Allow to use a datetime.timedelta parameter for Client.set + * Fix cmemcahe_hash 0 values being translated to 1 + * Fix tuple key support in multi methods + * Add support for default value in get + * test_memcache.py: try import unittest.mock + * Use == as suggested by Python 3.8 (PR from @za) + * Decoding in slab funcs, replacing "1" with "True" in while. + * Tell PyPI to parse README as markdown (PR from @MartinThoma) + * test_memcache.py: try import unittest.mock + * Removed Python 2.7 from setup.cfg, adding 3.8-3.12 + * Add support for default value in get() + * Fix tuple key support in multi methods (regression in 1.55). + * Removing six.PY2/3 conditionals + * Removing "time" from delete and making expiry mandatory in + touch. (port of @erankor's PR in #30 ) + * Added quit() method. This method sends the 'quit' command to + the servers and then closes the connections, reducing the + number of TIME_WAIT sockets hanging around the OS. + * Allow to use a datetime.timedelta parameter for Client.set + * Allow keys to be encoded before use. + * Removing historic python 2to3 code and deprecated + socket.error (for OSError). + * Updating to the latest PSF license +- drop python-python-memcached-no-six.patch (upstream) + +------------------------------------------------------------------- Old: ---- 1.59.tar.gz python-python-memcached-no-six.patch New: ---- 1.62.tar.gz BETA DEBUG BEGIN: Old: * Updating to the latest PSF license - drop python-python-memcached-no-six.patch (upstream) BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-memcached.spec ++++++ --- /var/tmp/diff_new_pack.4QDfqt/_old 2024-02-02 15:47:53.814029406 +0100 +++ /var/tmp/diff_new_pack.4QDfqt/_new 2024-02-02 15:47:53.814029406 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-python-memcached # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,29 +16,25 @@ # -%define oldpython python +%{?sle15_python_module_pythons} Name: python-python-memcached -Version: 1.59 +Version: 1.62 Release: 0 Summary: Pure python memcached client License: Python-2.0 Group: Development/Languages/Python URL: https://github.com/linsomniac/python-memcached Source: https://github.com/linsomniac/python-memcached/archive/%{version}.tar.gz -# https://github.com/linsomniac/python-memcached/pull/186 -Patch0: python-python-memcached-no-six.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: memcached BuildRequires: python-rpm-macros BuildRequires: util-linux Requires: memcached BuildArch: noarch -%ifpython2 -Provides: %{oldpython}-memcached = %{version} -Obsoletes: %{oldpython}-memcached < %{version} -%endif %python_subpackages %description @@ -55,15 +51,13 @@ sed -i \ -e 's:#!%{_bindir}/env python::' \ memcache.py -sed -i 's/import mock/import unittest.mock as mock/' tests/test_memcache.py -# gh#linsomniac/python-memcached#185 sed -i -e '/__version__/s/[0-9.]\+/%{version}/' memcache.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -76,5 +70,5 @@ %doc README.md %{python_sitelib}/memcache.py %pycache_only %{python_sitelib}/__pycache__/memcache.*.pyc -%{python_sitelib}/python_memcached-%{version}*-info +%{python_sitelib}/python_memcached-%{version}.dist-info ++++++ 1.59.tar.gz -> 1.62.tar.gz ++++++ ++++ 1798 lines of diff (skipped)