public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pymemcache] epel10.3: Update to 3.4.0 (#1163328)
@ 2026-09-30 11:59 Joel Capitao
0 siblings, 0 replies; only message in thread
From: Joel Capitao @ 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 : 4b2593fe1fff6e9b00870ec5f086f58ad34db8a1
Author : Joel Capitao <jcapitao@redhat.com>
Date : 2021-02-02T12:31:35+01:00
Stats : +52/-4 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-pymemcache/c/4b2593fe1fff6e9b00870ec5f086f58ad34db8a1?branch=epel10.3
Log:
Update to 3.4.0 (#1163328)
---
diff --git a/.gitignore b/.gitignore
index 5426615..4db0976 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/pymemcache-1.2.5.tar.gz
/pymemcache-2.1.1.tar.gz
/pymemcache-3.3.0.tar.gz
+/pymemcache-3.4.0.tar.gz
diff --git a/0001-Skip-unit-tests-resolving-domain-names.patch b/0001-Skip-unit-tests-resolving-domain-names.patch
new file mode 100644
index 0000000..fe5e3f6
--- /dev/null
+++ b/0001-Skip-unit-tests-resolving-domain-names.patch
@@ -0,0 +1,43 @@
+From d24e9404305b9d5bbaa3e199fde02eba7be8b10d Mon Sep 17 00:00:00 2001
+From: Joel Capitao <jcapitao@redhat.com>
+Date: Tue, 2 Feb 2021 12:27:08 +0100
+Subject: [PATCH] Skip unit tests resolving domain names
+
+As per [1].
+
+[1] https://fedoraproject.org/wiki/Using_Mock_to_test_package_builds#Disable_domain_name_resolution
+---
+ pymemcache/test/test_client.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/pymemcache/test/test_client.py b/pymemcache/test/test_client.py
+index 7d99126..adacb88 100644
+--- a/pymemcache/test/test_client.py
++++ b/pymemcache/test/test_client.py
+@@ -1139,6 +1139,7 @@ class TestClientSocketConnect(unittest.TestCase):
+ client._connect()
+ assert client.sock.family == socket.AF_UNIX
+
++ @pytest.mark.skip(reason="Cannot resolve domain names in Koji")
+ def test_socket_connect_closes_on_failure(self):
+ server = ("example.com", 11211)
+
+@@ -1150,6 +1151,7 @@ class TestClientSocketConnect(unittest.TestCase):
+ assert socket_module.sockets[0].connections == []
+ assert socket_module.sockets[0].closed
+
++ @pytest.mark.skip(reason="Cannot resolve domain names in Koji")
+ def test_socket_close(self):
+ server = ("example.com", 11211)
+
+@@ -1160,6 +1162,7 @@ class TestClientSocketConnect(unittest.TestCase):
+ client.close()
+ assert client.sock is None
+
++ @pytest.mark.skip(reason="Cannot resolve domain names in Koji")
+ def test_socket_close_exception(self):
+ server = ("example.com", 11211)
+
+--
+2.26.2
+
diff --git a/python-pymemcache.spec b/python-pymemcache.spec
index 0c222dc..fd5485c 100644
--- a/python-pymemcache.spec
+++ b/python-pymemcache.spec
@@ -2,13 +2,14 @@
%global pypi_name pymemcache
Name: python-%{pypi_name}
-Version: 3.3.0
-Release: 2%{?dist}
+Version: 3.4.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
BuildArch: noarch
%global _description\
@@ -45,7 +46,7 @@ pymemcache supports the following features:
* The (optional) ability to treat network and memcached errors as cache misses.
%prep
-%setup -q -n %{pypi_name}-%{version}
+%autosetup -n %{pypi_name}-%{version} -p1
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
@@ -65,6 +66,9 @@ py.test-3 ./pymemcache/test/
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%changelog
+* Mon Feb 01 2021 Joel Capitao <jcapitao@redhat.com> - 3.4.0-1
+- Update to 3.4.0 (#1163328)
+
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
diff --git a/sources b/sources
index c538e19..7becdb8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pymemcache-3.3.0.tar.gz) = 4cbeca1768155a83c8618013acac1a854e38e751fd22cb5945c18b1ccca4474871b95e49ff0f0d0d8b0e5eeab4e88835324c4199e0e1d4165c9bb54bc4a9f013
+SHA512 (pymemcache-3.4.0.tar.gz) = 6910c1100afe2e3ef43703fe6be724f709958b32af8665ca72df59e76f2f0953071d473ad7370d5e341357b5f4d5a103b1ccf9a9bac2c0f49ccd9293bc73c09d
^ 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 3.4.0 (#1163328) Joel Capitao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox