Repository navigation
Move to bngsim 0.18.0 - #69
Merged
Merged
Conversation
Bump the pinned build under test from 0.17.2 to 0.18.0 and regenerate the lock with pixi update bngsim (the cp312 manylinux_2_28 x86_64 and macOS arm64 wheels). Only bngsim's entries change; every other package keeps its version, and antlr4-python3-runtime only moves within the file. Re-vendor the parity comparison core at the matching release tag v0.18.0 (commit 3295c4d31f2e). Of the nine copied files only bngpath.py differs: require_bng now adds bngsim's checkout remedy to its abort message when no BNG2.pl was found. Update the vendor tool's example and the fake fingerprints in test_publish and test_worker to the new version, and move the staleness and summary scenarios from 0.17.x to 0.18.x. The build notes, DESIGN and the RuleMonkey capability note name 0.18.0 beside 0.17.2: both releases embed RuleMonkey v3.13.0-5-gdb7d1df, so rm_driver v3.13.0 stays the same code lineage as nf_exact. The published summaries are regenerated (bench publish --index --offline). Every snapshot was already out of date (BioNetGen 2.9.5); each now also gives bngsim 0.18.0 and the v0.18.0 verdict code as reasons.
Regenerate published/README.md and index.json with bench publish --index, online this time. The PyPI lookup (2026-12-01) finds 0.18.0, so each out-of-date snapshot now also gives "bngsim 0.18.0 is on PyPI (snapshot: 0.17.2)", as lanl#60 reports. The offline regeneration in the previous commit kept the recorded lookup of 2026-11-25, which named 0.17.3.
…pare as numbers PyPI has had manylinux_2_28 aarch64 wheels for bngsim since 0.17.3, so the build notes no longer say there are none. No wheel has been tried with this harness, so the aarch64 recipe stays. Moving the newer release in test_a_newer_bngsim_release_makes_it_out_of_date from 0.17.10 to 0.18.10 lost its check that releases are compared as numbers: 0.18.10 sorts after 0.18.0 as text too. A 0.9.0 release, older as a number and newer as text, checks it again.
This was referenced Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bump the pinned build under test from 0.17.2 to 0.18.0, the newest bngsim release, and regenerate the lock with
pixi update bngsimunder pixi 0.85.0, the version CI installs. Only bngsim's entries change in the lock. The x86_64 wheel is still taggedmanylinux_2_28, so it still installs on hosts with glibc 2.28.Re-vendor the parity comparison core at the matching release tag
v0.18.0(commit3295c4d31f2e), astools/vendor_parity_core.pyprescribes when the pinned release changes. Of the nine copied files, onlybngpath.pydiffers fromv0.17.2: when noBNG2.plwas found,require_bngnow adds bngsim's checkout remedy to its abort message. It imports_CHECKOUT_REMEDYfrombngsim._bngpath, which 0.17.2 lacks, so the pin and the vendored copy move together, and a re-run on 0.17.2 needs a checkout from before this change.The sensitivity work of #64 and #67 builds on this bump. Its results are to be published in sens-sbml, and a snapshot measured on 0.17.2 would be out of date on arrival (#60). 0.18.0 also changes two calls that work uses:
steady_state()no longer reports convergence at a state a run leaves whenatolis coarser than the model (steady_state(method="integration") reports BIOMD0000000609 converged at a state with four species below zero, from which a run diverges bngsim#1895);steady_state(sensitivity_params=...)refuses a name the model lacks before the solve starts (cli: bngsim run/check cannot request forward sensitivities, so bngsim check never reaches the sensitivity checks bngsim#1925).Changes
pixi.toml/pixi.lock: pinbngsim==0.18.0. The lock diff is bngsim's wheel URLs, hashes andrequires_dist;antlr4-python3-runtimemoves within the file, at the same version.src/bench/_vendor/:parity_core/bngpath.pyre-copied;VENDOR.json'sref,commitand that file's sha256 updated.tools/vendor_parity_core.py: the example ref.tests/test_worker.py,tests/test_publish.py: the fake fingerprints are now 0.18.0 /3295c4d31f2e.tests/test_staleness.py,tests/test_summary.py: the scenarios tied to the pinned version move from 0.17.x to 0.18.x. Moving the newer-release case from 0.17.10 to 0.18.10 lost its check that releases compare as numbers, not as text, sotest_stalenessgains a 0.9.0 case that restores it.docs/BUILD_NOTES.md: the aarch64 recipe builds from thev0.18.0checkout. The notes also say that PyPI has hadmanylinux_2_28aarch64 wheels since 0.17.3; the recipe stays until one is tried here.docs/BUILD_NOTES.md,docs/DESIGN.mdandsrc/bench/capabilities/nf.py: each now names 0.18.0 beside 0.17.2. Both releases embed RuleMonkey v3.13.0-5-gdb7d1df, sorm_driverv3.13.0 stays the same code lineage asnf_exact.published/README.md,published/index.json: regenerated withbench publish --index, whose PyPI lookup (2026-12-01 UTC) records 0.18.0 as the newest release.Verification
pixi install --lockedinstalls 0.18.0;bench doctorreports bngsim 0.18.0 /3295c4d31f2e, READY.bench publish --index --offlinereproduces the committedpublished/exactly.pixi install --lockedleaves the lock unchanged.bench publish --index --offlinefinds the summaries current.bench publish --index --offlinechanges nothing.Not checked
v0.18.0checkout, and PyPI's aarch64 wheels.bench doctoron macOS arm64, which is not READY there: BioNetGen was not fetched, and AMICI 1.1.0's compiled extension does not load (a missing boost symbol). This PR leaves the lock's AMICI entries unchanged.Left as it is
published/skipped-releases.jsonstill says 0.17.3 was skipped and "the next measured release is 0.17.4". No 0.17.4 came out; the next release is 0.18.0, which this PR pins. The entry records the decision as made, so it is unchanged; it can name 0.18.0 instead if preferred.