14 Commits

Author SHA256 Message Date
e236ce2c15 Accepting request 1286889 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1286889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pympler?expand=0&rev=13
2025-06-20 14:48:25 +00:00
3288ef371a Accepting request 1286888 from home:mcalabkova:branches:devel:languages:python
- Workaround test failure with recent libalternatives changes
  and revisit skipped tests

OBS-URL: https://build.opensuse.org/request/show/1286888
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=35
2025-06-19 09:57:49 +00:00
3d4495559f Accepting request 1266146 from devel:languages:python
- Make the dist-info name case-insensitive

- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1266146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pympler?expand=0&rev=12
2025-04-11 14:45:00 +00:00
2daabfaee0 - Make the dist-info name case-insensitive
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=33
2025-04-01 12:43:17 +00:00
649e54a0ec - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=32
2025-03-25 06:12:20 +00:00
991e66b1ee Accepting request 1227178 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1227178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pympler?expand=0&rev=11
2024-11-30 12:27:19 +00:00
40882fd4ba Accepting request 1227139 from home:Andreas_Schwab:Factory
- Set COVERAGE to skip expensive tests
- Skip test_snapshot_members in qemu build

OBS-URL: https://build.opensuse.org/request/show/1227139
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=30
2024-11-28 17:48:19 +00:00
6a2c24f7bd Accepting request 1226793 from devel:languages:python
- Disable test_otracker_diff on aarch64 as it randomly makes the
  check to fail due to worker slowness

OBS-URL: https://build.opensuse.org/request/show/1226793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pympler?expand=0&rev=10
2024-11-27 21:06:24 +00:00
100cdc36e7 Accepting request 1226507 from home:Guillaume_G:branches:devel:languages:python
- Disable test_otracker_diff on aarch64 as it randomly makes the
  check to fail due to worker slowness

OBS-URL: https://build.opensuse.org/request/show/1226507
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=28
2024-11-27 06:01:23 +00:00
5aafde14fb Accepting request 1219551 from devel:languages:python
- skip tests that are going to fail with python 3.13

- spec modernization

- 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

- Use pytest to run the test suite.

OBS-URL: https://build.opensuse.org/request/show/1219551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pympler?expand=0&rev=9
2024-11-01 20:00:39 +00:00
24605fde0a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=26 2024-10-29 22:09:04 +00:00
304abf7b6a - skip tests that are going to fail with python 3.13
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=25
2024-10-24 10:17:34 +00:00
3b91e49d1a - spec modernization
- Use pytest to run the test suite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=24
2024-10-10 15:36:02 +00:00
3ce550f396 Accepting request 1204901 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1204901
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=23
2024-10-01 12:14:41 +00:00
4 changed files with 72 additions and 18 deletions

Binary file not shown.

BIN
pympler-1.1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,51 @@
-------------------------------------------------------------------
Thu Jun 19 09:51:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Workaround test failure with recent libalternatives changes
and revisit skipped tests
-------------------------------------------------------------------
Tue Apr 1 12:42:57 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Make the dist-info name case-insensitive
-------------------------------------------------------------------
Tue Mar 25 06:12:02 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Lowercase metadata directory name.
-------------------------------------------------------------------
Thu Nov 28 11:42:05 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Set COVERAGE to skip expensive tests
- Skip test_snapshot_members in qemu build
-------------------------------------------------------------------
Mon Nov 25 17:03:38 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Disable test_otracker_diff on aarch64 as it randomly makes the
check to fail due to worker slowness
-------------------------------------------------------------------
Thu Oct 24 10:17:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
- skip tests that are going to fail with python 3.13
-------------------------------------------------------------------
Thu Oct 10 15:35:53 UTC 2024 - Dirk Müller <dmueller@suse.com>
- spec modernization
-------------------------------------------------------------------
Tue Oct 1 08:36:51 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <dmueller@suse.com>
@@ -60,7 +108,7 @@ Wed Dec 22 00:18:12 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
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 <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Pympler
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 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,29 @@ 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"
# gh#pympler/pympler#148
skiptests+=" or test_findgarbage or test_prune or test_get_tree"
%pytest -k "not ($skiptests)"
skiptests="test_repr_function or test_leng"
# gh#pympler/pympler#163
skiptests+=" or test_edges_new or test_edges_old or test_split or test_traceback"
%if 0%{?qemu_user_space_build}
# qemu does not implement process memory statistics
skiptests+=" or test_snapshot_members"
%endif
# skip expensive tests
export COVERAGE=1
%python_exec -m pytest -k "not ($skiptests)"
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/pympler
%{python_sitelib}/Pympler-%{version}*-info
%{python_sitelib}/[pP]ympler-%{version}.dist-info
%changelog