public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pymemcache] epel10.3: Update to 4.0.0
@ 2026-09-30 11:59 Priscila Gutierres
  0 siblings, 0 replies; only message in thread
From: Priscila Gutierres @ 2026-09-30 11:59 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-pymemcache
Branch : epel10.3
Commit : a87e256acc0d769a91a3427ec692537a65bc8305
Author : Priscila Gutierres <prgutier@redhat.com>
Date   : 2023-10-08T16:40:59-03:00
Stats  : +22/-76 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pymemcache/c/a87e256acc0d769a91a3427ec692537a65bc8305?branch=epel10.3

Log:
Update to 4.0.0

---
diff --git a/.gitignore b/.gitignore
index 5a2305f..5b6106b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /pymemcache-3.3.0.tar.gz
 /pymemcache-3.4.0.tar.gz
 /pymemcache-3.5.0.tar.gz
+/pymemcache-4.0.0.tar.gz

diff --git a/0001-Skip-unit-tests-resolving-domain-names.patch b/0001-Skip-unit-tests-resolving-domain-names.patch
index cafa30a..4abb886 100644
--- a/0001-Skip-unit-tests-resolving-domain-names.patch
+++ b/0001-Skip-unit-tests-resolving-domain-names.patch
@@ -1,6 +1,6 @@
-From 0212fcf778154db020e2f6dc603b93ad131fb80f Mon Sep 17 00:00:00 2001
-From: Alfredo Moralejo <amoralej@redhat.com>
-Date: Thu, 29 Jul 2021 10:25:02 +0200
+From d8c3f4252d92de53e1b6d4da491d9d7244451d0b Mon Sep 17 00:00:00 2001
+From: Priscila Gutierres <prgutier@redhat.com>
+Date: Thu, 5 Oct 2023 09:48:40 -0300
 Subject: [PATCH] Skip unit tests resolving domain names
 
 As per [1].
@@ -11,18 +11,18 @@ As per [1].
  1 file changed, 3 insertions(+)
 
 diff --git a/pymemcache/test/test_client.py b/pymemcache/test/test_client.py
-index 8b323de..6094acb 100644
+index 22f8387..aa5ab5a 100644
 --- a/pymemcache/test/test_client.py
 +++ b/pymemcache/test/test_client.py
-@@ -1273,6 +1273,7 @@ class TestClientSocketConnect(unittest.TestCase):
-                 socket_module=MockSocketModule(),
-                 socket_keepalive=KeepaliveOpts())
+@@ -1317,6 +1317,7 @@ class TestClientSocketConnect(unittest.TestCase):
+                 socket_keepalive=KeepaliveOpts(),
+             )
  
 +    @pytest.mark.skip(reason="Cannot resolve domain names in Koji")
      def test_socket_connect_closes_on_failure(self):
          server = ("example.com", 11211)
  
-@@ -1284,6 +1285,7 @@ class TestClientSocketConnect(unittest.TestCase):
+@@ -1328,6 +1329,7 @@ class TestClientSocketConnect(unittest.TestCase):
          assert socket_module.sockets[0].connections == []
          assert socket_module.sockets[0].closed
  
@@ -30,7 +30,7 @@ index 8b323de..6094acb 100644
      def test_socket_close(self):
          server = ("example.com", 11211)
  
-@@ -1294,6 +1296,7 @@ class TestClientSocketConnect(unittest.TestCase):
+@@ -1338,6 +1340,7 @@ class TestClientSocketConnect(unittest.TestCase):
          client.close()
          assert client.sock is None
  
@@ -39,5 +39,5 @@ index 8b323de..6094acb 100644
          server = ("example.com", 11211)
  
 -- 
-2.26.2
+2.41.0
 

diff --git a/0002-Replace-mock-dependency-with-unittest.mock.patch b/0002-Replace-mock-dependency-with-unittest.mock.patch
deleted file mode 100644
index b983f97..0000000
--- a/0002-Replace-mock-dependency-with-unittest.mock.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff --git a/pymemcache/test/test_client.py b/pymemcache/test/test_client.py
-index 6094acb..6920a90 100644
---- a/pymemcache/test/test_client.py
-+++ b/pymemcache/test/test_client.py
-@@ -20,12 +20,12 @@ import errno
- import functools
- import json
- import os
--import mock
- import platform
- import re
- import socket
- import sys
- import unittest
-+from unittest import mock
- 
- import pytest
- 
-diff --git a/pymemcache/test/test_client_hash.py b/pymemcache/test/test_client_hash.py
-index ad3f2da..9bac119 100644
---- a/pymemcache/test/test_client_hash.py
-+++ b/pymemcache/test/test_client_hash.py
-@@ -5,9 +5,9 @@ from pymemcache import pool
- 
- from .test_client import ClientTestMixin, MockSocket
- import unittest
-+from unittest import mock
- import os
- import pytest
--import mock
- import socket
- 
- 
-diff --git a/pymemcache/test/test_client_retry.py b/pymemcache/test/test_client_retry.py
-index 230a941..de64a46 100644
---- a/pymemcache/test/test_client_retry.py
-+++ b/pymemcache/test/test_client_retry.py
-@@ -2,8 +2,8 @@
- 
- import functools
- import unittest
-+from unittest import mock
- 
--import mock
- import pytest
- 
- from .test_client import ClientTestMixin, MockSocket
-diff --git a/test-requirements.txt b/test-requirements.txt
-index fccd6ea..cf73af2 100644
---- a/test-requirements.txt
-+++ b/test-requirements.txt
-@@ -1,5 +1,4 @@
- future
--mock
- pytest
- pytest-cov
- gevent==20.9.0; "PyPy" not in platform_python_implementation

diff --git a/python-pymemcache.spec b/python-pymemcache.spec
index 2ec58e7..e49ddbb 100644
--- a/python-pymemcache.spec
+++ b/python-pymemcache.spec
@@ -2,17 +2,14 @@
 %global pypi_name pymemcache
 
 Name:           python-%{pypi_name}
-Version:        3.5.0
-Release:        8%{?dist}
+Version:        4.0.0
+Release:        1%{?dist}
 Summary:        A comprehensive, fast, pure Python memcached client
 
 License:        ASL 2.0
 URL:            https://github.com/Pinterest/pymemcache
 Source0:        https://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
 Patch0001:      0001-Skip-unit-tests-resolving-domain-names.patch
-# Replace mock dependency with unittest.mock from the standard library
-# Rebased from https://github.com/pinterest/pymemcache/pull/321
-Patch0002:      0002-Replace-mock-dependency-with-unittest.mock.patch
 BuildArch:      noarch
 
 %global _description\
@@ -30,12 +27,13 @@ pymemcache supports the following features:\
 
 %package -n python3-%{pypi_name}
 Summary:        A comprehensive, fast, pure Python memcached client
+BuildRequires:  git-core
 BuildRequires:  python3-devel
+BuildRequires:  python3-faker
 BuildRequires:  python3-pytest
 BuildRequires:  python3-pytest-cov
 BuildRequires:  python3-setuptools
-BuildRequires:  python3-six
-Requires:       python3-six
+BuildRequires:  python3-zstd
 
 %description -n python3-%{pypi_name}
 pymemcache supports the following features:
@@ -48,7 +46,7 @@ pymemcache supports the following features:
 * The (optional) ability to treat network and memcached errors as cache misses.
 
 %prep
-%autosetup -n %{pypi_name}-%{version} -p1
+%autosetup -n %{pypi_name}-%{version} -S git
 # Remove bundled egg-info
 rm -rf %{pypi_name}.egg-info
 
@@ -68,6 +66,10 @@ py.test-3 ./pymemcache/test/
 %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
 
 %changelog
+
+* Wed Oct 04 2023 Priscila Gutierres <prgutier@redhat.com > - 4.0.0-1
+- Update for 4.0.0
+
 * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
 

diff --git a/sources b/sources
index a5f1475..8b237fd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pymemcache-3.5.0.tar.gz) = 0244e40ae5060ad3df96ab60d239e92fe0c21d26d560ed380bed06722fd229e40d3d26e3256ff469daaf682019e05b171b11b47a1bc328e35a3d18c87d45a3fc
+SHA512 (pymemcache-4.0.0.tar.gz) = 1a19d887559630e5b991430b8206c2698909e0d6b234df0380f9da5647574560b0fdd98396959cb96670030a61f7d56fea4ecf3272b5c394fc8c31eb2144e1a3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-30 11:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 11:59 [rpms/python-pymemcache] epel10.3: Update to 4.0.0 Priscila Gutierres

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox