1
0

Compare commits

4 Commits

Author SHA256 Message Date
15f42288c8 Accepting request 1290788 from devel:languages:python:numeric
- update to networkx-3.5:
  * Save Layouts on Graphs (#7571).
  * Expire d_separated and minimum_d_separator functions (#7830).
  * Expire all_triplets deprecation (#7828).
  * Expire random_triad deprecation (#7829).
  * DEP: Raise an exception for k_core functions with multigraphs
    (#7831).
  * Deprecate graph_could_be_isomorphic (#7826).
  * Expire total_spanning_tree_weight deprecation (#7843).
  * Expire deprecation of create kwarg in nonisomorphic_trees
    (#7847).
  * New draw API (#7589).
  * perf: optimise `random_k_out_graph` (#7702).
  * Clausets local community detection algorithm (#7691).
  * `find_asteroidal_triple` improvement (#7736).
  * Add `weight` to harmonic_diameter (#7636).
  * Densest Subgraph Problem: Greedy Peeling and Greedy++
    Implementations (#7731).
  * single_source_all_shortest_paths: don't loop over all nodes
    (#7762).
  * Error message improvement for nbunch_iter ( NetworkXError
    raised with specific message on TypeError with "iter" in msg
    ) (#7790).
  * Faster computation of energy in Laplacian centrality (#7793).
  * Make `forceatlas2_layout` dispatchable (#7794).
  * Update dispatchable for `forceatlas2_layout` (#7798).
  * Enable backend-only functions where NetworkX is just an API
    (#7690).
  * Steinertree kou enhancement in response to issue 5889
    type:Enhancements (#7767).

OBS-URL: https://build.opensuse.org/request/show/1290788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-networkx?expand=0&rev=39
2025-07-06 15:15:21 +00:00
0e19881f3d - update to networkx-3.5:
* Save Layouts on Graphs (#7571).
  * Expire d_separated and minimum_d_separator functions (#7830).
  * Expire all_triplets deprecation (#7828).
  * Expire random_triad deprecation (#7829).
  * DEP: Raise an exception for k_core functions with multigraphs
    (#7831).
  * Deprecate graph_could_be_isomorphic (#7826).
  * Expire total_spanning_tree_weight deprecation (#7843).
  * Expire deprecation of create kwarg in nonisomorphic_trees
    (#7847).
  * New draw API (#7589).
  * perf: optimise `random_k_out_graph` (#7702).
  * Clausets local community detection algorithm (#7691).
  * `find_asteroidal_triple` improvement (#7736).
  * Add `weight` to harmonic_diameter (#7636).
  * Densest Subgraph Problem: Greedy Peeling and Greedy++
    Implementations (#7731).
  * single_source_all_shortest_paths: don't loop over all nodes
    (#7762).
  * Error message improvement for nbunch_iter ( NetworkXError
    raised with specific message on TypeError with "iter" in msg
    ) (#7790).
  * Faster computation of energy in Laplacian centrality (#7793).
  * Make `forceatlas2_layout` dispatchable (#7794).
  * Update dispatchable for `forceatlas2_layout` (#7798).
  * Enable backend-only functions where NetworkX is just an API
    (#7690).
  * Steinertree kou enhancement in response to issue 5889
    type:Enhancements (#7767).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-networkx?expand=0&rev=62
2025-07-05 10:53:48 +00:00
b3870c3001 Accepting request 1243534 from devel:languages:python:numeric
- Update to 3.4.2:
  * API Changes
    + Expires the forest_str deprecation.
    + [ENH, BUG]: added colliders and v_structures and deprecated
      compute_v_structures in dag.py.
    + Expires the random_tree deprecation.
    + Expire deprecation for strongly_connected_components_recursive.
    + Expire deprecated sort_neighbors param in generic_bfs_edges.
    + Rm deprecated normalized param from s_metric.
    + Expire deprecated nx.join in favor of join_trees.
    + Remove depercated Edmonds class for 3.4.
    + Remove deprecated MultiDiGraph_EdgeKey for 3.4.
    + Add edges keyword/deprecate link keyword arguments in JSON input-output.
    + Revert breaking change to node_link_* link defaults.
  * Enhancements
    + Add a nodelist feature to from_numpy_array.
    + Prioritize edgelist representations in to_networkx_graph.
    + Adds initial debug logging calls to _dispatchable.
    + add: nodes attribute is modifiable.
    + Enable config to be used as context manager.
    + Added code to handle multi-graph in mst.
    + Enable caching by default.
    + Fix weakly_connected_components() performance on graph view.
    + avoid iteration and use boolean indexing.
    + Hide edges with a weight of None in simple_paths.
    + Improved running time for harmonic centrality.
    + Add remove attribute functions.
    + Log "can/should run" and caching in dispatch machinery.
    + Individualize drawing attributes.
    + Allow dispatch machinery to fall back to networkx.

OBS-URL: https://build.opensuse.org/request/show/1243534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-networkx?expand=0&rev=38
2025-02-06 21:07:56 +00:00
815bc72d73 - Update to 3.4.2:
* API Changes
    + Expires the forest_str deprecation.
    + [ENH, BUG]: added colliders and v_structures and deprecated
      compute_v_structures in dag.py.
    + Expires the random_tree deprecation.
    + Expire deprecation for strongly_connected_components_recursive.
    + Expire deprecated sort_neighbors param in generic_bfs_edges.
    + Rm deprecated normalized param from s_metric.
    + Expire deprecated nx.join in favor of join_trees.
    + Remove depercated Edmonds class for 3.4.
    + Remove deprecated MultiDiGraph_EdgeKey for 3.4.
    + Add edges keyword/deprecate link keyword arguments in JSON input-output.
    + Revert breaking change to node_link_* link defaults.
  * Enhancements
    + Add a nodelist feature to from_numpy_array.
    + Prioritize edgelist representations in to_networkx_graph.
    + Adds initial debug logging calls to _dispatchable.
    + add: nodes attribute is modifiable.
    + Enable config to be used as context manager.
    + Added code to handle multi-graph in mst.
    + Enable caching by default.
    + Fix weakly_connected_components() performance on graph view.
    + avoid iteration and use boolean indexing.
    + Hide edges with a weight of None in simple_paths.
    + Improved running time for harmonic centrality.
    + Add remove attribute functions.
    + Log "can/should run" and caching in dispatch machinery.
    + Individualize drawing attributes.
    + Allow dispatch machinery to fall back to networkx.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-networkx?expand=0&rev=60
2025-02-04 03:24:43 +00:00
4 changed files with 200 additions and 53 deletions

View File

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

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

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

View File

@@ -1,3 +1,150 @@
-------------------------------------------------------------------
Sat Jul 5 10:52:25 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to networkx-3.5:
* Save Layouts on Graphs (#7571).
* Expire d_separated and minimum_d_separator functions (#7830).
* Expire all_triplets deprecation (#7828).
* Expire random_triad deprecation (#7829).
* DEP: Raise an exception for k_core functions with multigraphs
(#7831).
* Deprecate graph_could_be_isomorphic (#7826).
* Expire total_spanning_tree_weight deprecation (#7843).
* Expire deprecation of create kwarg in nonisomorphic_trees
(#7847).
* New draw API (#7589).
* perf: optimise `random_k_out_graph` (#7702).
* Clausets local community detection algorithm (#7691).
* `find_asteroidal_triple` improvement (#7736).
* Add `weight` to harmonic_diameter (#7636).
* Densest Subgraph Problem: Greedy Peeling and Greedy++
Implementations (#7731).
* single_source_all_shortest_paths: don't loop over all nodes
(#7762).
* Error message improvement for nbunch_iter ( NetworkXError
raised with specific message on TypeError with "iter" in msg
) (#7790).
* Faster computation of energy in Laplacian centrality (#7793).
* Make `forceatlas2_layout` dispatchable (#7794).
* Update dispatchable for `forceatlas2_layout` (#7798).
* Enable backend-only functions where NetworkX is just an API
(#7690).
* Steinertree kou enhancement in response to issue 5889
type:Enhancements (#7767).
* Add Leiden as a backend-only algorithm (#7743).
* Bipartite layout nodes optional (#7756).
* Densest Subgraph Problem: FISTA based algorithm + Large scale
tests (#7770).
* Dispatch `get_node_attributes` and a few more from
`nx.classes.function` (#7824).
* Faster `could_be_isomorphic` and `number_of_cliques` (#7855).
* Add square_clustering to algorithm benchmarks (#7857).
* Faster Implementation of Structural Holes (#7249).
* Improve runtime of number_of_nonisomorphic_trees() (#7917).
* Fix write_gexf timeformat for dynamic Graphs (#7914).
* Consolidate could_be_isomorphic (#7852).
* Improving rooted_tree_isomorphism for deep trees (#7945).
* Fixing nx.diameter inconsistent results with usebounds=True
(#7954).
* Faster `square_clustering` (#7810).
* Avoid repeated cache conversion failures for backends
(#7768).
* Improve _sparse_fruchterman_reingold with L-BFGS (#7889).
* Improve Performance of Tree Isomorphism and Center
Calculation (#7946).
* Add option for `biadjacency_matrix` to be returned as a dense
NumPy array (#7973).
* Add Functions for Finding Connected Dominating Sets (#7774).
* Add feature to make storing node contraction data optional
(#7902).
* Added "initial_node" param to generate_random_paths() to
allow a starting node to be specified for generated walks
(#8002).
* Fix behavior for iterable `sources` argument in `bfs_layers`
(#8013).
* Speed up `connected_components` and
`weakly_connected_components` (#7971).
* BiRank Algorithm Implementation (#7978).
* Enforce correct graph types for graph matchers (#8043).
* Fix for issue #7645: Do not preserve 'cw' and 'ccw'
attributes in PlanarEmbedding.to_undirected() (#7750).
* fix typo in ramanujan branch (#7804).
* Fix `with nx.config(backend_priority=backends):` (#7814).
* Fix handling of faux_infinite values in network_simplex
(#7796).
* Fixed the return type from an empty dict to an empty set
(#7910).
* Add `edge_attrs="weight"` to `forceatlas2_layout` dispatch
decorator (#7918).
* Fix graph_hash iteration counts and DiGraph handling (#7834).
* Refactored the working of chordless_cycles to handle self
loops (#7901).
* Fix bc scale with k endpoints (#7908).
* Fix BC scaling for source nodes with k and endpoints=False
(#7949).
* BUG: graph6 format invariant to trailing newline (#7941).
* Fix `random_degree_sequence_graph` when input is an iterator
(#7979).
* Improve special cases in dispatch testing (paying off tech
debt) (#7982).
* Fix bug when assigning list to `nx.config.backend_priority`
(#8034).
* A minimal fix for `is_aperiodic` (#8029).
* fix bug of _sparse_fruchterman_reingold and remove try/except
idiom (#8041).
* Fix edge case in ISMAGS symmetry detection (#8055).
-------------------------------------------------------------------
Tue Feb 4 03:21:23 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.4.2:
* API Changes
+ Expires the forest_str deprecation.
+ [ENH, BUG]: added colliders and v_structures and deprecated
compute_v_structures in dag.py.
+ Expires the random_tree deprecation.
+ Expire deprecation for strongly_connected_components_recursive.
+ Expire deprecated sort_neighbors param in generic_bfs_edges.
+ Rm deprecated normalized param from s_metric.
+ Expire deprecated nx.join in favor of join_trees.
+ Remove depercated Edmonds class for 3.4.
+ Remove deprecated MultiDiGraph_EdgeKey for 3.4.
+ Add edges keyword/deprecate link keyword arguments in JSON input-output.
+ Revert breaking change to node_link_* link defaults.
* Enhancements
+ Add a nodelist feature to from_numpy_array.
+ Prioritize edgelist representations in to_networkx_graph.
+ Adds initial debug logging calls to _dispatchable.
+ add: nodes attribute is modifiable.
+ Enable config to be used as context manager.
+ Added code to handle multi-graph in mst.
+ Enable caching by default.
+ Fix weakly_connected_components() performance on graph view.
+ avoid iteration and use boolean indexing.
+ Hide edges with a weight of None in simple_paths.
+ Improved running time for harmonic centrality.
+ Add remove attribute functions.
+ Log "can/should run" and caching in dispatch machinery.
+ Individualize drawing attributes.
+ Allow dispatch machinery to fall back to networkx.
+ Add create_using parameter for random graphs.
+ Add config option to disable warning when using cached value.
* Bug Fixes
+ Fix docstrings of dispatchable functions.
+ Fix draw_networkx_nodes return type.
+ Fix graph name attribute for complete_bipartite_graph.
+ Remove import warnings during to_networkx_graph conversion.
+ Fix nx.from_pandas_edgelist so edge keys are not added as edge
attributes and edge keys.
+ Fix from_pandas_edgelist for MultiGraph given edge_key.
+ Fix dispatch tests when using numpy 2.
+ Fix reading edgelist when delimiter is whitespace, e.g. tab.
+ Ensure we always raise for unknown backend in backend=.
+ Prevent to_agraph from modifying graph argument.
+ Implementing iterative removal of non_terminal_leaves in Steiner
Tree approximation.
+ Only allow connected graphs in eigenvector_centrality_numpy.
-------------------------------------------------------------------
Mon Apr 22 15:25:05 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-networkx
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,11 +18,11 @@
%{?sle15_python_module_pythons}
Name: python-networkx
Version: 3.3
Version: 3.5
Release: 0
Summary: Python package for the study of complex networks
License: BSD-3-Clause
URL: https://networkx.github.io/
URL: https://github.com/networkx/networkx
Source: https://files.pythonhosted.org/packages/source/n/networkx/networkx-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
@@ -35,7 +35,7 @@ Requires: python-numpy >= 1.19
Requires: python-pandas >= 1.3
Requires: python-scipy >= 1.8
Recommends: python-PyYAML
Recommends: python-pydot >= 1.4.2
Recommends: python-pydot >= 3.0.1
Recommends: python-pygraphviz
Recommends: python-pyparsing
BuildArch: noarch
@@ -45,7 +45,7 @@ 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 pydot >= 3.0.1}
BuildRequires: %{python_module pygraphviz >= 1.9}
BuildRequires: %{python_module pyparsing}
BuildRequires: %{python_module pytest-xdist}
@@ -104,6 +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}*info
%{python_sitelib}/networkx-%{version}.dist-info
%changelog