PyBNF lists Python 3.14 as supported, but bngsim has no 3.14 wheels, so pip install pybnf there compiles bngsim from source, and no CI job tests that install
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cmake, python
- Domain
- build-system, testing
Research direction
Read pyproject.toml, docs/installation.rst, and .github/workflows/tests.yml, then compare the Python 3.14 install behavior with the existing CI job that sets PYBNF_NO_BNGSIM=1. Check the linked bngsim wheel limitation and decide which of the two compatibility approaches fits the project. Done means the Python support claim, installation guidance, and CI comment agree with tested installation behavior.
Written by the indexing model from the issue text.
Description
PyBNF requires bngsim, its default simulation engine. bngsim 0.17.0 publishes wheels for CPython 3.10 to 3.13 only (lanl/bngsim#1491). PyBNF's pyproject.toml lists Python 3.14 in its classifiers, and docs/installation.rst says any Python 3.12 or higher will do.
So on Python 3.14, pip install pybnf downloads the bngsim source distribution and tries to compile it. That needs a C++17 compiler, CMake 3.20 or later, and Ninja. Most users will not have them, and the installation guide does not mention them.
Reproduction. This resolves the dependencies without building or installing anything:
echo "pybnf==1.8.2" | uv pip compile - --python-version 3.14 --no-build
It fails with "bngsim==0.17.0 has no usable wheels". The same command with --python-version 3.13 resolves normally.
The CI matrix in .github/workflows/tests.yml does have a Python 3.14 job, but it leaves bngsim out and sets PYBNF_NO_BNGSIM=1. The comment there says this job guards "a bare pip install pybnf on a machine with no wheel". That is not what such a machine gets. pip does not skip a required dependency that has no wheel. It builds it from source, and if the build fails the whole install fails. The job is still useful as a check of the code paths that work without bngsim, but the install a 3.14 user actually gets is never tested.
Two ways to fix it:
- Until lanl/bngsim#1491 ships 3.14 wheels, remove the 3.14 classifier and say in the installation guide that Python 3.14 needs a compiler toolchain to build bngsim.
- Keep the 3.14 claim, and add a 3.14 job that builds bngsim from source and runs the tests, so the claim is checked.
Either way, the comment in tests.yml should be corrected.
- 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