Skip to content

Document the Python 3.12 requirement in the dev setup - #1

Merged
aleks-bchkv merged 1 commit into
mainfrom
docs/python-version-requirement
Jul 20, 2026
Merged

Document the Python 3.12 requirement in the dev setup#1
aleks-bchkv merged 1 commit into
mainfrom
docs/python-version-requirement

Conversation

@aleks-bchkv

Copy link
Copy Markdown
Collaborator

pyproject.toml declares requires-python = ">=3.12", but neither the README nor CONTRIBUTING mentioned it — so the first documented command fails on any machine whose default python3 is older:

ERROR: Package 'noplag-engine' requires a different Python: 3.11.3 not in '>=3.12'

Python 3.11 is still the system default on plenty of setups, so this is the first thing a new contributor hits, and the error doesn't say what to do about it.

States the requirement in both files and creates the virtualenv with an explicit interpreter.

Found while verifying the repo end to end before making it public. Everything else checked out: docker compose up serves in ~70s with the 899-doc sample corpus loaded, the documented API flow works, a verbatim passage is detected at 100% with the correct source, the demo page renders the match as a clickable Wikipedia link, ruff is clean, and 170 tests pass.

pyproject declares requires-python >=3.12, but the setup instructions did
not, so the first documented command fails on a machine whose default
python3 is older:

  ERROR: Package 'noplag-engine' requires a different Python: 3.11.3 not in '>=3.12'

Python 3.11 is still the system default on plenty of setups, so this is
the first thing a new contributor hits. States the requirement and creates
the virtualenv with an explicit interpreter.
@aleks-bchkv
aleks-bchkv merged commit aaf7839 into main Jul 20, 2026
2 checks passed
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