This issue was found when validating 0.10.0-rc1.
On Python 3.13, the tests error with ResourceWarning: unclosed database at session teardown. This is because the SqlCatalog (and its underlying sqlite3 connections) are never explicitly closed. Python 3.13 began reporting this error: https://docs.python.org/3.13/whatsnew/3.13.html#sqlite3
To reproduce:
cd bindings/python
uv venv --python 3.13
uv pip install -e "." --group dev
uv run pytest tests/test_huggingface_and_cdc.py -k "not hf"
I plan to fix this issue.
This issue was found when validating 0.10.0-rc1.
On Python 3.13, the tests error with
ResourceWarning: unclosed databaseat session teardown. This is because the SqlCatalog (and its underlying sqlite3 connections) are never explicitly closed. Python 3.13 began reporting this error: https://docs.python.org/3.13/whatsnew/3.13.html#sqlite3To reproduce:
I plan to fix this issue.