-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Update sqlite3 and the tests to CPython 3.14.2 #6787
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
Update sqlite3 and the tests to CPython 3.14.2 #6787
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (17)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
f185847 to
5d18754
Compare
|
Python has 3.14.2 tag now |
5d18754 to
a5ecafe
Compare
|
how about Lib/sqlite3? isn't it changed? |
Oh, I'm running sqlite tests to identify what needs to be updated. I'm working through Lib/sqlite3 and Lib/test/test_sqlite3/** locally. It looks like the tests are deadlocking, so I'm investigating it. |
fea9132 to
afc44cb
Compare
Skip tests that fail due to unimplemented features or behavior differences: - _iterdump not implemented (test_dump.py) - Unraisable exception handling not implemented (test_hooks.py, test_userfunctions.py) - Keyword-only arguments not supported for various methods - Autocommit behavior differences (test_transactions.py) - TransactionTests skipped due to timeout parameter type issue - Various error message differences (test_dbapi.py) - SQLITE_DBCONFIG constants not implemented - Row and Connection signature inspection issues All tests now pass with 95 skipped out of 493 total tests.
afc44cb to
494326a
Compare
youknowone
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to check if newly added @unittest.skip was not avoidable.
Just in case, we prefer @unittest.expectedFailure over @unittest.skip
Lib/test/test_sqlite3/test_dump.py
Outdated
| [self.assertEqual(expected_sqls[i], actual_sqls[i]) | ||
| for i in range(len(expected_sqls))] | ||
|
|
||
| @unittest.skip("TODO: RUSTPYTHON iterdump filter parameter not implemented") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the test panic or hang? If it just fail, we prefer to mark it as expectedFailure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the few tests that were hanging to @unittest.skip, and marked the rest as expectedFailure. Thank you.
- Convert @unittest.skip decorators to @unittest.expectedFailure for tests that fail without panic/hang - Keep @unittest.skip only for TransactionTests class (setUp fails with timeout=0 int type)
youknowone
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
fixed #6785