Skip to content

release: bngsim 0.19.0 - #2156

Merged
wshlavacek merged 2 commits into
mainfrom
release/0.19.0
Dec 4, 2026
Merged

wshlavacek merged 2 commits into
mainfrom
release/0.19.0

Conversation

@wshlavacek

@wshlavacek wshlavacek commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

bngsim 0.19.0: 54 changes since 0.18.0 (6 added, 13 changed, 1 removed, 34 fixed). ci/changelog.py build --version 0.19.0 folded every changelog.d/ fragment into CHANGELOG.md; the release body is 48,468 of GitHub's 125,000 characters. The version is bumped in pyproject.toml and on the one bngsim line of uv.lock; uv lock --check passes.

Why a release now

pip install bngsim gives 0.18.0, which still has a silent wrong answer that bngsim's own error steers a caller to. sim.run(t_span=(0, 10), t_eval=[5, 10]) answers "For this call: sim.run(t_span=(0, 10), sample_times=[5, 10])", and that call on examples.load("decay") returns A = 100 at t = 5 and 8.2 at t = 10, where the answer is 8.2 and 0.67, with no warning (#2012, fixed on main by #2078). The online agent guide and llms.txt point at /en/latest/, so their recipe's r.check(require=[...]) is a TypeError on 0.18.0. The rest of #1710's last items (#2009, #2010, #2013, #2014, #2017, #1970, #1971, #1972) and the MIR JIT in the wheels (#1852) are also unreleased.

Why MAJOR (0.18 → 0.19)

CHANGELOG.md's 0.MAJOR.MINOR rule makes a default a caller must adapt to MAJOR.

compute_all_sensitivities' t_span default becomes None (#2100), which runs as before when sample_times is not given. run(t_span=..., sample_times=...) integrating from t_span[0] (#2012) repairs a wrong answer, which on its own is MINOR.

Checked

  • Lint: pre-commit run --all-files (the CI gate) passes.
  • The full Python suite on this tree: pytest python/tests -n auto with BNGPATH set, rc 0: 33,057 passed, 72 skipped, 153 xfailed. The rebuilt core and the package metadata both report 0.19.0. Pushed with --no-verify, since that run was the pre-push hook's suite on this tree.
  • run_tests.sh -n auto (the stand-in that tests the installed package): 33,053 passed, 72 skipped, 153 xfailed, and 4 failed, all four from the stand-in layout and failing the same way before this PR: test_python_messages_carry_no_issue_references found no Python files (0 > 50) and test_user_docs_carry_no_issue_references could not open python/bngsim/agent_guide.md, because the stand-in holds python/tests/ and nothing else of python/; the two test_rulemonkey_exprtk_sync_closure tests took a path resolved through the stand-in's symlinks relative to the stand-in. The second commit takes their root from _source_root.bngsim_source_root(), the same directory in place and the real tree under the stand-in. The three files: 52 collected before and after, the same skips; under run_tests.sh, 50 passed and 2 skipped. Pushed with --no-verify: the change is to those three test files only.
  • A serial run_tests.sh died with SIGBUS at 74%, inside libRoadRunner 2.11.0's RoadRunner.__init__ in test_biomd451_ode_matches_roadrunner, one process after thousands of tests. That test passes alone through run_tests.sh and in both parallel runs; the release diff cannot reach RoadRunner's constructor. Left alone: it is in RoadRunner, and only a serial run reaches it.
  • The 0.18.0 wheel from PyPI, in a clean venv: the 2012 reproduction above, and main's agent guide run block by block (block 7, the check recipe, fails on require=). The same call on main returns 8.2085 and 0.67379.
  • Nightlies on main: last night's forced-jit failed one macOS shard on a timing bound only, test_jacobian_symbolic.py::TestNonDifferentiableConstructs::test_many_steps_derive_at_once (1.13 s against 1.0 s; 13,103 passed). The night before passed.
  • tolerance table: rows for #1002's jump-mend constants, with measured pins, and the ratchet reads them (#2150) #2153 and discontinuity: D14, a screen of every step so that a pair of crossings inside one step is found, and its three cases (#2071) #2154 (one merged after this branch was cut, one about to) change only dev docs, a ratchet test and parity_checks/: they ship nothing in the package and stage no fragment, so the section is whole either way. CI here runs on the branch merged with main.

@wshlavacek wshlavacek added the changelog exempt Exempt from the changelog-fragment gate: no user-visible change, or the release commit label Dec 4, 2026
Three modules walked up from __file__ to the repository root. Under
run_tests.sh that is the stand-in, which holds python/tests/ and nothing
else of python/, so the message scan found no Python files (0 > 50) and
the docs scan could not open python/bngsim/agent_guide.md; and a path the
RuleMonkey sync check resolved through the stand-in's symlinks was not
under it. They take the root from _source_root.bngsim_source_root(), which
is the same directory in place and the real tree under the stand-in.
@wshlavacek
wshlavacek merged commit a8bc81b into main Dec 4, 2026
17 checks passed
@wshlavacek
wshlavacek deleted the release/0.19.0 branch December 4, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog exempt Exempt from the changelog-fragment gate: no user-visible change, or the release commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant