Skip to content

gh-133601: Remove deprecated typing.no_type_check_decorator#133602

Merged
sobolevn merged 8 commits intopython:mainfrom
sobolevn:issue-133601
Oct 20, 2025
Merged

gh-133601: Remove deprecated typing.no_type_check_decorator#133602
sobolevn merged 8 commits intopython:mainfrom
sobolevn:issue-133601

Conversation

@sobolevn
Copy link
Copy Markdown
Member

@sobolevn sobolevn commented May 7, 2025

Copy link
Copy Markdown
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

Can you update Doc/whatsnew/3.15.rst as well?

@picnixz
Copy link
Copy Markdown
Member

picnixz commented May 10, 2025

So, vendored typing_extensions of pip seems to use the attribute. Maybe we should fix pip and typing_extensions first with a version guard?

@JelleZijlstra
Copy link
Copy Markdown
Member

I submitted a change to typing-extensions to stop unconditionally re-exporting this name. We should probably not merge this until that change to typing-extensions has been released.

@sobolevn sobolevn requested a review from AA-Turner as a code owner September 24, 2025 13:22
@sobolevn sobolevn enabled auto-merge (squash) October 20, 2025 20:51
@sobolevn sobolevn merged commit e09837f into python:main Oct 20, 2025
45 checks passed
@asottile
Copy link
Copy Markdown
Contributor

fwiw this prevents usage of pip with the latest nightly -- perhaps this should be reverted until a pip release occurs?

(for example: this prevents promotion of deadsnakes nightly 3.15 because we check that pip, venv, and virtualenv are functioning): https://github.com/deadsnakes/py3.15/actions/runs/18678417262/job/53253774210

@AA-Turner
Copy link
Copy Markdown
Member

pip plans to release on Friday (24th): pypa/pip#13522 (comment)

A

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
posita added a commit to beartype/beartype that referenced this pull request Feb 27, 2026
`no_type_check_decorator` has been [deprecated as largely unused since
2023](python/cpython#106309) and was [removed entirely from
3.15](python/cpython#133602). Its use appears nowhere within
`beartype` except as an import to allow `beartype.typing` as a stand-in for `typing`,
which currently causes `import beartype.typing` to fail on 3.15.

Fixes #618.
posita added a commit to beartype/beartype that referenced this pull request Feb 27, 2026
`no_type_check_decorator` has been [deprecated as largely unused since
2023](python/cpython#106309) and was [removed entirely from
3.15](python/cpython#133602). Its use appears nowhere within
`beartype` except as an import to allow `beartype.typing` as a stand-in for `typing`,
which currently causes `import beartype.typing` to fail on 3.15.

Fixes #618.
posita added a commit to beartype/beartype that referenced this pull request Feb 27, 2026
`no_type_check_decorator` has been [deprecated as largely unused since
2023](python/cpython#106309) and was [removed entirely from
3.15](python/cpython#133602). Its use appears nowhere within
`beartype` except as an import to allow `beartype.typing` as a stand-in for `typing`,
which currently causes `import beartype.typing` to fail on 3.15.

Fixes #618.
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.

5 participants