Skip to content

Added typing_extensions to project dependencies#17

Closed
TTMaZa wants to merge 3 commits intomainfrom
TTMaZa-Self-typing-fix
Closed

Added typing_extensions to project dependencies#17
TTMaZa wants to merge 3 commits intomainfrom
TTMaZa-Self-typing-fix

Conversation

@TTMaZa
Copy link
Copy Markdown
Member

@TTMaZa TTMaZa commented Jun 12, 2025

As of https://peps.python.org/pep-0673/ Self can now be used from typing instead of typing_extension (inspired by microsoft/pylance-release#2034 (comment))

As of https://peps.python.org/pep-0673/ Self can now be used from typing instead of typing_extension 
(inspired by microsoft/pylance-release#2034 (comment))
@TTMaZa
Copy link
Copy Markdown
Member Author

TTMaZa commented Jun 12, 2025

We probably should stick with typing_extensions as long as Python 3.8., 3.9, and 3.10 support ist required.

So instead we probably should add typing_extensions as necessary dependency to pyproject.toml

TTMaZa added 2 commits June 12, 2025 08:05
… 3.10

* typing.Self is only available from Python 3.11 onward (see  https://peps.python.org/pep-0673/)
* typing_extensions.Self is more universal. 
* typing_extensions 4.14.0 dropped Python 3.8 Support.
* using typing_extensions in Python 3.11, 3.12, and 3.13 is supported (see https://typing-extensions.readthedocs.io/en/latest/#welcome-to-typing-extensions-s-documentation)
@TTMaZa TTMaZa changed the title Changed use of typing_extension.Self to typing.Self Added typing_extensions to project dependencies Jun 12, 2025
@github-actions
Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
419 419 100% 99% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: c7ed25e by action🐍

@TT-S3-D1 TT-S3-D1 self-requested a review June 12, 2025 06:42
@TT-S3-D1
Copy link
Copy Markdown

sbom has to be extended before merge

@TTMaZa TTMaZa closed this Mar 2, 2026
@TTMaZa TTMaZa deleted the TTMaZa-Self-typing-fix branch March 2, 2026 15:50
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