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

Use keyword arguments in python-sqlite3 test #17452

Merged

Conversation

tianon
Copy link
Member

@tianon tianon commented Aug 29, 2024

/tmp/test-dir/python-sqlite3/./container.py:5: DeprecationWarning: Passing more than 1 positional argument to sqlite3.connect() is deprecated. Parameters 'timeout', 'detect_types', 'isolation_level', 'check_same_thread', 'factory', 'cached_statements' and 'uri' will become keyword-only parameters in Python 3.15.

Tested successfully on Python 3.13rc1, 3.8, and PyPy's Python 2 implementation, for good measure.

    /tmp/test-dir/python-sqlite3/./container.py:5: DeprecationWarning: Passing more than 1 positional argument to sqlite3.connect() is deprecated. Parameters 'timeout', 'detect_types', 'isolation_level', 'check_same_thread', 'factory', 'cached_statements' and 'uri' will become keyword-only parameters in Python 3.15.

Tested successfully on Python 3.13rc1, 3.8, and PyPy's Python 2 implementation, for good measure.
@tianon tianon requested a review from a team as a code owner August 29, 2024 23:20
Copy link
Contributor

@whalelines whalelines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yosifkit yosifkit merged commit d1a7ffc into docker-library:master Aug 30, 2024
6 checks passed
@yosifkit yosifkit deleted the python-sqlite3-DeprecationWarning branch August 30, 2024 16:24
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.

3 participants