Prerequisites
- Git
- Python 3.10 or newer, within the source package’s declared Python 3 range
- Poetry
Checkout and install
--no-root is intentional. At the pinned commit, package metadata points to a public package layout that is not present, so editable/root installation is not release-ready. Poetry can still create the environment and install the development dependencies used by the source tree.
Verify the baseline
Frompackages/langstate:
df40bc49bc8e3a51b2bb695b30ff93ef81b2cc4b:
python -m pytest, not a bare pytest executable. The module form places the current source directory on Python’s import path, which is required for the current core.* layout.
Import model
Examples in these docs run frompackages/langstate and import modules such as: