4 Commits

2 changed files with 15 additions and 5 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Nov 17 02:10:05 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Skip a test broken by Python 3.14 GC changes.
-------------------------------------------------------------------
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> Tue Apr 1 12:42:57 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-Pympler # spec file for package python-Pympler
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -67,18 +67,17 @@ sed -i '1{\@^#!%{_bindir}/env python@d}' pympler/asizeof.py
%check %check
# gh#pympler/pympler#134 # gh#pympler/pympler#134
skiptests="test_repr_function or test_leng" 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 # gh#pympler/pympler#163
skiptests+=" or test_edges_new or test_edges_old or test_split or test_traceback" skiptests+=" or test_edges_new or test_edges_old or test_split or test_traceback"
# python 3.14 gc changes
skiptests+=" or test_untracked_containers"
%if 0%{?qemu_user_space_build} %if 0%{?qemu_user_space_build}
# qemu does not implement process memory statistics # qemu does not implement process memory statistics
skiptests+=" or test_snapshot_members" skiptests+=" or test_snapshot_members"
%endif %endif
# skip expensive tests # skip expensive tests
export COVERAGE=1 export COVERAGE=1
%pytest -k "not ($skiptests)" %python_exec -m pytest -k "not ($skiptests)"
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE