Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(sqlite): fix test flakiness caused by failing to close sqlite3.Connection objects #10597

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Dec 19, 2024

Continued to observe this, so I took a closer look and it turns out that the context manager does not close the connection, it only handles transaction behavior. This PR fixes the resource warnings that show up only in Python 3.13

@cpcloud cpcloud added this to the 10.0 milestone Dec 19, 2024
@cpcloud cpcloud added the sqlite The SQLite backend label Dec 19, 2024
@github-actions github-actions bot added tests Issues or PRs related to tests duckdb The DuckDB backend labels Dec 19, 2024
Copy link
Contributor

ACTION NEEDED

Ibis follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message.

Please update your PR title and description to match the specification.

@cpcloud cpcloud changed the title fix sqlite test flakiness test(sqlite): fix test flakiness caused by failing to close sqlite3.Connection objects Dec 19, 2024
@cpcloud cpcloud enabled auto-merge (squash) December 20, 2024 09:32
@cpcloud cpcloud disabled auto-merge December 20, 2024 09:33
@cpcloud cpcloud force-pushed the fix-sqlite-test-flakiness branch from a0531bf to d8f3702 Compare December 20, 2024 09:33
@cpcloud cpcloud force-pushed the fix-sqlite-test-flakiness branch from d8f3702 to 0bb107d Compare December 20, 2024 09:34
@cpcloud cpcloud merged commit 8c52788 into ibis-project:main Dec 20, 2024
30 checks passed
@cpcloud cpcloud deleted the fix-sqlite-test-flakiness branch December 20, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duckdb The DuckDB backend sqlite The SQLite backend tests Issues or PRs related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant