Skip to content

Commit 3404917

Browse files
committed
Shift version numbers up in text and code references
1 parent f129f19 commit 3404917

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

docs/30-data-valuation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ rank stability in certain situations.
580580
.. note::
581581

582582
Shapley values are a particular case of semi-values and can therefore also be
583-
computed with the methods described here. However, as of version 0.5.1, we
583+
computed with the methods described here. However, as of version 0.6.0, we
584584
recommend using :func:`~pydvl.value.shapley.compute_shapley_values` instead,
585585
in particular because it implements truncated Monte Carlo sampling for faster
586586
computation.

src/pydvl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.5.1.dev0"
1+
__version__ = "0.6.0.dev0"

src/pydvl/utils/dataset.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def from_sklearn(
274274
:class:`Dataset` constructor. Use this to pass e.g. ``is_multi_output``.
275275
:return: Object with the sklearn dataset
276276
277-
.. versionchanged:: 0.5.1
277+
.. versionchanged:: 0.6.0
278278
Added kwargs to pass to the :class:`Dataset` constructor.
279279
"""
280280
x_train, x_test, y_train, y_test = train_test_split(
@@ -327,7 +327,7 @@ def from_arrays(
327327
328328
.. versionadded:: 0.4.0
329329
330-
.. versionchanged:: 0.5.1
330+
.. versionchanged:: 0.6.0
331331
Added kwargs to pass to the :class:`Dataset` constructor.
332332
"""
333333
x_train, x_test, y_train, y_test = train_test_split(
@@ -377,7 +377,7 @@ def __init__(
377377
:param kwargs: Additional keyword arguments to pass to the
378378
:class:`Dataset` constructor.
379379
380-
.. versionchanged:: 0.5.1
380+
.. versionchanged:: 0.6.0
381381
Added ``group_names`` and forwarding of ``kwargs``
382382
"""
383383
super().__init__(
@@ -520,7 +520,7 @@ def from_arrays(
520520
521521
.. versionadded:: 0.4.0
522522
523-
.. versionchanged:: 0.5.1
523+
.. versionchanged:: 0.6.0
524524
Added kwargs to pass to the :class:`Dataset` constructor.
525525
"""
526526
if data_groups is None:

src/pydvl/value/least_core/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ def compute_least_core_values(
7979
"""
8080
progress: bool = kwargs.pop("progress", False)
8181

82-
# TODO: remove this before releasing version 0.6.0
82+
# TODO: remove this before releasing version 0.7.0
8383
if kwargs:
8484
warnings.warn(
8585
DeprecationWarning(
86-
"Passing solver options as kwargs was deprecated in 0.5.1, will "
87-
"be removed in 0.6.0. `Use solver_options` instead."
86+
"Passing solver options as kwargs was deprecated in 0.6.0, will "
87+
"be removed in 0.7.0. `Use solver_options` instead."
8888
)
8989
)
9090
if solver_options is None:

src/pydvl/value/least_core/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ def lc_solve_problem(
5353
RuntimeWarning,
5454
)
5555

56-
# TODO: remove this before releasing version 0.6.0
56+
# TODO: remove this before releasing version 0.7.0
5757
if options:
5858
warnings.warn(
5959
DeprecationWarning(
6060
"Passing solver options as kwargs was deprecated in "
61-
"0.5.1, will be removed in 0.6.0. `Use solver_options` "
61+
"0.6.0, will be removed in 0.7.0. `Use solver_options` "
6262
"instead."
6363
)
6464
)

src/pydvl/value/least_core/montecarlo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ def montecarlo_least_core(
6161
:param progress: If True, shows a tqdm progress bar
6262
:return: Object with the data values and the least core value.
6363
"""
64-
# TODO: remove this before releasing version 0.6.0
64+
# TODO: remove this before releasing version 0.7.0
6565
if options:
6666
warnings.warn(
6767
DeprecationWarning(
6868
"Passing solver options as kwargs was deprecated in "
69-
"0.5.1, will be removed in 0.6.0. `Use solver_options` "
69+
"0.6.0, will be removed in 0.7.0. `Use solver_options` "
7070
"instead."
7171
)
7272
)

src/pydvl/value/least_core/naive.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ def exact_least_core(
5757
if n > 20: # Arbitrary choice, will depend on time required, caching, etc.
5858
warnings.warn(f"Large dataset! Computation requires 2^{n} calls to model.fit()")
5959

60-
# TODO: remove this before releasing version 0.6.0
60+
# TODO: remove this before releasing version 0.7.0
6161
if options:
6262
warnings.warn(
6363
DeprecationWarning(
6464
"Passing solver options as kwargs was deprecated in "
65-
"0.5.1, will "
66-
"be removed in 0.6.0. `Use solver_options` instead."
65+
"0.6.0, will "
66+
"be removed in 0.7.0. `Use solver_options` instead."
6767
)
6868
)
6969
if solver_options is None:

src/pydvl/value/result.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ def from_random(
664664
:attr:`Status.Converged` by default.
665665
:raises ValueError: If ``size`` is less than 1.
666666
667-
.. versionchanged:: 0.5.1
667+
.. versionchanged:: 0.6.0
668668
Added parameter ``total``. Check for zero size
669669
"""
670670
if size < 1:
@@ -681,8 +681,8 @@ def from_random(
681681
@classmethod
682682
@deprecated(
683683
target=True,
684-
deprecated_in="0.5.1",
685-
remove_in="0.7.0",
684+
deprecated_in="0.6.0",
685+
remove_in="0.8.0",
686686
args_mapping=dict(indices=None, data_names=None, n_samples=None),
687687
template_mgs="`%(source_name)s` is deprecated for generating zero-filled "
688688
"results, use `ValuationResult.zeros()` instead.",

src/pydvl/value/stopping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def _check(self, result: ValuationResult) -> Status:
262262

263263

264264
class StandardError(AbsoluteStandardError):
265-
@deprecated(target=AbsoluteStandardError, deprecated_in="0.5.1", remove_in="0.7.0")
265+
@deprecated(target=AbsoluteStandardError, deprecated_in="0.6.0", remove_in="0.8.0")
266266
def __init__(self, *args, **kwargs):
267267
void(*args, **kwargs)
268268

0 commit comments

Comments
 (0)