Skip to content

Commit 35ac035

Browse files
author
Release Manager
committed
gh-36074: Remove deprecation warnings renaming parameter verbosity to verbose in graphs We remove the warnings introduced in #32222 and #32238 about the renaming of parameter `verbosity` to `verbose`. ### 📝 Checklist - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #36074 Reported by: David Coudert Reviewer(s): Frédéric Chapoton
2 parents 32d375d + 85a58bd commit 35ac035

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

src/sage/graphs/bipartite_graph.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
from .generic_graph import GenericGraph
4646
from .graph import Graph
4747
from sage.rings.integer import Integer
48-
from sage.misc.decorators import rename_keyword
4948
from sage.misc.cachefunc import cached_method
5049
from sage.misc.lazy_import import lazy_import
5150

@@ -2226,7 +2225,6 @@ class :class:`MixedIntegerLinearProgram
22262225
raise ValueError('algorithm must be "Hopcroft-Karp", '
22272226
'"Eppstein", "Edmonds" or "LP"')
22282227

2229-
@rename_keyword(deprecation=32238, verbosity='verbose')
22302228
def vertex_cover(self, algorithm="Konig", value_only=False,
22312229
reduction_rules=True, solver=None, verbose=0,
22322230
*, integrality_tolerance=1e-3):

src/sage/graphs/graph.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,6 @@
432432
lazy_import('sage.graphs.mcqd', ['mcqd'],
433433
feature=PythonModule('sage.graphs.mcqd', spkg='mcqd'))
434434

435-
from sage.misc.decorators import rename_keyword
436-
437435

438436
class Graph(GenericGraph):
439437
r"""
@@ -6920,7 +6918,6 @@ def cliques_get_clique_bipartite(self, **kwds):
69206918
return BipartiteGraph(networkx.make_clique_bipartite(self.networkx_graph(), **kwds))
69216919

69226920
@doc_index("Algorithmically hard stuff")
6923-
@rename_keyword(deprecation=32238, verbosity='verbose')
69246921
def independent_set(self, algorithm="Cliquer", value_only=False, reduction_rules=True,
69256922
solver=None, verbose=0, *, integrality_tolerance=1e-3):
69266923
r"""
@@ -7015,7 +7012,6 @@ def independent_set(self, algorithm="Cliquer", value_only=False, reduction_rules
70157012
return [u for u in self if u not in my_cover]
70167013

70177014
@doc_index("Algorithmically hard stuff")
7018-
@rename_keyword(deprecation=32238, verbosity='verbose')
70197015
def vertex_cover(self, algorithm="Cliquer", value_only=False,
70207016
reduction_rules=True, solver=None, verbose=0,
70217017
*, integrality_tolerance=1e-3):

src/sage/graphs/graph_decompositions/vertex_separation.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ from sage.graphs.graph_decompositions.fast_digraph cimport FastDigraph, compute_
271271
from libc.stdint cimport uint8_t
272272
from sage.data_structures.binary_matrix cimport *
273273
from sage.graphs.base.static_dense_graph cimport dense_graph_init
274-
from sage.misc.decorators import rename_keyword
275274

276275

277276
###############
@@ -1377,7 +1376,6 @@ def _vertex_separation_MILP_formulation(G, integrality=False, solver=None):
13771376
return p, x, u, y, z
13781377

13791378

1380-
@rename_keyword(deprecation=32222, verbosity='verbose')
13811379
def vertex_separation_MILP(G, integrality=False, solver=None, verbose=0,
13821380
*, integrality_tolerance=1e-3):
13831381
r"""

0 commit comments

Comments
 (0)