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.
This was referenced Oct 26, 2026
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
exchange-calendars, which this repo did not constrain. This pinsexchange-calendars==4.13.2, extends theCalendarSourceDriftrefusal to cover that release, and adds a test that the installed requirements pin both libraries exactly.SQLAlchemyis capped at<2.2because 2.1 retypedResult.mypyis pinned to2.3.0, the release backtest-engine uses, and the twoscalar_one()sites it flags are annotated.Depends on #65; this branch starts from it. Paired with the backtest-engine branch of the same name.
Verified
CPython 3.12.13:
Checklist
trading_sessionsre-keying)