feat: run integration tests on more platforms#760
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
0900afe to
0e9261a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #760 +/- ##
=======================================
Coverage 27.96% 27.96%
=======================================
Files 21 21
Lines 2596 2596
Branches 2596 2596
=======================================
Hits 726 726
Misses 1867 1867
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
53ead93 to
81695c2
Compare
Add support for running integration tests on Python 3.9 through 3.14+ with minimal changes using modern Python features. Changes: - event.py: Add __future__ annotations import to enable modern type hint syntax (int | None) on Python 3.9, with fallback for @OverRide decorator (Python 3.12+) - test_config_hotreload.py: Handle both builtin TimeoutError (Python 3.11+) and concurrent.futures.TimeoutError (Python 3.9-3.10) - test_path_rmdir.py: Reverse event order for Python < 3.10 due to different shutil.rmtree deletion ordering This avoids using deprecated Union/Optional types while maintaining backward compatibility. Tested: 102 tests pass on Python 3.9.25 Assisted-by: Claude Code (claude-sonnet-4-5@20250929)
81695c2 to
1d09560
Compare
b4e6b36 to
c9e2521
Compare
c9e2521 to
9c86da0
Compare
4d7cb7c to
de54ca2
Compare
2c10b0d to
9a0d020
Compare
9a0d020 to
33ec932
Compare
Description
Add support for running integration tests on Python 3.9 through 3.14+ with minimal changes using modern Python features.
Changes:
This avoids using deprecated Union/Optional types while maintaining backward compatibility.
Assisted-by: Claude Code (claude-sonnet-4-5@20250929)
Checklist
Automated testing
If any of these don't apply, please comment below.
Testing Performed
Tested: 102 tests pass on Python 3.9.25