diff --git a/Pympler-1.0.1.tar.gz b/Pympler-1.0.1.tar.gz deleted file mode 100644 index 4fcece4..0000000 --- a/Pympler-1.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:993f1a3599ca3f4fcd7160c7545ad06310c9e12f70174ae7ae8d4e25f6c5d3fa -size 676983 diff --git a/pympler-1.1.tar.gz b/pympler-1.1.tar.gz new file mode 100644 index 0000000..a4097ac --- /dev/null +++ b/pympler-1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1eaa867cb8992c218430f1708fdaccda53df064144d1c5656b1e6f1ee6000424 +size 179954 diff --git a/python-Pympler.changes b/python-Pympler.changes index ea2fd39..3f8c9d6 100644 --- a/python-Pympler.changes +++ b/python-Pympler.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Thu Oct 24 10:17:21 UTC 2024 - Dirk Müller + +- skip tests that are going to fail with python 3.13 + +------------------------------------------------------------------- +Thu Oct 10 15:35:53 UTC 2024 - Dirk Müller + +- spec modernization + +------------------------------------------------------------------- +Tue Oct 1 08:36:51 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 1.1 + * Python 3.11 and 3.12 support + * Require pywin32 on Windows + * Update bottle.py to 0.12.25 + * Handle sizing of numpy.str and numpy.str_ + * Fix sizing of multiple objects with references to each other + ------------------------------------------------------------------- Fri Apr 21 12:21:15 UTC 2023 - Dirk Müller @@ -60,7 +80,7 @@ Wed Dec 22 00:18:12 UTC 2021 - Steve Kowalik 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. +- Use pytest to run the test suite. ------------------------------------------------------------------- Sat Feb 27 06:35:24 UTC 2021 - John Vandenberg diff --git a/python-Pympler.spec b/python-Pympler.spec index 0767b8b..f8e39fd 100644 --- a/python-Pympler.spec +++ b/python-Pympler.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pympler # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,27 +16,27 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-Pympler -Version: 1.0.1 +Version: 1.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 +Source: https://files.pythonhosted.org/packages/source/p/pympler/pympler-%{version}.tar.gz # PATCH-FIX-UPSTREAM pympler-flaky-tests.patch gh#pympler/pympler#90 mcepl@suse.com # More cycles needed with more recent versions of Python Patch0: pympler-flaky-tests.patch BuildRequires: %{python_module bottle} BuildRequires: %{python_module dbm} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildArch: noarch Requires: python-tk +BuildArch: noarch %python_subpackages %description @@ -49,7 +49,7 @@ unexpected runtime behavior like memory bloat and other "pymples" can easily be identified. %prep -%autosetup -p1 -n Pympler-%{version} +%autosetup -p1 -n pympler-%{version} # Remove bundled bottle (gh#pympler/pympler#148) rm pympler/util/bottle.py @@ -58,23 +58,26 @@ rm pympler/util/bottle.py sed -i '1{\@^#!%{_bindir}/env python@d}' pympler/asizeof.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # gh#pympler/pympler#134 -skiptests="test_repr_function" +skiptests="test_repr_function or test_leng" # gh#pympler/pympler#148 skiptests+=" or test_findgarbage or test_prune or test_get_tree" +skiptests+=" or test_findgarbage or test_prune or test_get_tree" +# gh#pympler/pympler#163 +skiptests+=" or test_edges_new or test_edges_old or test_split or test_traceback" %pytest -k "not ($skiptests)" %files %{python_files} %license LICENSE %doc README.md %{python_sitelib}/pympler -%{python_sitelib}/Pympler-%{version}*-info +%{python_sitelib}/Pympler-%{version}.dist-info %changelog