Skip to content

Commit 3c92c32

Browse files
jorenhamjulvdb
authored andcommitted
🏷️ update scipy version string literals
1 parent 1f964b9 commit 3c92c32

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

scipy-stubs/version.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import typing as _t
22

3-
version: _t.Final = "1.16.0"
4-
full_version: _t.Final = "1.16.0"
5-
short_version: _t.Final = "1.16.0"
3+
version: _t.Final = "1.16.1"
4+
full_version: _t.Final = "1.16.1"
5+
short_version: _t.Final = "1.16.1"
66
release: _t.Final = True
77
git_revision: _t.Final[_t.LiteralString] = ...

tests/stats/test_make_distribution.pyi

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from typing import Literal
2-
31
import numpy as np
42

53
from scipy.stats import distributions, make_distribution
@@ -9,7 +7,7 @@ LogUniform: type[ContinuousDistribution] = make_distribution(distributions.logun
97

108
class _DuckRV:
119
@property
12-
def __make_distribution_version__(self) -> Literal["1.16.0"]: ...
10+
def __make_distribution_version__(self) -> str: ...
1311
@property
1412
def parameters(self) -> dict[str, tuple[float, float]]: ...
1513
@property
@@ -18,7 +16,7 @@ class _DuckRV:
1816

1917
class _MultiDuckRV:
2018
@property
21-
def __make_distribution_version__(self) -> Literal["1.16.0"]: ...
19+
def __make_distribution_version__(self) -> str: ...
2220
@property
2321
def parameters(self) -> tuple[dict[str, tuple[float, float]], dict[str, tuple[float, float]]]: ...
2422
def process_parameters(self, quack: float | None = None, swim: float | None = None) -> dict[str, float]: ...

0 commit comments

Comments
 (0)