Skip to content

fix: pin pandas-market-calendars to the verified 5.4.0 release - #63

Closed
kcrmin wants to merge 1 commit into
developfrom
fix/pin-pandas-market-calendars
Closed

kcrmin wants to merge 1 commit into
developfrom
fix/pin-pandas-market-calendars

Conversation

@kcrmin

@kcrmin kcrmin commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Superseded by #65.

market_pipeline_lib.reference.sessions raises CalendarSourceDrift for any
installed pandas-market-calendars other than XNYS_CALENDAR_LIBRARY_VERSION
(5.4.0), but pyproject allowed >=5.4,<6. Since 5.5.0 was published on
2026-10-05, a fresh install (CI and the production image) resolves 5.5.0:
11 reference-catalog unit tests and 6 integration tests fail, and
xnys_sessions() raises inside the built image.

Pin the exact release the XNYS boundaries were verified against, with a
note that the pin and the constant must move together.

Verified on CPython 3.12.13: ruff, mypy, gate3 (1090 passed, coverage
89.10%), gate8 with Testcontainers PostgreSQL 16 + LocalStack (160 passed,
0 skipped), and the production image reports 5.4.0 and classifies
2024-11-27..30 correctly.

Co-Authored-By: Claude Opus 5.5 <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