Fix Schwab market data transient retries#85
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a11c60df96
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| [project] | ||
| name = "quant-platform-kit" | ||
| version = "0.7.36" | ||
| version = "0.7.37" |
There was a problem hiding this comment.
Keep package version declarations in sync
Bumping only the PEP 621 version leaves setup.py and quant_platform_kit.__version__ at 0.7.36, while tests/test_package_version.py explicitly asserts both declarations match pyproject.toml. In any environment that runs the full package test suite or builds via the legacy setup.py path, this commit reports inconsistent package versions and fails the version consistency test.
Useful? React with 👍 / 👎.
a11c60d to
ff38a4c
Compare
Summary\n- retry Schwab market data requests on HTTP 429 and transient 5xx responses\n- respect Retry-After with bounded exponential backoff\n- bump package version to v0.7.37\n\n## Tests\n- PYTHONPATH=src python -m unittest tests.test_schwab_market_data\n- python -m compileall -q src/quant_platform_kit/schwab/market_data.py tests/test_schwab_market_data.py\n- python -m ruff check src/quant_platform_kit/schwab/market_data.py tests/test_schwab_market_data.py