Skip to content

[PyMySQL] Update to 1.2.*#16053

Merged
srittau merged 2 commits into
python:mainfrom
donbarbos:bump-pymysql-1.2
Jul 21, 2026
Merged

[PyMySQL] Update to 1.2.*#16053
srittau merged 2 commits into
python:mainfrom
donbarbos:bump-pymysql-1.2

Conversation

@donbarbos

Copy link
Copy Markdown
Contributor

Closes: #15812

@github-actions

This comment has been minimized.

Comment thread stubs/PyMySQL/pymysql/connections.pyi Outdated
binary_prefix: bool = False,
program_name: str | None = None,
server_public_key: bytes | None = None,
ssl: dict[str, Incomplete] = ..., # Passing a dict is deprecated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This would match leaving out the ssl argument:

Suggested change
ssl: dict[str, Incomplete] = ..., # Passing a dict is deprecated
*,
ssl: dict[str, Incomplete], # Passing a dict is deprecated

(I think we can ignore the theoretical case where someone passes all arguments as positional here.)

Comment thread stubs/PyMySQL/pymysql/connections.pyi Outdated
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit f979d3b into python:main Jul 21, 2026
59 checks passed
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.

2 participants