Repository navigation
v4.0.0b2
Pre-release
Pre-release
Second beta of PyReason 4.0, built from PR #163 at commit 3eeb2c9641e94c619fe8e72a14fc42623f5f368e. The release commit changes only the package version to 4.0.0b2.
Install
python -m pip install --upgrade "pyreason==4.0.0b2"Supports Python 3.10, 3.11, 3.12, and 3.13. Compared with 4.0.0b1, this restores support for Python 3.10 and 3.11.
Changes
- Brings the Python compatibility work onto the newer main implementation, including its annotation-function improvements and clause-satisfaction optimization.
- Uses
importlib.metadatafor package version lookup and Numba-compatible loops for pending-rule filtering and edge grounding. - Fixes an
IndexErroraffecting delayed node rules in the earlier beta. Node rules can remain pending while their edge list is empty; the lists are now filtered independently in all three engines. - Adds regression tests for two-timestep delays and mixed zero/one-timestep delays, including serial and parallel reasoning with tracing enabled and disabled.
Dependency minimums remain numba>=0.61.0 and numpy>=1.26.4.
Validation
The exact PR code used for this release passed:
- Python 3.10, 3.11, 3.12, and 3.13 test suites.
- Pokec 2k and 10k performance checks.
- The documentation build.
Release preparation also verified the wheel and source package metadata, startup files, and that all three packaged engines match the tested PR commit. A clean Python 3.13 installation passed all 19 package and compiled-filter smoke checks.
PR: #163
Previous beta: https://github.com/lab-v2/pyreason/releases/tag/v4.0.0b1