Skip to content

Clean up the druid sync api. - #1101

Merged
bkyryliuk merged 2 commits into
apache:masterfrom
bkyryliuk:druid_sync_json
Sep 14, 2016
Merged

bkyryliuk merged 2 commits into
apache:masterfrom
bkyryliuk:druid_sync_json

Conversation

@bkyryliuk

Copy link
Copy Markdown
Member

Cleans up the druid sync api to pass the data as the json blob rather than 3 separate attributes.

Reviewers:

@mistercrunch

Copy link
Copy Markdown
Member

LGTM

@bkyryliuk
bkyryliuk merged commit a871ee7 into apache:master Sep 14, 2016
dennisobrien pushed a commit to dennisobrien/caravel that referenced this pull request Sep 19, 2016
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.11.0 First shipped in 0.11.0 labels Feb 19, 2024
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.11.0 First shipped in 0.11.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants