We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My system sqlite is compiled with support for foreign keys:
sqlite> pragma compile_options; ... DEFAULT_FOREIGN_KEYS ...
This causes a test failure when attempting to compile Python 3.13.0:
====================================================================== ERROR: test_table_dump (test.test_sqlite3.test_dump.DumpTests.test_table_dump) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/charles/code/python-3.13.0/Lib/test/test_sqlite3/test_dump.py", line 45, in test_table_dump [self.cu.execute(s) for s in expected_sqls] ~~~~~~~~~~~~~~~^^^ sqlite3.IntegrityError: FOREIGN KEY constraint failed ----------------------------------------------------------------------
The test-case should likely disable foreign-key pragma before beginning in order to be correct in all cases.
3.13
Linux
The text was updated successfully, but these errors were encountered:
Seems to be related to this issue #123849 Though it looks like the 3.13 backport which fixes the test failure has not been merged yet: #125163
Sorry, something went wrong.
Yes, feel free to close as duplicate, thanks for triaging this @tomasr8.
No branches or pull requests
Bug report
Bug description:
My system sqlite is compiled with support for foreign keys:
This causes a test failure when attempting to compile Python 3.13.0:
The test-case should likely disable foreign-key pragma before beginning in order to be correct in all cases.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: