1
0

Accepting request 1002428 from home:apersaud:branches:devel:languages:python:numeric

update to latest version

OBS-URL: https://build.opensuse.org/request/show/1002428
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-networkx?expand=0&rev=48
This commit is contained in:
Dirk Mueller 2022-09-12 08:27:15 +00:00 committed by Git OBS Bridge
parent 8a890eaaf4
commit 46bb8aec67
4 changed files with 150 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae99c9b0d35e5b4a62cf1cfea01e5b3633d8d02f4a0ead69685b6e7de5b85eab
size 1945873

3
networkx-2.8.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd2b7730300860cbd2dafe8e5af89ff5c9a65c3975b352799d87a6238b4301a6
size 1957238

View File

@ -1,3 +1,135 @@
-------------------------------------------------------------------
Sat Sep 10 13:23:22 UTC 2022 - Arun Persaud <arun@gmx.de>
- update to version 2.8.6:
* Highlights
+ Minor documentation and bug fixes.
* Merged PRs
+ Add random_spanning_tree to documentation (#5810)
+ DOC: Switch to enumerated list in quotient_graph docstring
(#5837)
+ Add warning to nx_agraph about layout nondeterminism. (#5832)
+ Update docs to include description of the return_seen kwarg
(#5891)
+ Add cache reset for when G._node is changed (#5894)
+ Allow classes to relabel nodes casting (#5903)
+ Update lattice.py (#5914)
+ Add to about_us.rst (#5919)
+ Update precommit hooks (#5923)
+ Remove old Appveyor cruft (#5924)
+ signature change for node_link functions: for issue #5787
(#5899)
+ Allow unsortable nodes in approximation.treewidth functions
(#5921)
+ Fix Louvain_partitions by yielding a copy of the sets in the
partition gh-5901 (#5902)
+ Adds `nx.bfs_layers` method (#5879)
+ Add function bfs_layers to docs (#5932)
+ Propose to make new node_link arguments keyword only. (#5928)
+ Bump nodelink args deprecation expiration to v3.2 (#5933)
+ Add examples to lowest common ancestors algorithms (#5531)
+ Naive lowest common ancestor implementation (#5736)
+ Add examples for the condensation function (#5452)
+ Minor doc fixups (#5868)
+ update all_pairs_lca docstrings (#5876)
+ Improve LCA input validation (#5877)
+ Replace LCA with naive implementations (#5883)
+ Update release notes
+ docstring update to lexicographical_topological_sort issue 5681
(#5930)
+ Support matplotlb 3.6rc1 failure (#5937)
* Improvements
+ [#5883] Replace the implementation of lowest_common_ancestor and
all_pairs_lowest_common_ancestor with a “naive” algorithm to fix
several bugs and improve performance.
-------------------------------------------------------------------
Sun Aug 14 14:22:33 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile:
* set required python version to >= 3.8
* update version of requirements
- update to version 2.8.5:
* Check that nodes have “pos” attribute in geometric_edges (#5707)
* Correct louvain formula, solve infinite loops (#5713)
* Add more comprehensive tests for pydot (#5792)
* Compute is_strongly_connected lazily (#5793)
* Compute is_weakly_connected lazily (#5795)
* Updated astar docstring (#5797)
* Fix typo in bipartite closeness_centrality and thought-o in tests
(#5800)
* Fix pydot colon check node-to-str conversion (#5809)
* Temporary fix for failing tests w/ scipy1.9. (#5816)
* Update distance parameter description. (#5819)
* Fix #5817 (#5822)
* Attempt to reverse slowdown from hasattr needed for
cached_property (#5836)
* Update tests in base class and simple rename in convert.py (#5848)
* Move factory attributes to the class instead of instance. (#5850)
* Point to the latest URL for the description. (#5852)
* Gallery example: Morse code alphabet as a prefix tree (#5867)
* make lazy_import private and remove its internal use (#5878)
* Run CI against v2.8 branch
* CI: add explicit path while installing pygraphviz wheels on macOS
in GHA (#5805)
* Deploy docs on v2.8 branch
- changes from version 2.8.4:
* Clean up maximal_independent_set tests (#5567)
* MAINT: Cleanup centrality module, remove unused variables (#5308)
* importorskip scipy instead of numpy for total spanning tree
(#5693)
* Add initial_graph parameter to scale_free_graph and deprecate
create_using (#5697)
* Add docstring example for attr transfer to linegraph. (#5698)
* Update ISMAGS.analyze_symmetry docstring. (#5696)
* Add default value p=2 for minkowski distance metric. (#5700)
* Update inline code to inline math in docstring (#5701)
* Update multigraph docstrings to reflect remove_edges_from
behavior. (#5699)
* Update simple_cycles docstring w/ yields and examples (#5709)
* Chromatic polynomial (#5675)
* Catch : explicitly while working with pydot (#5710)
* Revert “Add workaround for pytest failures on 3.11b2” (#5717)
* Default to lightmode for documentation (#5715)
* Dont compute all biconnected components in is_biconnected()
(#5688)
* Some more changes to make pytest-randomly happy (#5719)
* Add durations flag to coverage run on CI. (#5718)
* Recover order of layers in multipartite_layout when layers are
sortable (#5705)
* Update doc requirements (#5711)
* Touchups to MG and MDG edges docstrings. (#5708)
* Add PendingDeprecation for pydot (#5721)
* Add example of topo_order kwarg to dag_longest_path (#5728)
* CI: add pytest-randomly workflow. (#4553)
- changes from version 2.8.3:
* Update release process
* added example to closeness.py (#5645)
* Extract valid kwds from the function signature for draw_networkx_*
(#5660)
* Error out when pydot fails to correctly parse node names (#5667)
* Remove redundant py2 numeric conversions (#5661)
* Correcting a typo in the references (#5677)
* Add workaround for pytest failures on 3.11-beta2 (#5680)
* Moved random_spanning_tree to public API (#5656)
* More tests for clustering (upstreaming from graphblas-algorithms)
(#5673)
* Remove unused logic in nonisomorphic_trees (#5682)
* equitable_coloring: Get lazily first item instead of creating
whole list (#5668)
* Update subgraph views tests to pass with out of order execution
(#5683)
* Use isort with pre-commit to enforce import guidelines (#5659)
* ignore isort commit from git blame (#5684)
* Another catch by pytest-randomly (#5685)
* Remove unused file from utils.test (#5687)
* Update release requirements (#5690)
* Update developer requirements (#5689)
* Fix old release notes
-------------------------------------------------------------------
Sat Jun 4 17:48:20 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -17,40 +17,39 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%define skip_python36 1
Name: python-networkx
Version: 2.8.2
Version: 2.8.6
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: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-matplotlib >= 3.4
Requires: python-numpy >= 1.19
Requires: python-pandas >= 1.3
Requires: python-scipy >= 1.8
Recommends: python-PyYAML
Recommends: python-pydot
Recommends: python-pydot >= 1.4.2
Recommends: python-pygraphviz
Recommends: python-pyparsing
Requires: python-matplotlib >= 3.1
Requires: python-numpy
Requires: python-pandas
Requires: python-scipy
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pydot}
BuildRequires: %{python_module pygraphviz}
BuildRequires: %{python_module lxml >= 4.6}
BuildRequires: %{python_module matplotlib >= 3.4}
BuildRequires: %{python_module numpy >= 1.19}
BuildRequires: %{python_module pandas >= 1.3}
BuildRequires: %{python_module pydot >= 1.4.2}
BuildRequires: %{python_module pygraphviz >= 1.9}
BuildRequires: %{python_module pyparsing}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module matplotlib >= 3.1 if (%python-base without python36-base)}
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
BuildRequires: %{python_module pandas if (%python-base without python36-base)}
BuildRequires: %{python_module scipy if (%python-base without python36-base)}
BuildRequires: %{python_module scipy >= 1.8}
# /SECTION
%python_subpackages
@ -108,7 +107,7 @@ popd
# gh#networkx/networkx#4030 we cannot use -n auto because
# TestKatzCentralityDirectedNumpy fails otherwise
# (pandas) test_from_adjacency_named fails on i586
%if %{suse_version} < 1550
%if 0%{?suse_version} < 1550
rm -v networkx/drawing/tests/test_pydot.py
%endif
%pytest -rs -k 'not test_from_adjacency_named'