Skip to content

Commit 9d2879f

Browse files
authored
Release v0.4.0
2 parents 4179d03 + e9c6866 commit 9d2879f

File tree

120 files changed

+15510
-9098
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+15510
-9098
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 2
55

66
sphinx:
77
configuration: doc/conf.py
8-
fail_on_warning: true
8+
fail_on_warning: false
99

1010
build:
1111
os: "ubuntu-22.04"

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,47 @@
11
# PEtab changelog
22

3+
## 0.4 series
4+
5+
### 0.4.0
6+
7+
**Prepare for PEtab v2**
8+
9+
To enable ongoing support for PEtab v1, while "forking" the v1 code for PEtab v2, the old code base is now available at `petab.v1`, and the new code base will be at `petab.v2`. For now, old `import petab.*` statements still work, but are marked as deprecated, and `import petab.v1.*` should be used instead. `petablint` will be designed for use with only full PEtab problems in future too, rather than individual tables -- partial problems will be supported to validate individual tables.
10+
11+
* Add PEtab math parser and sympy converter by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/260
12+
* Deprecate petablint with individual tables by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/274
13+
* Introduce petab.v1 package by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/282
14+
* Separate v1 and v2 tests by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/284
15+
* Add petab.v2.Problem by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/285
16+
* PEtab v1 to v2 converter by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/281
17+
* Fix imports related to v1 subpackage by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/293
18+
19+
**Validation**
20+
21+
Validation will become increasingly atomic and OOP, to support extension-specific validation in PEtab v2.
22+
23+
* Validator: check for positive bounds for log-scaled parameter by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/278
24+
* Validator: check prior parameters by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/279
25+
* Fix validation for remote files by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/287
26+
* New validation API by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/288
27+
28+
**Documentation**
29+
30+
* Fixed formatting / missing type annotations by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/292
31+
* Added versioning and deprecation policy by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/277
32+
33+
**Other changes**
34+
35+
* Simplify yaml schema by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/264
36+
* Handle numpy types in sympify_petab by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/294
37+
* New `get_path_prefix` method to get the base path for relative paths in PEtab problem YAML by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/280
38+
39+
**New Contributors**
40+
41+
* @dependabot made their first contribution in https://github.com/PEtab-dev/libpetab-python/pull/267
42+
43+
**Full Changelog**: https://github.com/PEtab-dev/libpetab-python/compare/v0.3.0...v0.4.0
44+
345
## 0.3 series
446

547
### 0.3.0

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
recursive-include petab/schemas *.yaml
2-
recursive-include petab/visualize/templates *
2+
recursive-include petab/v1/visualize/templates *
3+
recursive-exclude tests *

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ be:
3939
entrypoints to be available as a shell command from anywhere, called
4040
`petablint`
4141

42-
- [`petab.create_parameter_df`](https://petab.readthedocs.io/projects/libpetab-python/en/latest/build/_autosummary/petab.parameters.html#petab.parameters.create_parameter_df)
42+
- [petab.create_parameter_df](https://petab.readthedocs.io/projects/libpetab-python/en/latest/build/_autosummary/petab.parameters.html#petab.parameters.create_parameter_df)
4343
to create the parameter table, once you have set up the model,
4444
condition table, observable table and measurement table
4545

46-
- [`petab.create_combine_archive`](https://petab.readthedocs.io/projects/libpetab-python/en/latest/build/_autosummary/petab.core.html#petab.core.create_combine_archive)
46+
- [petab.create_combine_archive](https://petab.readthedocs.io/projects/libpetab-python/en/latest/build/_autosummary/petab.core.html#petab.core.create_combine_archive)
4747
to create a [COMBINE Archive](https://combinearchive.org/index/) from PEtab
4848
files
4949

doc/development.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Development
2+
===========
3+
4+
Versioning
5+
----------
6+
7+
We use `Semantic Versioning <http://semver.org/>`_ with the modifications
8+
described under :ref:`deprecation_policy`.
9+
10+
.. _deprecation_policy:
11+
12+
Deprecation policy
13+
------------------
14+
15+
petab aims to provide a stable API for users. However, not all features can be
16+
maintained indefinitely. We will deprecate features in minor releases and
17+
where possible, issue a warning when they are used. We will keep deprecated
18+
features for at least six months after the release that includes the
19+
respective deprecation warning and then remove them earliest in the next minor
20+
or major release. If a deprecated feature is the source of a major bug, we may
21+
remove it earlier.
22+
23+
Python compatibility
24+
--------------------
25+
26+
We follow `numpy's Python support policy <https://numpy.org/neps/nep-0029-deprecation_policy.html>`_.

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
Changelog <CHANGELOG.md>
1515
how_to_cite
1616
license
17+
development
1718

1819
.. toctree::
1920
:maxdepth: 2

doc/modules.rst

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
11
API Reference
22
=============
33

4-
.. automodule:: petab
5-
64
.. rubric:: Modules
75

86
.. autosummary::
97
:toctree: build/_autosummary
108
:recursive:
119

12-
petab.C
13-
petab.calculate
14-
petab.composite_problem
15-
petab.conditions
16-
petab.core
17-
petab.lint
18-
petab.measurements
19-
petab.observables
20-
petab.parameter_mapping
21-
petab.parameters
22-
petab.problem
23-
petab.sampling
24-
petab.sbml
25-
petab.simulate
26-
petab.simplify
27-
petab.visualize
28-
petab.yaml
10+
petab
11+
petab.v1
12+
petab.v1.C
13+
petab.v1.calculate
14+
petab.v1.composite_problem
15+
petab.v1.conditions
16+
petab.v1.core
17+
petab.v1.lint
18+
petab.v1.measurements
19+
petab.v1.models
20+
petab.v1.observables
21+
petab.v1.parameter_mapping
22+
petab.v1.parameters
23+
petab.v1.problem
24+
petab.v1.sampling
25+
petab.v1.sbml
26+
petab.v1.simulate
27+
petab.v1.simplify
28+
petab.v1.visualize
29+
petab.v1.yaml
30+
petab.v2
31+
petab.v2.lint
32+
petab.v2.problem

0 commit comments

Comments
 (0)