[AUTOPATCHER-CORE] Upgrade python-networkx to 3.2.1 3.0 package upgrade (#7807)

Co-authored-by: Aurélien Bombo <abombo@microsoft.com>
This commit is contained in:
CBL-Mariner-Bot 2024-02-26 12:35:53 -08:00 коммит произвёл GitHub
Родитель f27ef2db7b
Коммит c86e5ec20e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
5 изменённых файлов: 27 добавлений и 13 удалений

Просмотреть файл

@ -1,9 +1,9 @@
--- doc/conf.py.orig 2021-07-08 10:53:35.000000000 -0600
+++ doc/conf.py 2021-07-13 10:11:17.843998401 -0600
@@ -50,6 +50,7 @@ sphinx_gallery_conf = {
"gallery_dirs": "auto_examples",
@@ -52,6 +52,7 @@ sphinx_gallery_conf = {
"backreferences_dir": "modules/generated",
"image_scrapers": ("matplotlib",),
"plot_gallery": "True",
+ "expected_failing_examples": ["../examples/geospatial/plot_delaunay.py", "../examples/geospatial/plot_lines.py", "../examples/geospatial/plot_osmnx.py", "../examples/geospatial/plot_points.py", "../examples/graph/plot_football.py"]
}
# Add pygraphviz png scraper, if available

Просмотреть файл

@ -0,0 +1,11 @@
--- pyproject.toml.orig
+++ pyproject.toml
@@ -1,6 +1,6 @@
[build-system]
-build-backend = 'setuptools.build_meta'
-requires = ['setuptools>=61.2']
+build-backend = 'flit_core.buildapi'
+requires = ['flit_core>=3.3']
[project]
name = 'networkx'

Просмотреть файл

@ -1,5 +1,5 @@
{
"Signatures": {
"networkx-2.8.8.tar.gz": "4b51b9ec392017a5e7497474bf628ede0cb6ca5fb1dc87c5b14b6c2ce36da2b8"
}
}
"Signatures": {
"networkx-3.2.1.tar.gz": "e0b35b504a225d367d2d82b8fd43a34774967548ac25644f951a662b6c9a3a8e"
}
}

Просмотреть файл

@ -1,7 +1,7 @@
Summary: Creates and Manipulates Graphs and Networks
Name: python-networkx
Version: 2.8.8
Release: 3%{?dist}
Version: 3.2.1
Release: 1%{?dist}
License: BSD-3-Clause
Vendor: Microsoft Corporation
Distribution: Azure Linux
@ -11,9 +11,11 @@ Patch0: %{name}-doc.patch
# Temporary workaround for a failing test.
# See https://github.com/networkx/networkx/issues/5913
Patch1: %{name}-test.patch
Patch2: %{name}-pyproject.patch
BuildRequires: make
BuildRequires: pyproject-rpm-macros
BuildRequires: python3-devel
BuildRequires: python3-flit-core
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: python3-wheel
@ -43,13 +45,14 @@ sed -i 's/\(numpydoc>=1.\)5/\14/' requirements/doc.txt
%install
%{pyproject_install}
%pyproject_save_files networkx
mv %{buildroot}%{_docdir}/networkx-%{version} ./installed-docs
rm -f installed-docs/INSTALL.txt
%files -n python3-networkx -f %{pyproject_files}
%license LICENSE.txt
%changelog
* Fri Feb 09 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 3.2.1-1
- Auto-upgrade to 3.2.1 - 3.0 package upgrade
* Thu Apr 06 2023 Riken Maharjan <rmaharjan@microsoft.com> - 2.8.8-4
- Initial CBL-Mariner import from Fedora 38 (license: MIT)
- License Verified

Просмотреть файл

@ -23133,8 +23133,8 @@
"type": "other",
"other": {
"name": "python-networkx",
"version": "2.8.8",
"downloadUrl": "https://github.com/networkx/networkx/archive/networkx-2.8.8.tar.gz"
"version": "3.2.1",
"downloadUrl": "https://github.com/networkx/networkx/archive/networkx-3.2.1.tar.gz"
}
}
},
@ -30596,4 +30596,4 @@
}
],
"Version": 1
}
}