Skip to content

ci: full-suite gate on Python 3.11 with authenticated mongo service a…#923

Open
ilayfalach wants to merge 3 commits into
masterfrom
issue884-v2
Open

ci: full-suite gate on Python 3.11 with authenticated mongo service a…#923
ilayfalach wants to merge 3 commits into
masterfrom
issue884-v2

Conversation

@ilayfalach
Copy link
Copy Markdown
Collaborator

…nd injected pyhera config

Replaces the prior 3.12-based gate (commit 82ced32) with a Python 3.11 target per Lior's rollout direction. Mongo service runs mongo:latest with MONGO_INITDB_ROOT_USERNAME/PASSWORD = hera/heracles; healthcheck uses authenticated mongosh ping. Step "Write ~/.pyhera/config.json" injects the matching config before pytest so hera's import-time DB connect succeeds. Internal deps hermes and argos are vendored via actions/checkout into _vendor/ and installed with pip install -e. Pytest invocation: pytest hera/tests/ -v -m "not notebook" — the dead "openfoam" filter and decorative MONGO_HOST/MONGO_PORT env vars are removed.

Ilay Falach and others added 3 commits June 3, 2026 12:31
…nd injected pyhera config

Replaces the prior 3.12-based gate (commit 82ced32) with a Python 3.11
target per Lior's rollout direction. Mongo service runs mongo:latest
with MONGO_INITDB_ROOT_USERNAME/PASSWORD = hera/heracles; healthcheck
uses authenticated mongosh ping. Step "Write ~/.pyhera/config.json"
injects the matching config before pytest so hera's import-time
DB connect succeeds. Internal deps hermes and argos are vendored via
actions/checkout into _vendor/ and installed with pip install -e.
Pytest invocation: pytest hera/tests/ -v -m "not notebook" — the dead
"openfoam" filter and decorative MONGO_HOST/MONGO_PORT env vars are
removed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ksql==0.10.2 has been pinned in requirements.txt but is not imported
anywhere in hera/. Its setup.py does `import pip` inside an isolated
build env, which fails on modern pip (26.x) with
`ModuleNotFoundError: No module named 'pip'`. Locally it survives only
because pre-existing virtualenvs were built with an older pip; fresh
CI runners always fail at this line.

No consumers in the codebase, no transitive justification — removing.
Surfaced by the first run of .github/workflows/ci.yml on issue884-v2.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
sphinx-basic-ng has no stable 1.0.0 release on PyPI — only pre-releases
up to 1.0.0b2 exist. Under PEP 440, `>=1.0.0` excludes pre-releases,
so pip 26 fails resolution with "No matching distribution found".

Pin to the latest available beta (==1.0.0b2) to match the rest of
requirements.txt's `==` convention. This is a docs-time transitive
(via furo) — not exercised by the test suite.

Surfaced by the second run of .github/workflows/ci.yml on issue884-v2.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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