Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-pymemcache"

Tue Dec 13 18:55:09 2022 rev:15 rq:1042435 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pymemcache/python-pymemcache.changes      
2022-04-08 00:29:05.777392730 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pymemcache.new.1835/python-pymemcache.changes
    2022-12-13 18:55:22.531173871 +0100
@@ -1,0 +2,34 @@
+Mon Dec 12 17:10:07 UTC 2022 - Daniel Garcia <[email protected]>
+
+- Disable broken tests in i586.
+
+-------------------------------------------------------------------
+Wed Dec  7 13:33:02 UTC 2022 - Daniel Garcia <[email protected]>
+
+- Fix launch of memcached for tests
+
+-------------------------------------------------------------------
+Wed Dec  7 13:11:08 UTC 2022 - Daniel Garcia <[email protected]>
+
+- Remove python-pymemcache-no-mock.patch
+- More specific python_sitelib in %files
+- Remove python_module macro definition
+- Update to 4.0.0:
+  * Drop python support for 2.7, 3.4 and 3.5 by @jogo in #321
+  * Use default for get ignore_exc by @jogo in #351
+  * Return default from hash client by @Pankrat in #352
+  * Return default from hash client when using positional argument by @Pankrat
+    in #354
+  * Support noreply for hash flush_all by @jogo in #361
+  * Drop support for Python 3.6 by @jparise in #363
+  * Add official support for Python 3.10 by @jparise in #365
+  * Handle a blank stat value by @liquidpele in #388
+  * Small buffer pass optimization as discussed in #395. by @martinnj in #402
+  * Expand Client with a method for sending arbitrary commands. by @martinnj in
+    #395
+  * add pluggable compression serde by @sontek in #407
+  * Start to add type hints by @jogo in #415
+  * Add py.typed file by @jogo in #421
+  * Fix key_prefix issue with stats and cache_memlimit by @jogo in #433
+
+-------------------------------------------------------------------

Old:
----
  pymemcache-3.5.2.tar.gz
  python-pymemcache-no-mock.patch

New:
----
  pymemcache-4.0.0.tar.gz

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

Other differences:
------------------
++++++ python-pymemcache.spec ++++++
--- /var/tmp/diff_new_pack.pdCtp0/_old  2022-12-13 18:55:23.175177307 +0100
+++ /var/tmp/diff_new_pack.pdCtp0/_new  2022-12-13 18:55:23.179177328 +0100
@@ -17,30 +17,27 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-pymemcache
-Version:        3.5.2
+Version:        4.0.0
 Release:        0
 Summary:        A pure Python memcached client
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://github.com/Pinterest/pymemcache
 Source:         
https://files.pythonhosted.org/packages/source/p/pymemcache/pymemcache-%{version}.tar.gz
-# 
https://github.com/pinterest/pymemcache/commit/0bf1baa4f539dedf8e4e4b2e48f8da5d66ed57b5
-Patch0:         python-pymemcache-no-mock.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  memcached
 BuildRequires:  python-rpm-macros
-Requires:       python-six
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module gevent}
+BuildRequires:  %{python_module Faker}
 BuildRequires:  %{python_module pylibmc}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-memcached}
-BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module zstd}
 # /SECTION
 %if %{with python2}
 BuildRequires:  python-future
@@ -74,14 +71,32 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%{_sbindir}/memcached &
+if [ -f %{_sbindir}/memcached ]; then
+  %{_sbindir}/memcached &
+elif [ -f %{_bindir}/memcached ]; then
+  %{_bindir}/memcached &
+fi
+
+cat << EOF > pytest.ini
+[pytest]
+markers =
+       unit
+       integration
+       benchmark
+EOF
+
 # TLS tests depend on setting up a memcached equivalent to
 # https://github.com/scoriacorp/docker-tls-memcached
-%pytest -rs -k 'not tls'
+donttest="tls"
+# In i586 zlib.compress doesn't compress the CustomInt instance so these tests
+# fails
+donttest+=" or test_compressed_complex"
+%pytest -rs -k "not (${donttest})" -m "unit or integration"
 
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/pymemcache
+%{python_sitelib}/pymemcache-%{version}*-info
 
 %changelog

++++++ pymemcache-3.5.2.tar.gz -> pymemcache-4.0.0.tar.gz ++++++
++++ 7826 lines of diff (skipped)

Reply via email to