14
0

Accepting request 1037358 from home:mcalabkova:branches:devel:languages:python

- Update to 1.6.3
  * Fix logger.warn() deprecation warnings
  * Modernize tests and test harness
  * Python 3.10 support
- Remove python-pylibmc-remove-nose.patch

OBS-URL: https://build.opensuse.org/request/show/1037358
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylibmc?expand=0&rev=20
This commit is contained in:
2022-11-23 08:39:25 +00:00
committed by Git OBS Bridge
parent 81fce01ee5
commit 5c49169093
5 changed files with 14 additions and 614 deletions

View File

@@ -17,15 +17,13 @@
Name: python-pylibmc
Version: 1.6.1
Version: 1.6.3
Release: 0
Summary: memcached client for Python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/lericson/pylibmc
Source: https://files.pythonhosted.org/packages/source/p/pylibmc/pylibmc-%{version}.tar.gz
# https://github.com/lericson/pylibmc/pull/263
Patch0: python-pylibmc-remove-nose.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -46,7 +44,6 @@ binary memcached protocol.
%prep
%setup -q -n pylibmc-%{version}
%patch0 -p1
%build
export CFLAGS="%{optflags}"
@@ -66,7 +63,7 @@ else
exit 1
fi
pid=$!
%pytest_arch -k 'not testBigGetMulti'
%pytest_arch
kill $pid
%files %{python_files}