Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-networkx for openSUSE:Factory
checked in at 2021-02-01 13:27:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-networkx (Old)
and /work/SRC/openSUSE:Factory/.python-networkx.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-networkx"
Mon Feb 1 13:27:14 2021 rev:26 rq:867976 version:2.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-networkx/python-networkx.changes
2020-10-25 18:09:50.123527865 +0100
+++
/work/SRC/openSUSE:Factory/.python-networkx.new.28504/python-networkx.changes
2021-02-01 13:28:47.358157771 +0100
@@ -1,0 +2,16 @@
+Sat Jan 30 01:42:49 UTC 2021 - Ben Greiner <[email protected]>
+
+- Temporarily reenable python36 build until SciPy is updated,
+ because the PyYAML fix needs to be merged first
+
+-------------------------------------------------------------------
+Wed Jan 27 12:55:26 UTC 2021 - Mark??ta Machov?? <[email protected]>
+
+- Add yaml-loader.patch adding support for new PyYAML
+
+-------------------------------------------------------------------
+Mon Jan 18 01:43:05 UTC 2021 - Benjamin Greiner <[email protected]>
+
+- Skip python36 because of SciPy 1.6.0
+
+-------------------------------------------------------------------
New:
----
yaml-loader.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-networkx.spec ++++++
--- /var/tmp/diff_new_pack.zMKtKg/_old 2021-02-01 13:28:48.074158885 +0100
+++ /var/tmp/diff_new_pack.zMKtKg/_new 2021-02-01 13:28:48.078158891 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-networkx
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,6 +18,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
+# Temporarily reenabled until SciPy is updated, because the PyYAML fix needs
to be merged first
+#%%define skip_python36 1
Name: python-networkx
Version: 2.5
Release: 0
@@ -26,6 +28,8 @@
URL: https://networkx.github.io/
Source:
https://files.pythonhosted.org/packages/source/n/networkx/networkx-%{version}.tar.gz
Patch0: 0001-Replace-hash-function-for-test-of-weighted-astar.patch
+# PATCH-FIX-UPSTREAM
https://github.com/networkx/networkx/commit/a6dd458a12ad8db161271e2271644803d4f29a96
fixes Github Actions failures
+Patch1: yaml-loader.patch
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module decorator >= 3.4.0}
BuildRequires: %{python_module matplotlib >= 3.1}
++++++ yaml-loader.patch ++++++
>From a6dd458a12ad8db161271e2271644803d4f29a96 Mon Sep 17 00:00:00 2001
From: Douglas Fenstermacher <[email protected]>
Date: Wed, 20 Jan 2021 10:47:56 -0500
Subject: [PATCH] fixes Github Actions failures (#4548)
Github Actions failing due to new release of pyyaml==5.4, this change should
resolve that issue
---
networkx/readwrite/nx_yaml.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/networkx/readwrite/nx_yaml.py b/networkx/readwrite/nx_yaml.py
index 80bd5dfd0c..98b4b1d9cb 100644
--- a/networkx/readwrite/nx_yaml.py
+++ b/networkx/readwrite/nx_yaml.py
@@ -102,5 +102,5 @@ def read_yaml(path):
except ImportError as e:
raise ImportError("read_yaml() requires PyYAML: http://pyyaml.org/")
from e
- G = yaml.load(path, Loader=yaml.FullLoader)
+ G = yaml.load(path, Loader=yaml.Loader)
return G