Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
33a3af6192 |
BIN
objgraph-3.5.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
objgraph-3.5.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
objgraph-3.6.1.tar.gz
(Stored with Git LFS)
BIN
objgraph-3.6.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,23 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Sun Sep 1 19:14:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- add python313.patch:
|
|
||||||
* skip known testfailure with 3.13
|
|
||||||
- modernize spec file
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Mar 16 08:32:06 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.6.1:
|
|
||||||
* Add support for Python 3.12.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Dec 12 10:53:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.6.0:
|
|
||||||
* Add support for Python 3.9, 3.10, and 3.11.
|
|
||||||
* Drop support for Python 2.7 and 3.6.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:28:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:28:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
@@ -110,7 +90,7 @@ Wed Apr 19 16:16:46 UTC 2017 - toddrme2178@gmail.com
|
|||||||
(via the new ``output`` argument) as an alternative to a filename.
|
(via the new ``output`` argument) as an alternative to a filename.
|
||||||
* Made internal helper methods private. This includes :func:`find_chain`,
|
* Made internal helper methods private. This includes :func:`find_chain`,
|
||||||
:func:`show_graph`, :func:`obj_node_id`, :func:`obj_label`, :func:`quote`,
|
:func:`show_graph`, :func:`obj_node_id`, :func:`obj_label`, :func:`quote`,
|
||||||
:func:`long_typename`, :func:`safe_repr`, :func:`short_repr`,
|
:func:`long_typename`, :func:`safe_repr`, :func:`short_repr`,
|
||||||
:func:`gradient`, :func:`edge_label`, and :func:`_program_in_path`.
|
:func:`gradient`, :func:`edge_label`, and :func:`_program_in_path`.
|
||||||
* Correctly determine the name of old-style classes in :func:`count`,
|
* Correctly determine the name of old-style classes in :func:`count`,
|
||||||
:func:`by_type`, and graph drawing functions.
|
:func:`by_type`, and graph drawing functions.
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-objgraph
|
# spec file for package python-objgraph
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,21 +16,19 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define oldpython python
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-objgraph
|
Name: python-objgraph
|
||||||
Version: 3.6.1
|
Version: 3.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python module to draw object reference graphs with graphviz
|
Summary: Python module to draw object reference graphs with graphviz
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://mg.pov.lt/objgraph/
|
URL: http://mg.pov.lt/objgraph/
|
||||||
Source: https://files.pythonhosted.org/packages/source/o/objgraph/objgraph-%{version}.tar.gz
|
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 graphviz}
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: graphviz-gd
|
BuildRequires: graphviz-gd
|
||||||
BuildRequires: graphviz-gnome
|
BuildRequires: graphviz-gnome
|
||||||
@@ -38,6 +36,7 @@ BuildRequires: python-rpm-macros
|
|||||||
Requires: graphviz-gd
|
Requires: graphviz-gd
|
||||||
Requires: graphviz-gnome
|
Requires: graphviz-gnome
|
||||||
Requires: python-graphviz
|
Requires: python-graphviz
|
||||||
|
Obsoletes: %{oldpython}-objgraph-doc
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -48,13 +47,13 @@ graphviz is needed if pretty graphs are desired.
|
|||||||
xdot can be used for interactive use.
|
xdot can be used for interactive use.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n objgraph-%{version}
|
%setup -q -n objgraph-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -63,8 +62,6 @@ xdot can be used for interactive use.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst CHANGES.rst HACKING.rst
|
%doc README.rst CHANGES.rst HACKING.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/objgraph.py
|
%{python_sitelib}/*
|
||||||
%pycache_only %{python_sitelib}/__pycache__/objgraph*
|
|
||||||
%{python_sitelib}/objgraph-%{version}.dist-info
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -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]',
|
|
Reference in New Issue
Block a user