Repository navigation
Clean up the druid sync api. - #1101
Merged
Merged
Conversation
Member
|
LGTM |
dennisobrien
pushed a commit
to dennisobrien/caravel
that referenced
this pull request
Sep 19, 2016
qfcwell
pushed a commit
to qfcwell/superset
that referenced
this pull request
May 12, 2026
sadpandajoe
added a commit
that referenced
this pull request
Oct 1, 2026
pyfakefs was an unpinned direct dependency of the `development` extra, so requirements/development.txt had it locked at 5.3.5 -- a release that predates pyfakefs's own Python 3.13 support. Under 3.13, 5.3.5 leaves os.chdir patched to the fake filesystem after the function-scoped `fs` fixture is undone, so when pytest-cov's pytest_runtestloop hookwrapper teardown chdirs back to the rootdir it raises FileNotFoundError/KeyError/OSError against the fake filesystem and aborts the whole session with a PluggyTeardownRaisedWarning + INTERNALERROR. This broke the Python-Integration workflow's `test-postgres (next)` job (Python 3.13) once PR #44767 moved that leg off 3.12 -- the abort lands right after tests/integration_tests/celery_tests.py, as pytest reaches cli_tests.py, the only test file using pyfakefs's `fs` fixture. The floor is 5.7.4 rather than 5.6.0 (preliminary 3.13 support, the first release in which the chdir crash no longer reproduces) or 5.7.0 (official 3.13 support) because 5.7.4 additionally fixes module/session-scoped fixtures under 3.13 (pyfakefs #1101), and the `fs` tests in cli_tests.py run alongside session- and module-scoped fixtures. 6.x drops Python < 3.10, which is compatible with this project's `requires-python = ">=3.11"`, and adds no new runtime dependencies, so the lock change is a single line. Verified with an isolated pytest + pytest-cov + pyfakefs repro using CI's pinned versions (pytest 7.4.4, pytest-cov 6.0.0, coverage 7.6.8): on Python 3.13.15 the identical INTERNALERROR signature reproduces with pyfakefs 5.3.5 and 5.4.1/5.5.0, and is GREEN from 5.6.0 onward including the resolved 6.2.0; GREEN on 3.11.16 and 3.12.14 as well. Co-Authored-By: Claude Opus 5 <[email protected]>
1 of 9 tasks
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.
Cleans up the druid sync api to pass the data as the json blob rather than 3 separate attributes.
Reviewers: