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

gh-92547: Remove deprecated sqlite3 features #92548

Merged
merged 5 commits into from May 16, 2022

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented May 9, 2022

The following sqlite3 features were deprecated in 3.10, scheduled for
removal in 3.12:

Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com

Closes #92547

The following sqlite3 features were deprecated in 3.10, scheduled for
removal in 3.12:

- sqlite3.OptimizedUnicode (gh-23163)
- sqlite3.enable_shared_cache (gh-24008)

Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Code looks good, but let's hold off on merging until the nltk usage of OptimizedUnicode is fixed.

@erlend-aasland
Copy link
Contributor Author

@erlend-aasland erlend-aasland commented May 13, 2022

Code looks good, but let's hold off on merging until the nltk usage of OptimizedUnicode is fixed.

FTR, nltk/nltk#3000 was just merged.

@JelleZijlstra
Copy link
Member

@JelleZijlstra JelleZijlstra commented May 16, 2022

Feel free to merge!

@erlend-aasland erlend-aasland merged commit 00f22e8 into main May 16, 2022
13 checks passed
@erlend-aasland erlend-aasland deleted the sqlite-remove-deprecated-features branch May 16, 2022
@erlend-aasland
Copy link
Contributor Author

@erlend-aasland erlend-aasland commented May 16, 2022

Thanks for helping, Jelle and Victor!

@vstinner
Copy link
Member

@vstinner vstinner commented May 17, 2022

Removed code contained instructions to port existing code to avoid the deprecation warning: replace OptimizedUnicode with str and use URI with cache=shared: 00f22e8

Would you mind to copy these information in What's New in Python 3.12?

@erlend-aasland
Copy link
Contributor Author

@erlend-aasland erlend-aasland commented May 17, 2022

Removed code contained instructions to port existing code to avoid the deprecation warning: replace OptimizedUnicode with str and use URI with cache=shared: 00f22e8

Would you mind to copy these information in What's New in Python 3.12?

Yes, I'll amend What's New. Thanks for the heads-up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants