commit python-Pympler for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Pympler for openSUSE:Factory checked in at 2023-04-22 22:02:34 Comparing /work/SRC/openSUSE:Factory/python-Pympler (Old) and /work/SRC/openSUSE:Factory/.python-Pympler.new.1533 (New) Package is "python-Pympler" Sat Apr 22 22:02:34 2023 rev:8 rq:1082025 version:1.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-Pympler/python-Pympler.changes 2022-10-28 19:28:40.858375766 +0200 +++ /work/SRC/openSUSE:Factory/.python-Pympler.new.1533/python-Pympler.changes 2023-04-22 22:03:25.258278445 +0200 @@ -1,0 +2,5 @@ +Fri Apr 21 12:21:15 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +--- Other differences: -- ++ python-Pympler.spec ++ --- /var/tmp/diff_new_pack.VyyB4h/_old 2023-04-22 22:03:25.678280956 +0200 +++ /var/tmp/diff_new_pack.VyyB4h/_new 2023-04-22 22:03:25.686281004 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Pympler # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,6 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-Pympler Version:1.0.1 Release:0
commit python-Pympler for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Pympler for openSUSE:Factory checked in at 2022-10-28 19:28:37 Comparing /work/SRC/openSUSE:Factory/python-Pympler (Old) and /work/SRC/openSUSE:Factory/.python-Pympler.new.2275 (New) Package is "python-Pympler" Fri Oct 28 19:28:37 2022 rev:7 rq:1031839 version:1.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-Pympler/python-Pympler.changes 2022-10-27 13:53:20.296312232 +0200 +++ /work/SRC/openSUSE:Factory/.python-Pympler.new.2275/python-Pympler.changes 2022-10-28 19:28:40.858375766 +0200 @@ -1,0 +2,16 @@ +Thu Oct 27 23:11:41 UTC 2022 - Matej Cepl + +- Add _constraints + +--- +Thu Oct 27 22:51:11 UTC 2022 - Matej Cepl + +- Clean up SPEC file. + +--- +Thu Oct 27 12:15:13 UTC 2022 - Matej Cepl + +- Remove no-inspect-getargspec.patch, because we unbundle + bottle.py (gh#pympler/pympler#148). + +--- Old: no-inspect-getargspec.patch New: _constraints Other differences: -- ++ python-Pympler.spec ++ --- /var/tmp/diff_new_pack.PGL86H/_old 2022-10-28 19:28:41.402378494 +0200 +++ /var/tmp/diff_new_pack.PGL86H/_new 2022-10-28 19:28:41.410378535 +0200 @@ -28,15 +28,14 @@ # PATCH-FIX-UPSTREAM pympler-flaky-tests.patch gh#pympler/pympler#90 mc...@suse.com # More cycles needed with more recent versions of Python Patch0: pympler-flaky-tests.patch -# PATCH-FIX-UPSTREAM no-inspect-getargspec.patch gh#pympler/pympler#148 mc...@suse.com -# Replaced removed method inspect.getargspec -Patch1: no-inspect-getargspec.patch +BuildRequires: %{python_module bottle} BuildRequires: %{python_module dbm} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch +Requires: python-tk %python_subpackages %description @@ -51,6 +50,12 @@ %prep %autosetup -p1 -n Pympler-%{version} +# Remove bundled bottle (gh#pympler/pympler#148) +rm pympler/util/bottle.py + +# Remove unnecessary shebang +sed -i '1{\@^#!%{_bindir}/env python@d}' pympler/asizeof.py + %build %python_build @@ -68,6 +73,7 @@ %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/pympler +%{python_sitelib}/Pympler-%{version}*-info %changelog ++ _constraints ++ 6 12
commit python-Pympler for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Pympler for openSUSE:Factory checked in at 2022-10-27 13:53:04 Comparing /work/SRC/openSUSE:Factory/python-Pympler (Old) and /work/SRC/openSUSE:Factory/.python-Pympler.new.2275 (New) Package is "python-Pympler" Thu Oct 27 13:53:04 2022 rev:6 rq:1031404 version:1.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-Pympler/python-Pympler.changes 2022-06-09 14:09:31.644345807 +0200 +++ /work/SRC/openSUSE:Factory/.python-Pympler.new.2275/python-Pympler.changes 2022-10-27 13:53:20.296312232 +0200 @@ -1,0 +2,12 @@ +Wed Oct 26 21:16:00 UTC 2022 - Matej Cepl + +- Reorganize skipping of failing tests. + +--- +Wed Oct 26 12:37:21 UTC 2022 - Matej Cepl + +- Add no-inspect-getargspec.patch porting out deprecated + (and in 3.11 removed) method inspect.getargspec + (gh#pympler/pympler#148). + +--- New: no-inspect-getargspec.patch Other differences: -- ++ python-Pympler.spec ++ --- /var/tmp/diff_new_pack.y3RuAv/_old 2022-10-27 13:53:20.744314517 +0200 +++ /var/tmp/diff_new_pack.y3RuAv/_new 2022-10-27 13:53:20.748314538 +0200 @@ -25,7 +25,12 @@ License:Apache-2.0 URL:https://github.com/pympler/pympler Source: https://files.pythonhosted.org/packages/source/P/Pympler/Pympler-%{version}.tar.gz +# PATCH-FIX-UPSTREAM pympler-flaky-tests.patch gh#pympler/pympler#90 mc...@suse.com +# More cycles needed with more recent versions of Python Patch0: pympler-flaky-tests.patch +# PATCH-FIX-UPSTREAM no-inspect-getargspec.patch gh#pympler/pympler#148 mc...@suse.com +# Replaced removed method inspect.getargspec +Patch1: no-inspect-getargspec.patch BuildRequires: %{python_module dbm} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -44,8 +49,7 @@ can easily be identified. %prep -%setup -q -n Pympler-%{version} -%patch0 -p1 +%autosetup -p1 -n Pympler-%{version} %build %python_build @@ -55,7 +59,11 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -k 'not (test_otracker_diff or test_repr_function or test_stracker or test_snapshot_members or test_charts)' +# gh#pympler/pympler#134 +skiptests="test_repr_function" +# gh#pympler/pympler#148 +skiptests+=" or test_findgarbage or test_prune or test_get_tree" +%pytest -k "not ($skiptests)" %files %{python_files} %license LICENSE ++ no-inspect-getargspec.patch ++ --- pympler/util/bottle.py |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/pympler/util/bottle.py +++ b/pympler/util/bottle.py @@ -41,7 +41,7 @@ import base64, cgi, email.utils, functoo from datetime import date as datedate, datetime, timedelta from tempfile import TemporaryFile from traceback import format_exc, print_exc -from inspect import getargspec +from inspect import getfullargspec from unicodedata import normalize @@ -554,7 +554,7 @@ class Route(object): ''' Return a list of argument names the callback (most likely) accepts as keyword arguments. If the callback is a decorated function, try to recover the original function before inspection. ''' -return getargspec(self.get_undecorated_callback())[0] +return getfullargspec(self.get_undecorated_callback())[0] def get_config(self, key, default=None): ''' Lookup a config field and return its value, first checking the @@ -2645,7 +2645,7 @@ def yieldroutes(func): d(x=5, y=6) -> '/d' and '/d/' and '/d//' """ path = '/' + func.__name__.replace('__','/').lstrip('/') -spec = getargspec(func) +spec = getfullargspec(func) argc = len(spec[0]) - len(spec[3] or []) path += ('/<%s>' * argc) % tuple(spec[0][:argc]) yield path ++ pympler-flaky-tests.patch ++ --- /var/tmp/diff_new_pack.y3RuAv/_old 2022-10-27 13:53:20.792314762 +0200 +++ /var/tmp/diff_new_pack.y3RuAv/_new 2022-10-27 13:53:20.796314783 +0200 @@ -1,8 +1,10 @@ -Index: Pympler-0.7/test/asizeof/test_asizeof.py -=== Pympler-0.7.orig/test/asizeof/test_asizeof.py -+++ Pympler-0.7/test/asizeof/test_asizeof.py -@@ -197,8 +197,8 @@ class TypesTest(unittest.TestCase): +--- + test/asizeof/test_asizeof.py |4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/test/asizeof/test_asizeof.py b/test/asizeof/test_asizeof.py +@@ -193,8 +193,8 @@ class TypesTest(unittest.TestCase): s = asizeof.asizeof(all=True, code=True) c = gc.collect() #
commit python-Pympler for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Pympler for openSUSE:Factory checked in at 2022-06-09 14:09:23 Comparing /work/SRC/openSUSE:Factory/python-Pympler (Old) and /work/SRC/openSUSE:Factory/.python-Pympler.new.1548 (New) Package is "python-Pympler" Thu Jun 9 14:09:23 2022 rev:5 rq:981274 version:1.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-Pympler/python-Pympler.changes 2021-12-23 17:53:34.863712854 +0100 +++ /work/SRC/openSUSE:Factory/.python-Pympler.new.1548/python-Pympler.changes 2022-06-09 14:09:31.644345807 +0200 @@ -1,0 +2,12 @@ +Wed Jun 8 08:24:18 UTC 2022 - Matej Cepl + +- Add BR for python-dbm to make build working on 15.*. + +--- +Tue Jun 7 17:59:15 UTC 2022 - Marcus Rueckert + +- Update to 1.0.1: + - The resource module is only available on Unix, the mmap module +is also available on Windows. + +--- Old: Pympler-1.0.tar.gz New: Pympler-1.0.1.tar.gz Other differences: -- ++ python-Pympler.spec ++ --- /var/tmp/diff_new_pack.umyh5h/_old 2022-06-09 14:09:32.204346558 +0200 +++ /var/tmp/diff_new_pack.umyh5h/_new 2022-06-09 14:09:32.208346563 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Pympler # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-Pympler -Version:1.0 +Version:1.0.1 Release:0 Summary:A tool to analyze the memory behavior of Python objects License:Apache-2.0 URL:https://github.com/pympler/pympler Source: https://files.pythonhosted.org/packages/source/P/Pympler/Pympler-%{version}.tar.gz Patch0: pympler-flaky-tests.patch +BuildRequires: %{python_module dbm} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes ++ Pympler-1.0.tar.gz -> Pympler-1.0.1.tar.gz ++ 2459 lines of diff (skipped)
commit python-Pympler for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Pympler for openSUSE:Factory checked in at 2021-12-23 17:53:28 Comparing /work/SRC/openSUSE:Factory/python-Pympler (Old) and /work/SRC/openSUSE:Factory/.python-Pympler.new.2520 (New) Package is "python-Pympler" Thu Dec 23 17:53:28 2021 rev:4 rq:942029 version:1.0 Changes: --- /work/SRC/openSUSE:Factory/python-Pympler/python-Pympler.changes 2021-03-05 13:44:56.691604116 +0100 +++ /work/SRC/openSUSE:Factory/.python-Pympler.new.2520/python-Pympler.changes 2021-12-23 17:53:34.863712854 +0100 @@ -1,0 +2,19 @@ +Wed Dec 22 00:18:12 UTC 2021 - Steve Kowalik + +- Update to 1.0: + * Added ++ Python 3.10 support ++ Added type annotations to various Pympler modules which are checked via + Mypy + * Removed ++ Python 2.7 and 3.5 support + * Fixed ++ Fix summarizing objects at higher verbosity levels -- By Colin Watson ++ Fix tree widget import for Python 3.5 and higher -- By Felix Jung (#77) ++ Fix compatibility issues with numpy 1.19 and later -- By Jean + Brouwers (#121) ++ Fix object filtering by size in muppy -- By Kris Jurka ++ Fix documentation typos -- By Tim Gates +- Use pytest to run the test suite. + +--- Old: Pympler-0.9.tar.gz New: Pympler-1.0.tar.gz Other differences: -- ++ python-Pympler.spec ++ --- /var/tmp/diff_new_pack.YDpNS4/_old 2021-12-23 17:53:35.355713158 +0100 +++ /var/tmp/diff_new_pack.YDpNS4/_new 2021-12-23 17:53:35.359713161 +0100 @@ -18,14 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Pympler -Version:0.9 +Version:1.0 Release:0 Summary:A tool to analyze the memory behavior of Python objects License:Apache-2.0 -Group: Development/Languages/Python URL:https://github.com/pympler/pympler Source: https://files.pythonhosted.org/packages/source/P/Pympler/Pympler-%{version}.tar.gz Patch0: pympler-flaky-tests.patch +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,7 +53,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python setup.py test +%pytest -k 'not (test_otracker_diff or test_repr_function or test_stracker or test_snapshot_members or test_charts)' %files %{python_files} %license LICENSE ++ Pympler-0.9.tar.gz -> Pympler-1.0.tar.gz ++ 30656 lines of diff (skipped)
commit python-Pympler for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Pympler for openSUSE:Factory checked in at 2021-03-05 13:44:45 Comparing /work/SRC/openSUSE:Factory/python-Pympler (Old) and /work/SRC/openSUSE:Factory/.python-Pympler.new.2378 (New) Package is "python-Pympler" Fri Mar 5 13:44:45 2021 rev:3 rq:875641 version:0.9 Changes: --- /work/SRC/openSUSE:Factory/python-Pympler/python-Pympler.changes 2019-11-29 15:55:43.345012804 +0100 +++ /work/SRC/openSUSE:Factory/.python-Pympler.new.2378/python-Pympler.changes 2021-03-05 13:44:56.691604116 +0100 @@ -1,0 +2,10 @@ +Sat Feb 27 06:35:24 UTC 2021 - John Vandenberg + +- Update to v0.9 + * Added Python 3.9 support + * Added compatibility with Django 3.x + * Removed Python 3.4 support + * Include size of data when sizing Numpy slices + * Fix KeyError when sizing dicts in certain scenarios + +--- Old: Pympler-0.8.tar.gz New: Pympler-0.9.tar.gz Other differences: -- ++ python-Pympler.spec ++ --- /var/tmp/diff_new_pack.2iC87O/_old 2021-03-05 13:44:57.167604548 +0100 +++ /var/tmp/diff_new_pack.2iC87O/_new 2021-03-05 13:44:57.167604548 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Pympler # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Pympler -Version:0.8 +Version:0.9 Release:0 Summary:A tool to analyze the memory behavior of Python objects License:Apache-2.0 ++ Pympler-0.8.tar.gz -> Pympler-0.9.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pympler-0.8/PKG-INFO new/Pympler-0.9/PKG-INFO --- old/Pympler-0.8/PKG-INFO2019-11-12 20:30:59.0 +0100 +++ new/Pympler-0.9/PKG-INFO2020-10-14 22:25:08.618607000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Pympler -Version: 0.8 +Version: 0.9 Summary: A development tool to measure, monitor and analyze the memory behavior of Python objects. Home-page: https://github.com/pympler/pympler Author: Jean Brouwers, Ludwig Haehne, Robert Schuppenies @@ -24,8 +24,8 @@ visualisation and class tracker statistics. Pympler is written entirely in Python, with no dependencies to -external libraries. It has been tested with Python 2.7, 3.4, 3.5, 3.6, -3.7, 3.8 on Linux, Windows and MacOS X. +external libraries. It has been tested with Python 2.7, 3.5, 3.6, +3.7, 3.8, 3.9 on Linux, Windows and MacOS X. Platform: any Classifier: Development Status :: 4 - Beta @@ -37,9 +37,9 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Classifier: Topic :: Software Development :: Bug Tracking diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pympler-0.8/README.md new/Pympler-0.9/README.md --- old/Pympler-0.8/README.md 2019-11-12 20:26:23.0 +0100 +++ new/Pympler-0.9/README.md 2020-10-14 21:45:43.323665400 +0200 @@ -11,8 +11,8 @@ If any errors are reported, check whether your Python version is supported. Pympler is written entirely in Python, with no dependencies other than standard -Python modules and libraries. Pympler works with Python 2.7, 3.4, 3.5, 3.6, 3.7 -and 3.8. +Python modules and libraries. Pympler works with Python 2.7, 3.5, 3.6, 3.7, 3.8 +and 3.9. Installation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pympler-0.8/pympler/asizeof.py new/Pympler-0.9/pympler/asizeof.py --- old/Pympler-0.8/pympler/asizeof.py 2019-11-10 22:31:55.0 +0100 +++ new/Pympler-0.9/pympler/asizeof.py 2020-10-14 15:39:09.796495000 +0200 @@ -203,7 +203,7 @@ __all__ = ['adict', 'asized', 'asizeof', 'asizesof', 'Asized', 'Asizer', # classes 'basicsize', 'flatsize', 'itemsize', 'leng', 'refs'] -__version__ = '19.03.29' +__version__ = '20.06.04' # Any classes or types in modules listed in _builtin_modules are # considered