The Docker image leaves out bngsim for a reason that no longer holds, so it cannot run 89 of the 97 tutorial configs
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker, python
- Domain
- build-system
Research direction
Read the Dockerfile and .github/workflows/docker.yml to trace the image install steps and CI job name; check pyproject.toml and tests/test_packaging_metadata.py for dependency metadata expectations. Build the image and try a tutorial config that uses bngsim, such as examples/tutorial/36_estimate_noise/estimated_sigma.conf. Done means the image can run those configs and the Docker header and CI job name describe the updated image.
Written by the indexing model from the issue text.
Description
The Dockerfile builds what it calls a legacy BNG2.pl image. Its header explains why it does not install bngsim, PyBNF's default simulation backend:
bngsim is a private, macOS-only wheel with no public Linux build, so it cannot
be installed in a Linux container today (issue #414). [...] When bngsim ships
public Linux wheels, a bngsim-backed image can replace this one.
That condition is met. bngsim 0.17.0 is on PyPI with manylinux_2_28_x86_64 wheels for CPython 3.10 to 3.13, and the CI action installs it on Ubuntu runners for every test leg. The image is built with Python 3.13, which those wheels cover.
Without bngsim, PyBNF refuses any config that sets bngl_backend = bngsim, and 89 of the 97 configs under examples/tutorial/ do. To see the refusal outside Docker, with PYBNF_NO_BNGSIM=1 standing in for the missing package:
cd examples/tutorial/36_estimate_noise
PYBNF_NO_BNGSIM=1 pybnf -c estimated_sigma.conf
Error: bngl_backend = bngsim was requested for model decay, but PYBNF_NO_BNGSIM is set.
In the image, where bngsim is simply absent, the same configs are refused the same way. The image also installs PyBNF with --no-deps, so it ships without a dependency that pyproject.toml declares as required.
Suggested change: install bngsim in the image, as its header proposes, and update the header and the CI job name (docker build (legacy BNG2.pl image) in .github/workflows/docker.yml). The pip install --no-deps step could then let pip resolve PyBNF's own dependencies from the wheel, and the hand-written dependency list in the Dockerfile could go. tests/test_packaging_metadata.py currently checks that list against pyproject.toml.
- Dominant language
- Python
- Stars
- 25
- Forks
- 25
- Avg merge
- 4h 5m
- Merged PRs (30d)
- 10
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lanl/PyBNF
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug minor
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
bug minor
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
bug silent-incorrectness
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
software-mansion-labs/Diplomat#20 ·
Maintainers usually reply within 1 day
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaPossibly taken @lijy91 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
libnativeapi/nativeapi#53 · 1 reaction ·
Maintainers usually reply within 1 day
-
View Counts discarded due to field name mismatchPossibly taken @rsiva0400 claimed this today. Opensite-bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Model version publishes the new UK firm entity as a personPossibly taken @vahid-ahmadi claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PolicyEngine/policyengine.py#764 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
spcl/HPCAgent-Bench#264 ·
Maintainers usually reply within 1 day