Sync from SUSE:SLFO:Main python-objgraph revision da9e797cb9b6c8ad88f90c78df2cae26

This commit is contained in:
2025-05-17 15:51:22 +02:00
parent 3e95aafbd3
commit 9f681f8542
5 changed files with 12 additions and 19 deletions

BIN
objgraph-3.6.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
objgraph-3.6.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 10 10:13:44 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.6.2
* Add support for Python 3.13.
- Drop python313.patch, fixed upstream
-------------------------------------------------------------------
Sun Sep 1 19:14:13 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-objgraph
#
# Copyright (c) 2024 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
@@ -18,15 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-objgraph
Version: 3.6.1
Version: 3.6.2
Release: 0
Summary: Python module to draw object reference graphs with graphviz
License: MIT
Group: Development/Languages/Python
URL: http://mg.pov.lt/objgraph/
Source: https://files.pythonhosted.org/packages/source/o/objgraph/objgraph-%{version}.tar.gz
# see https://github.com/mgedmin/objgraph/issues/80
Patch1: python313.patch
BuildRequires: %{python_module graphviz}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}

View File

@@ -1,12 +0,0 @@
Index: objgraph-3.6.1/tests.py
===================================================================
--- objgraph-3.6.1.orig/tests.py
+++ objgraph-3.6.1/tests.py
@@ -465,6 +465,7 @@ class StringRepresentationTest(GarbageCo
objgraph._gradient((0.1, 0.2, 0.3),
(0.2, 0.3, 0.4), 0, 0))
+ @skipIf(sys.version_info[1] > 12, "Python 3.13 fails with error here (gh#mgedmin/objgraph#80)")
def test_edge_label_frame_locals(self):
frame = sys._getframe()
self.assertEqual(' [label="f_locals",weight=10]',