Skip to content

Bump setuptools to 84.2.* - #16692

Merged
Avasam merged 2 commits into
python:mainfrom
Avasam:setuptools-84.2
Nov 3, 2026
Merged

Avasam merged 2 commits into
python:mainfrom
Avasam:setuptools-84.2

Conversation

@Avasam

@Avasam Avasam commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Closes #16572

def get_flag(var: str, fallback: bool, expected: bool = True, warn: bool = True) -> bool: ...
def get_abi_tag() -> str | None: ...
def safer_version(version: str) -> str: ...
def stable_abi_tag(impl_name: str, impl_version: str) -> Literal["abi3", "abi3.abi3t"] | None: ...

@Avasam Avasam Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Subjectively decided to make return type literal here. Given the few choices from standard.

Could instead do:

Suggested change
def stable_abi_tag(impl_name: str, impl_version: str) -> Literal["abi3", "abi3.abi3t"] | None: ...
def stable_abi_tag(impl_name: str, impl_version: str) -> str | None: ...

Also impl_version is intended to receive "315", although it could work with ("3", "15"). But I've never seen tuple version use anything else than actual int, so seems pretty unintended.

@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

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

@Avasam
Avasam merged commit 376b537 into python:main Nov 3, 2026
74 checks passed
@Avasam
Avasam deleted the setuptools-84.2 branch November 3, 2026 19:56
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