public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pymemcache] epel10.3: Run unit tests under tox
@ 2026-09-30 11:59 Steve Traylen
0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 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 : 7ffdc6c897baef4ba001edaffda51f910124d3b6
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-05-28T16:25:26+02:00
Stats : +7/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pymemcache/c/7ffdc6c897baef4ba001edaffda51f910124d3b6?branch=epel10.3
Log:
Run unit tests under tox
- Disable coverage testing
---
diff --git a/python-pymemcache.spec b/python-pymemcache.spec
index 3d4a889..e8d7e98 100644
--- a/python-pymemcache.spec
+++ b/python-pymemcache.spec
@@ -6,7 +6,6 @@ Version: 4.0.0
Release: %autorelease
Summary: A comprehensive, fast, pure Python memcached client
-# Automatically converted from old format: ASL 2.0 - review is highly recommended.
License: Apache-2.0
URL: https://github.com/Pinterest/pymemcache
Source0: https://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
@@ -42,6 +41,9 @@ Summary: A comprehensive, fast, pure Python memcached client
%prep
%autosetup -n %{pypi_name}-%{version} -S git
+# Drop coverage modules and tests
+sed -i '/pytest-cov/d' test-requirements.txt
+sed -i '/--cov/d' setup.cfg
%generate_buildrequires
%pyproject_buildrequires -t
@@ -58,11 +60,13 @@ Summary: A comprehensive, fast, pure Python memcached client
%check
-py.test-3 ./pymemcache/test/
+%tox
%files -n python3-%{pypi_name} -f %{pyproject_files}
-%doc README.rst LICENSE.txt
+%doc README.rst
+%doc ChangeLog.rst
+%license LICENSE.txt
%changelog
^ 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: Run unit tests under tox Steve Traylen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox