Skip to content

Commit fde12db

Browse files
authored
Remove petab.v2-is-experimental warnings (#457)
This has been communicated via the release notes. I don't think we need to annoy users with these warnings.
1 parent 1084005 commit fde12db

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

petab/v1/problem.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ def get_path(filename):
302302
f"{yaml_config[FORMAT_VERSION]}."
303303
)
304304
if major_version == 2:
305-
warn("Support for PEtab2.0 is experimental!", stacklevel=2)
306305
warn(
307306
"Using petab.v1.Problem with PEtab2.0 is deprecated. "
308307
"Use petab.v2.Problem instead.",

petab/v2/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@
33
Contains all functionality related to handling PEtab 2.0 problems.
44
"""
55

6-
from warnings import warn
7-
8-
warn(
9-
"Support for PEtab2.0 and all of petab.v2 is experimental "
10-
"and subject to changes!",
11-
stacklevel=1,
12-
)
13-
146
# TODO: move this module to v2
157
from petab.v1.mapping import ( # noqa: F403, F401, E402
168
get_mapping_df,

pytest.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,5 @@ filterwarnings =
77
error
88
# TODO: until tests are reorganized for petab.v1
99
ignore::DeprecationWarning
10-
ignore:Support for PEtab2.0 and all of petab.v2 is experimental:UserWarning
11-
ignore:Support for PEtab2.0 is experimental:UserWarning
1210
ignore:.*inspect.getargspec\(\) is deprecated.*:DeprecationWarning
1311
ignore:.*Passing unrecognized arguments to super\(PyDevIPCompleter6\).*:DeprecationWarning

0 commit comments

Comments
 (0)