Repository navigation
Allow python-dateutil 3 and 4 - #1379
Conversation
The SDK only uses dateutil.parser in the JSON serializer. The unit tests pass unchanged with python-dateutil 2.9.0.post0 and 4.0.0. Signed-off-by: itzzdev09 <devved90@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1379 +/- ##
==========================================
- Coverage 88.75% 88.72% -0.03%
==========================================
Files 166 166
Lines 13632 13632
==========================================
- Hits 12099 12095 -4
- Misses 1533 1537 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Claude review · not a review sign-off. No findings. The SDK only calls Reviewed at 619ab10. |
Description
pyproject.tomlpinspython-dateutil>=2.8.1,<3.0.0. python-dateutil 3.0.0 (21 Oct) and 4.0.0 (1 Nov) are out, so the SDK can't be installed next to packages that need them. The SDK only usesdateutil.parserindapr/serializers/json.py, which didn't change in a way that affects it.This raises the bound to
<5.0.0.uv.lockchanges only in therequires-distentry, so the locked versions stay the same (uv lock --checkpasses).Unit tests as in CI (
pytest tests -m "not e2e" --ignore=tests/integration --ignore=tests/examples --import-mode=importlib), Linux, Python 3.12: 2251 passed with python-dateutil 2.9.0.post0 and with 4.0.0.Issue reference
No issue; dependency range only.
Checklist