forked from pool/python-networkx
Accepting request 1169974 from home:mcalabkova:branches:devel:languages:python:numeric
- Update to 3.3 * Add @nx._dispatch decorator to most algorithms * Remove topo_order kwarg from is_semiconnected without deprecation * API: Add a decorator to deprecate positional args * Drop support for Python 3.8 and 3.9 * Support Python 3.12 * Test on Python 3.13-dev * Don't test numpy2 nightlies * Unpin scipy upperbound for tests * Disallow negative number of nodes in complete_multipartite_graph * [A-star] Added expansion pruning via cutoff if cutoff is provided * Add Tadpole graph * [Feat] Random expanders utilities * Add Kirchhoff index / Effective graph resistance * Changed return types of shortest path methods to improve consistency * Many more changes, see upstream changelog - drop doc build, PyPI tarball doesn't support it anymore OBS-URL: https://build.opensuse.org/request/show/1169974 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-networkx?expand=0&rev=58
This commit is contained in:
parent
2d1eba2499
commit
72e22dd799
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:de346335408f84de0eada6ff9fafafff9bcda11f0a0dfaa931133debb146ab61
|
||||
size 2021691
|
3
networkx-3.3.tar.gz
Normal file
3
networkx-3.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c127d8b2f4865f59ae9cb8aafcd60b5c70f3241ebd66f7defad7c4ab90126c9
|
||||
size 2126579
|
@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 22 15:25:05 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 3.3
|
||||
* Add @nx._dispatch decorator to most algorithms
|
||||
* Remove topo_order kwarg from is_semiconnected without deprecation
|
||||
* API: Add a decorator to deprecate positional args
|
||||
* Drop support for Python 3.8 and 3.9
|
||||
* Support Python 3.12
|
||||
* Test on Python 3.13-dev
|
||||
* Don't test numpy2 nightlies
|
||||
* Unpin scipy upperbound for tests
|
||||
* Disallow negative number of nodes in complete_multipartite_graph
|
||||
* [A-star] Added expansion pruning via cutoff if cutoff is provided
|
||||
* Add Tadpole graph
|
||||
* [Feat] Random expanders utilities
|
||||
* Add Kirchhoff index / Effective graph resistance
|
||||
* Changed return types of shortest path methods to improve consistency
|
||||
* Many more changes, see upstream changelog
|
||||
- drop doc build, PyPI tarball doesn't support it anymore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 27 11:55:11 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-networkx
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,14 +18,15 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-networkx
|
||||
Version: 3.1
|
||||
Version: 3.3
|
||||
Release: 0
|
||||
Summary: Python package for the study of complex networks
|
||||
License: BSD-3-Clause
|
||||
URL: https://networkx.github.io/
|
||||
Source: https://files.pythonhosted.org/packages/source/n/networkx/networkx-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
@ -65,28 +66,15 @@ Features:
|
||||
* Exploits existing code from high-quality legacy software in C, C++, Fortran, etc.
|
||||
* Unit-tested
|
||||
|
||||
%package -n %{name}-doc
|
||||
Summary: Documentation for %{name}
|
||||
Provides: %{python_module networkx-doc = %{version}}
|
||||
|
||||
%description -n %{name}-doc
|
||||
Documentation and examples for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n networkx-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
|
||||
# Move docs into correct directory if necessary
|
||||
if [ "%{_docdir}" != "%{_datadir}/doc" ] ; then
|
||||
mkdir -p %{buildroot}%{_docdir}/
|
||||
mv %{buildroot}%{_datadir}/doc/networkx-%{version} %{buildroot}%{_docdir}/
|
||||
fi
|
||||
%pyproject_install
|
||||
|
||||
%fdupes %{buildroot}%{_docdir}
|
||||
|
||||
@ -116,10 +104,6 @@ rm -v networkx/drawing/tests/test_pydot.py
|
||||
%license LICENSE.txt
|
||||
%doc README.rst CONTRIBUTING.rst
|
||||
%{python_sitelib}/networkx/
|
||||
%{python_sitelib}/networkx-%{version}-py*.egg-info
|
||||
|
||||
%files -n %{name}-doc
|
||||
%license LICENSE.txt
|
||||
%doc %{_docdir}/networkx-%{version}/
|
||||
%{python_sitelib}/networkx-%{version}*info
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user