Repository navigation
Conversation
reference.sessions rejects every release but 5.4.0, and fresh installs now resolve 5.5.0, failing gate3, gate8 and the image calendar path.
pandas-market-calendars 5.4.0 serves XNYS from exchange-calendars, so the drift refusal now checks both releases and the pin is tested.
SQLAlchemy 2.1 retyped Result; capping the minor and pinning mypy to the backtest-engine release keeps the type gate from moving by itself.
The setup still named 3.11 and requirements.txt, and called boto3 and psycopg optional although pyproject lists them as runtime deps.
The comment credited PIPELINE_TEST_POSTGRES_IMAGE with stopping the superproject search; only I2S_SUPERPROJECT_ROOT does, so set it.
Compose started 4.14.0 while the gate8 service ran 4.7.0, so the two LocalStack gates exercised different emulator releases.
ruff format --check reported one signature in cli.py that fits on one line; it is the only file the formatter would change.
gate1 excludes the loader, so its own ruff and strict mypy settings were never enforced. Install the tools from its uv.lock with --locked.
The runtime is pandas 3, but the stubs were capped below 3, so mypy checked the 2.x API. mypy stays clean on 3.0.0 and 3.0.5.
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Depends on #66 (this branch is based on
build/harden-dependency-ranges). Small CI and tooling fixes for the pipeline:requirements.txt, and called boto3 and psycopg optional. It now describes Python 3.12 with uv or venv, and lists them as runtime dependencies.I2S_SUPERPROJECT_ROOTto the checkout, so conftest always applies the vendored bundle. The old comment creditedPIPELINE_TEST_POSTGRES_IMAGEwith stopping the superproject search, but that variable does not.docker-compose.localstack.yml: changed from 4.14.0 tolocalstack/localstack:4.7.0, the image the gate8 service runs, so gate8 and gate9 test the same emulator release.idea2strategy-market-loader. It installs them from the loader'suv.lockwithuv sync --locked. gate1 excludes the loader, so none of these checks ran before. This also fixes the loader's one format violation incli.py.pandas-stubsmoves from>=2.2,<3to>=3,<4, matching the pandas 3 runtime.Merge order note: #68 hash-locks the dependencies. Whichever of the two lands second must regenerate
requirements/dev.txt, because the stubs pin changes.Verified
git archivecopy with uv 0.13.1:uv sync --locked, ruff check, ruff format --check, mypy all passed.ruff format --checkfails on the oldcli.py, anduv sync --lockedfails when the loader's pyproject drifts from the lock.ruff check .clean.docker compose -f docker-compose.localstack.yml up -d --wait(4.7.0, s3 and sqs running), vendored bundle: 172 executed (subtests included), 0 skipped, 0 errors.I2S_SUPERPROJECT_ROOTset to the checkout, as CI sets it, with PostgreSQL 16 Testcontainers and LocalStack 4.7.0: 160 passed, 0 skipped, 0 errors; JUnit assertion passed.Checklist
requires-python