Skip to content

ci(petab): dogfood upstream libpetab-python main for native BNGL (merged #508) - #590

Merged
wshlavacek merged 1 commit into
mainfrom
ci/native-bngl-upstream-main
Aug 19, 2026
Merged

ci(petab): dogfood upstream libpetab-python main for native BNGL (merged #508)#590
wshlavacek merged 1 commit into
mainfrom
ci/native-bngl-upstream-main

Conversation

@wshlavacek

Copy link
Copy Markdown
Collaborator

What & why

The native BnglModel loader PyBNF has been validating through a personal fork branch is now merged upstream: PEtab-dev/libpetab-python#508. This repoints the pytest-native-bngl CI leg from that fork branch to PEtab-dev/libpetab-python@main, so the leg dogfoods the actual merged code (and survives the fork branch being deleted), and refreshes the now-stale "Step B fork" wording.

Changes

  • .github/workflows/tests.ymlpetab-spec for the pytest-native-bngl leg: wshlavacek/libpetab-python@bngl_model_supportPEtab-dev/libpetab-python@main; updated the assertion message and surrounding comments.
  • .github/actions/setup-pybnf/action.yml — refreshed the petab-spec input description and the install comment.
  • pybnf/petab/_bngl.py — drift note now points at the merged upstream twin instead of the fork branch.
  • pyproject.toml — comments in the petab/tests extras updated to reflect the merge.

Runtime is unchanged

register_bngl() already collapses to a no-op against native support. Verified locally against upstream main:

  • bngl is in petab.v1.models.known_model_types
  • petab.v2.core imports cleanly (the no-op path doesn't raise)
  • the no-op detection triggers
  • the native BnglModel parses parameters/observables

The latest PyPI petab (0.8.2) does not yet carry BNGL, so the petab>=0.8,<1 pin and the register_bngl() monkeypatch fallback both stay in place.

Follow-up (not in this PR)

When a PyPI petab release after 0.8.2 ships native BNGL, bump the pin and retire register_bngl().

…ged #508)

The BnglModel loader PyBNF has been validating through a personal fork
branch is now merged upstream (PEtab-dev/libpetab-python#508). Repoint the
pytest-native-bngl leg's petab-spec from that fork branch to
PEtab-dev/libpetab-python@main so the leg dogfoods the actual merged code
(and survives the fork branch being deleted), and refresh the now-stale
"Step B fork" wording across the workflow, the composite action, the
_bngl drift note, and the pyproject comments.

Runtime is unchanged. register_bngl() already collapses to a no-op against
native support -- verified locally against upstream main: 'bngl' is a known
model type, petab.v2.core imports, the no-op path triggers, and the native
BnglModel parses parameters/observables. The latest PyPI petab (0.8.2) does
not yet carry BNGL, so the petab>=0.8,<1 pin and the monkeypatch fallback
both stay. Retiring them is a follow-up gated on the first PyPI release that
ships BNGL.
@wshlavacek
wshlavacek merged commit 8059932 into main Aug 19, 2026
10 checks passed
@wshlavacek
wshlavacek deleted the ci/native-bngl-upstream-main branch August 19, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant