diff --git a/Pympler-0.9.tar.gz b/Pympler-0.9.tar.gz deleted file mode 100644 index 81b347e..0000000 Binary files a/Pympler-0.9.tar.gz and /dev/null differ diff --git a/Pympler-1.0.1.tar.gz b/Pympler-1.0.1.tar.gz new file mode 100644 index 0000000..180df71 Binary files /dev/null and b/Pympler-1.0.1.tar.gz differ diff --git a/fix-collections.MutableMapping-no-support-for-python-3.10.patch b/fix-collections.MutableMapping-no-support-for-python-3.10.patch deleted file mode 100644 index ed8f49d..0000000 --- a/fix-collections.MutableMapping-no-support-for-python-3.10.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Nur a/pympler/util/bottle.py b/pympler/util/bottle.py ---- a/pympler/util/bottle.py 2019-04-07 00:39:01.308185000 +0800 -+++ b/pympler/util/bottle.py 2022-05-17 10:10:10.356385260 +0800 -@@ -84,7 +84,10 @@ - from urllib.parse import urlencode, quote as urlquote, unquote as urlunquote - urlunquote = functools.partial(urlunquote, encoding='latin1') - from http.cookies import SimpleCookie -- from collections import MutableMapping as DictMixin -+ try: -+ from collections.abc import MutableMapping as DictMixin -+ except: -+ from collections import MutableMapping as DictMixin - import pickle - from io import BytesIO - from configparser import ConfigParser diff --git a/python-Pympler.spec b/python-Pympler.spec index 1e91100..4ef245f 100644 --- a/python-Pympler.spec +++ b/python-Pympler.spec @@ -1,14 +1,14 @@ %global _empty_manifest_terminate_build 0 %global pname Pympler Name: python-%{pname} -Version: 0.9 -Release: 4 +Version: 1.0.1 +Release: 1 Summary: A development tool to measure, monitor and analyze the memory behavior of Python objects. License: Apache-2.0 and MIT URL: https://github.com/pympler/pympler -Source0: https://files.pythonhosted.org/packages/e8/e2/2f3a086701bb62b1c478a3921836271177838a3c98cdc6b82c3bb36d3854/Pympler-0.9.tar.gz -Patch0: fix-collections.MutableMapping-no-support-for-python-3.10.patch +Source0: https://files.pythonhosted.org/packages/12/b7/9d17fbb2fde0b035dbd27e5d82dfbcd3fa990cf5a469cef8e89712d16113/Pympler-1.0.1.tar.gz BuildArch: noarch + %description Pympler is a development tool to measure, monitor and analyze the memory behavior of Python objects in a running Python application.By pympling a Python @@ -55,14 +55,13 @@ line monitoring of a Python application and the class tracker provides off-line analysis of the lifetime of selected Python objects. %prep -%autosetup -n Pympler-0.9 -p1 +%autosetup -n Pympler-%{version} -p1 %build %py3_build %install %py3_install - install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -93,13 +92,15 @@ mv %{buildroot}/doclist.lst . %{__python3} setup.py try %files -n python3-%{pname} -f filelist.lst - %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog +* Tue Dec 06 2022 jiangxinyu - 1.0.1-1 +- Update package to version 1.0.1 + * Thu Aug 18 2022 wulei - 0.9-4 - Fix check assertionerror