Repository navigation
Conversation
The windows-latest (pypy-3.11) job has failed since May 2026 with "OSError: Connection broken: IncompleteRead" during the first pip install, while every other job passes. Two things in the workflow make that job fragile: - The pip cache key only depends on the OS, so the PyPy job restores an HTTP cache written by the CPython jobs (and by newer pip versions) on the same OS. - setup-python leaves PyPy on Windows with a mixed pip install (pip 24.0 metadata over newer pip code, actions/setup-python#1348), and the bare "pip" launcher is then used to upgrade pip in place. Key the cache per interpreter and invoke pip as "python -m pip", which is the workaround recommended in actions/setup-python#1348.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1342 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 10 10
Lines 2315 2315
Branches 358 358
=========================================
Hits 2315 2315 ☔ View full report in Codecov by Harness. |
This branch has not been deployed
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.
Fixes #1210.
Arrow.span_range()andArrow.interval()acceptstartandendbounds likeArrow.range()does, but their annotations only alloweddatetime.This updates those annotations to accept
Arrow | datetimeand normalizesArrowbounds before passing them throughfromdatetime().The test dependency markers also skip two optional test-only dependencies on
Windows PyPy. The affected
dateparserregression test already usespytest.importorskip("dateparser"), andpre-commitis only needed by thelint environment.
Tests:
Restored after an accidental fork deletion. Same commits as #1267.