Skip to content

Commit 12ecb90

Browse files
authored
Merge branch 'main' into mkdir
2 parents 75c9a9e + ee0bce4 commit 12ecb90

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"numpy": ("https://numpy.org/devdocs/", None),
5353
"sympy": ("https://docs.sympy.org/latest/", None),
5454
"python": ("https://docs.python.org/3", None),
55+
"pydantic": ("https://docs.pydantic.dev/latest/", None),
5556
}
5657

5758
# Add any paths that contain templates here, relative to this directory.

petab/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __getattr__(name):
3636
return getattr(importlib.import_module("petab.v1"), name)
3737

3838

39-
def v1getattr(name, module):
39+
def _v1getattr(name, module):
4040
if name not in ("__path__", "__all__"):
4141
warn(
4242
f"Accessing `petab.{name}` is deprecated and will be removed in "
@@ -67,7 +67,7 @@ def v1getattr(name, module):
6767
real_module = importlib.import_module(
6868
f"petab.v1.{'.'.join(v1_object_parts)}"
6969
)
70-
real_module.__getattr__ = partial(v1getattr, module=real_module)
70+
real_module.__getattr__ = partial(_v1getattr, module=real_module)
7171
sys.modules[module_name] = real_module
7272
except ModuleNotFoundError:
7373
pass

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ doc = [
6565
# https://github.com/spatialaudio/nbsphinx/issues/687#issuecomment-1339271312
6666
"ipython>=7.21.0, !=8.7.0",
6767
"pysb",
68-
"antimony>=2.14.0"
68+
"antimony>=2.14.0",
69+
"sbmlmath>=0.4.0",
6970
]
7071
vis = [
7172
"matplotlib>=3.6.0",

0 commit comments

Comments
 (0)