1
0

- update to 2.8.2:

* Fix doc deploy
  * Bump release version
  * MAINT: Update dfs_test with more comprehensive tests (#5654)
  * Bump release version
  * Fix __setstate__ for OutEdgeView subclasses, read _adjdict from state (#5657)
  * Add examples & improve documentation of voterank (#5500)
  * Change default value of arrowstyle for undirected graphs (#5514)
  * added edge labels in weighted graph (#5521)
  * Added examples in is_forest() and is_tree() (#5524)
  * a hack to force self edges to be ignored on the first node inspected (#5516)
  * De-Regression: eagerly evaluate not_implemented_for in decorated generators (#5537)
  * Improve documentation of PlanarEmbedding class (#5523)
  * PlanarEmbedding in autosummary instead of autoclass. (#5548)
  * Added examples in tournament and tree functions (#5536)
  * Fixup PlanarEmbedding See Also (#5556)
  * Fix min_edge_cover in special cases (#5538)  and correct documentation (#5549)
  * Add is_planar function.  Solves issue #5109 (#5544)
  * Improve bridges documentation (#5519)
  * fix greedy_modularity when multiple components exist. (#5550)
  *  Fix issue probably-meant-fstring found at https://codereview.doctor (#5574)
  * MAINT: Fix sphinx build errors and warnings (#5571)
  * replace induced_subgraph example with directly relevant example (#5576)
  * Add examples to compose operation (#5583)
  * Fix reference in label_propagation_communities docstring (#5588)
  * Use sets instead of lists for collecting flowfuncs in tests. (#5589)
  * Update .degree() docs: outdated return type (#5529)
  * Update numpydoc (#5580)
  * Add a space in an error (#5601)
  * improve docstring for read_doc, see issue #5604 (#5605)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-networkx?expand=0&rev=46
This commit is contained in:
2022-06-04 17:50:50 +00:00
committed by Git OBS Bridge
parent 224e5fc9db
commit eb172d5d83
4 changed files with 257 additions and 7 deletions

View File

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

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

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

View File

@@ -1,3 +1,252 @@
-------------------------------------------------------------------
Sat Jun 4 17:48:20 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.8.2:
* Fix doc deploy
* Bump release version
* MAINT: Update dfs_test with more comprehensive tests (#5654)
* Bump release version
* Fix __setstate__ for OutEdgeView subclasses, read _adjdict from state (#5657)
* Add examples & improve documentation of voterank (#5500)
* Change default value of arrowstyle for undirected graphs (#5514)
* added edge labels in weighted graph (#5521)
* Added examples in is_forest() and is_tree() (#5524)
* a hack to force self edges to be ignored on the first node inspected (#5516)
* De-Regression: eagerly evaluate not_implemented_for in decorated generators (#5537)
* Improve documentation of PlanarEmbedding class (#5523)
* PlanarEmbedding in autosummary instead of autoclass. (#5548)
* Added examples in tournament and tree functions (#5536)
* Fixup PlanarEmbedding See Also (#5556)
* Fix min_edge_cover in special cases (#5538) and correct documentation (#5549)
* Add is_planar function. Solves issue #5109 (#5544)
* Improve bridges documentation (#5519)
* fix greedy_modularity when multiple components exist. (#5550)
* Fix issue probably-meant-fstring found at https://codereview.doctor (#5574)
* MAINT: Fix sphinx build errors and warnings (#5571)
* replace induced_subgraph example with directly relevant example (#5576)
* Add examples to compose operation (#5583)
* Fix reference in label_propagation_communities docstring (#5588)
* Use sets instead of lists for collecting flowfuncs in tests. (#5589)
* Update .degree() docs: outdated return type (#5529)
* Update numpydoc (#5580)
* Add a space in an error (#5601)
* improve docstring for read_doc, see issue #5604 (#5605)
* Cache `nodes` property on Graph (#5600)
* Fixes #5403: Errors on non-distinct bipartite node sets (#5442)
* Added documentation for branching_weight() solving issue #5553 (#5558)
* Distance measures example (#5608)
* Corrected the documentation of find_negative_cycle() solving issue #5610 (#5613)
* Added examples in connected and strongly connected functions (#5559)
* Update GH actions (#5622)
* Remove `_mat_spect_approx` in favor of simpler procedure (#5624)
* Replace np.flip with indexing in layouts. (#5623)
* Cache edges, degree, adj properties of Graph classes (#5614)
* Disallow isolated nodes for Eulerian Path (#5616)
* Fix triadic census (#5575)
* Adjust the usage of nodes_or_number decorator (#5599)
* Use new ubunut LTS release (#5630)
* Build docs with Py 3.9 (#5632)
* added example on moral graph (#5633)
* Added examples in weakly_connected.py (#5593)
* Designate 2.8.1rc1 release
* Bump release version
* Rm unnecessary input validation from moral_graph. (#5638)
* DOC: fix up links, remove references to directed graphs, add proper cites (#5635)
* Added example under unary operators (#5625)
* Added docstring examples to matching functions (#5617)
* doc: fix typos in docstring and comment (#5647)
* DOC: remove note re: non-existant param (#5648)
* added examples to covering.py (#5646)
* added examples on chain decomposition (#5641)
* Fix typo (#5652)
* Add Generator support to create_py_random_state. (#5380)
* modulartiy_max: introduce enforce_n_communities parameter (#5227)
* First draft. (#5359)
* Updated MultiDiGraph documentation to include more examples of actually (#5387)
* Multigraph docs update (#5389)
* Updates to greedy_modularity_communities docs (#5390)
* Finish up NXEP 4 first draft (#5391)
* Correct typo in docstring (int -> float) (#5398)
* DOC: examples code blacks needs a blank line (#5401)
* Add support for multigraphs to nx.bridges. (#5397)
* Update extrema bounding method for compute="eccentricities" parameter (#5409)
* Add Tutte polynomial (#5265)
* Update sparse6 urls to use https (#5424)
* Deprecate extrema bounding (#5422)
* Add NXEP4 to developer toctree and fix broken links (#5420)
* Rm _inherit_doc - default behavior as of Python 3.5. (#5416)
* Minor improvements from general code readthrough (#5414)
* Ignore formatting changes with black, pep8 for git blame (#5405)
* Deprecate dict to numpy helpers (#5427)
* Deprecate `to_tuple` (#5430)
* Fix average_neighbor_degree calculations for directed graph (#5404)
* Parametrize tutte polynomial tests (#5431)
* Update black (#5438)
* Ignore black formatting (#5440)
* Update sphinx (#5439)
* Use https links for conference.scipy.org (#5441)
* Don't use graph6 with directed graphs (#5443) (#5444)
* Fix min_weight_matching to convert edge weights without reciprocal (#5394)
* Make sympy extra dep (#5454)
* Optimize prim for mst (#5455)
* Adding more examples for to_numpy_array method's usage (#5451)
* MAINT: Prim MST test didn't pass algorithm name to all unit tests (#5457)
* Fixed wrong dict factory usage on MultiDiGraph (#5456)
* added extra condition for fancy arrow colors (#5407)
* Update dependencies (#5468)
* Update release notes
* Designate 2.8rc1 release
* Bump release version
* DOCS: add some guidelines for references (#5476)
* Fix for issue 5212 (#5471)
* shortest_path() example (#5491)
* Rm incorrect reference from spiral_layout docstring. (#5503)
* Improve docstring for bethe_hessian_matrix (#5458)
* Add notes about NumPy/SciPy integration to NX 2->3 migration guide (#5505)
* Run black on docs (#5513)
* Support `comments=None` in read/parse edgelist (#5051)
* Add see also refs to de/stringizers in gml docstrings. (#5053)
* Add weisfeiler lehman subgraph hashing (#4946)
* Deprecate `random_state` decorator (#5055)
* Bug fix for issue #5023 : corner-case bug in single_source_dijkstra (#5033)
* More informative GraphML exceptions (#5058)
* Minor updates to tutorial.rst and add docstring for data method of nodes/edges (#5039)
* Document `geometric_edges` and add it to main namespace (#5045)
* Fix small typo in `trophic_levels` documentation (#5087)
* Refactor `transitive_closure` (#5052)
* Fix fast_gnp_random_graph for directed graphs (issue #3389) (#5077)
* Get number of edges by calling the proper method (#5095)
* Update mentored projects section in docs (#5056)
* Parametrize shortest path node-checking tests. (#5078)
* Create FUNDING.yml
* Deprecate union name param (#5114)
* Update FUNDING.yml
* vertex_cover: Added support for self-loop nodes (#5104)
* Update core dev team (#5119)
* Faster operators in algorithms/operators/all.py (#5121)
* DOC: Add links to proposals for completed projects (#5122)
* Consistent return type in dictionary output of rescale_layout and rescale_layout_dict (#5091)
* Change exception varname e to err (#5130)
* minor tweaks in assortativity docs and code (#5129)
* Allow edge style to be a list of styles for DiGraphs (#5131)
* Add examples and minor documentaion refactor for operators/binary.py (#5099)
* Improve random graphs test suite for gnp generators (issue #5092) (#5115)
* Add note about checking for path existence to all_simple_paths. (#5059)
* Fix message of raised exception in decorators. (#5136)
* Refactor linestyle test for FancyArrowPatches. (#5132)
* Drop Py37 (#5143)
* Use math.hypot (#5145)
* Add pyupgrade to pre-commit (#5146)
* Test on Python 3.10 (#4807)
* Use black 21.9b0 (#5148)
* Use sphinx 4.2 (#5150)
* Update example requirements (#5151)
* Update nx_pylab drawing edge color and width tests (#5134)
* Refactor node_classification to improve conciseness and readability (#5144)
* Add temporary pyparsing pin to fix CI. (#5156)
* Add option for arrowsize to be a list (#5154)
* List policies (#5159)
* Bugfix for issue 5123 (#5153)
* Test scipy and pandas on py3.10 (#5174)
* Deprecate `hmn` and `lgc` modules from the `node_classification` package (#5166)
* Rm passing ax.transOffset to LineCollection. (#5173)
* Add a function to find the negative cycle using bellman_ford (#5089)
* Add a Q&A to the contributor FAQ about algorithm acceptance policy. (#5177)
* DOC: Fix typo in docs for weighted shortest paths (#5181)
* Revert "Add temporary pyparsing pin to fix CI. (#5156)" (#5180)
* Only compute shortest path lengths when used (#5183)
* Add Mypy type checking infrastructure (#5127)
* xfail pydot tests. (#5187)
* Remove unused internal solver from algebraicconnectivity (#5190)
* Remove check/comment for scipy 1.1 behavior. (#5191)
* Test on Python 3.10 (#5185)
* Add regression test for ancestors/descedants w/ undir. G. (#5188)
* Rm internal function, use advanced indexing instead. (#5197)
* Fix missing import + tests in laplacian fns. (#5194)
* Investigate pre-release test failures (#5208)
* Rm assertion method in favor of assert statements. (#5214)
* Remove unused variable in mycielski.py (#5210)
* used queue instead of ordinary list (#5217)
* Add FutureWarning about matrix->array output to `google_matrix` (#5219)
* A few `np.matrix` cleanups (#5218)
* Rm internal laplacian in favor of laplacian_matrix. (#5196)
* [MRG] Create plot_subgraphs.py example (#5165)
* Add traveling salesman problem to example gallery (#4874)
* Fixed inconsistent documentation for nbunch parameter in DiGraph.edges() (#5037)
* Compatibility updates from testing with numpy/scipy/pytest rc's (#5226)
* Replace internal `close` fn with `math.isclose`. (#5224)
* Fix Python 3.10 deprecation warning w/ int div. (#5231)
* Touchups and suggestions for subgraph gallery example (#5225)
* Use new package name (#5234)
* Allowing None edges in weight function of bidirectional Dijkstra (#5232)
* Add an FAQ about assigning issues. (#5182)
* Update dev deps (#5243)
* Update minor doc issues with tex notation (#5244)
* Minor changes to speed up asynchronous label propagation for community detection. (#5247)
* Docstrings for the small.py module (#5240)
* Use scipy.sparse array datastructure (#5139)
* Update sphinx (#5272)
* Update year (#5273)
* Update extra dependencies (#5263)
* Update gexf website link in documentation (#5275)
* Update numpydoc (#5274)
* Initial setup of lazy_import functions. (#4909)
* Deprecate scipy sparse matrix conversion functions (#5262)
* Fix lowest_common_ancestors (issue #4942) (#5086)
* Make small graph generator node test more specific. (#5282)
* Use from_dict_of_lists instead of make_small_graph in generators.small (#5267)
* Refactor `to_numpy_array` with advanced indexing (#5250)
* Fix: Update louvain_partitions for threshold (update mod to new_mod in each level) (#5284)
* Add exception for unconnected graph (#5287)
* Fixing Tarjan's strongly connected components algorithm implementation to have `O(|E|+|V|)` time complexity instead of `O(|V|^3)`. (#5288)
* Add weights to karate club graph (#5285)
* Fix functions appearing in variables `__all__` but not in docs for NX2.7 (#5289)
* Update to stable version of black (#5296)
* Add FutureWarning to `attr_matrix` to notify users of return type change (#5300)
* DOC: change status to accepted for NXEP2, add resolution (#5297)
* Update test requirements (#5304)
* Update scipy (#5276)
* DOC: Update documentation to include callables for weight argument (#5307)
* Update pygraphviz (#5314)
* Document default dtype in to_numpy_recarray docstring. (#5315)
* Rm unused AbstractSet. (#5317)
* Deprecate `make_small_graph` and `make_small_undirected_graph` (#5283)
* Update `draw_<layout>` docstrings with usage examples (#5264)
* More numpy.matrix cleanups for NX2.7 (#5319)
* MAINT: Cleanup assortativity module, remove unused variables (#5301)
* Add informative exception for drawing multiedge labels. (#5316)
* Potential resolution to full paths to functions in docs (#5049)
* MAINT: Cleanup link analysis module, remove unused variables (#5306)
* Use pytest-mpl (#4579)
* Keep omega within [-1, 1] bounds (#5216)
* Add support for finding maximal cliques containing a set of nodes (#5172)
* MAINT: Remove unnecessary helper functions, use inbuilt methods for line graph generator (#5327)
* sampling from dict_keys objects is deprecated. (#5337)
* Add support for `numpy.random.Generator` (#5336)
* Update matching functions for error validation and speed (#4897)
* Update release requirements (#5338)
* Add structured dtypes to `to_numpy_array` (#5324)
* Deprecate `to_numpy_recarray` (#5330)
* First pass at 2.7 release notes. (#5342)
* Add pickle and yaml migration info (#5345)
* Deprecate info (#5341)
* Fix pandas warning (#5346)
* Test on 3.11-dev (#5339)
* Designate 2.7rc1 release
* Bump release version
* Update release process (#5348)
* Update mentored project info with the expected time commitment (#5349)
* Use np.random.default_rng in example + other updates. (#5356)
* Remove stuff conda doesn't support (#5361)
* Fix spiral_layout when equidistant=True (#5354)
* Fix docs (#5364)
- drop xfail-pydot-tests.patch, obsolete
-------------------------------------------------------------------
Tue Feb 22 10:01:47 UTC 2022 - Dirk Müller <dmueller@suse.com>
- skip pydot tests for older dists
-------------------------------------------------------------------
Tue Dec 7 08:06:03 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-networkx
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,14 +20,12 @@
%define skip_python2 1
%define skip_python36 1
Name: python-networkx
Version: 2.6.3
Version: 2.8.2
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
# gh#networkx/networkx#commit/2b032ed3eb33d82729b0f05f04357e89a125bfd1
Patch0: xfail-pydot-tests.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -110,6 +108,9 @@ 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
rm -v networkx/drawing/tests/test_pydot.py
%endif
%pytest -rs -k 'not test_from_adjacency_named'
%files %{python_files}