Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-objgraph for openSUSE:Factory
checked in at 2024-09-03 13:37:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-objgraph (Old)
and /work/SRC/openSUSE:Factory/.python-objgraph.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-objgraph"
Tue Sep 3 13:37:32 2024 rev:9 rq:1198176 version:3.6.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-objgraph/python-objgraph.changes
2024-03-18 16:44:09.262062996 +0100
+++
/work/SRC/openSUSE:Factory/.python-objgraph.new.2698/python-objgraph.changes
2024-09-03 13:37:47.771395900 +0200
@@ -1,0 +2,7 @@
+Sun Sep 1 19:14:13 UTC 2024 - Dirk Müller <[email protected]>
+
+- add python313.patch:
+ * skip known testfailure with 3.13
+- modernize spec file
+
+-------------------------------------------------------------------
New:
----
python313.patch
BETA DEBUG BEGIN:
New:
- add python313.patch:
* skip known testfailure with 3.13
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-objgraph.spec ++++++
--- /var/tmp/diff_new_pack.Vrzqff/_old 2024-09-03 13:37:48.443423919 +0200
+++ /var/tmp/diff_new_pack.Vrzqff/_new 2024-09-03 13:37:48.443423919 +0200
@@ -25,8 +25,12 @@
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}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: graphviz-gd
BuildRequires: graphviz-gnome
@@ -44,13 +48,13 @@
xdot can be used for interactive use.
%prep
-%setup -q -n objgraph-%{version}
+%autosetup -p1 -n objgraph-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -59,5 +63,7 @@
%files %{python_files}
%doc README.rst CHANGES.rst HACKING.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/objgraph.py
+%pycache_only %{python_sitelib}/__pycache__/objgraph*
+%{python_sitelib}/objgraph-%{version}.dist-info
++++++ python313.patch ++++++
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]',