Skip to content

Commit 3de0cad

Browse files
authored
py(deps[testing,lint]) Add typing-extensions for older python versions (#564)
Follow up to #562
2 parents 445066d + 04785aa commit 3de0cad

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

CHANGES

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ $ pip install --user --upgrade --pre libtmux
2020
- tests: Import `Self` in a `TYPE_CHECKING` guard to prevent dependency issues.
2121
Via #562, Thank you @ppentchev!
2222

23+
### Development
24+
25+
- dev dependencies: Include `typing-extensions` for Python version < 3.11 via
26+
the `testing` and `lint` groups, via #564.
27+
2328
## libtmux 0.42.0 (2025-02-02)
2429

2530
### Bug fixes

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ dev-dependencies = [
6464
"myst-parser",
6565
"linkify-it-py",
6666
# Testing
67+
"typing-extensions; python_version < '3.11'",
6768
"gp-libs",
6869
"pytest",
6970
"pytest-rerunfailures",
@@ -94,6 +95,7 @@ docs = [
9495
"linkify-it-py",
9596
]
9697
testing = [
98+
"typing-extensions; python_version < '3.11'",
9799
"gp-libs",
98100
"pytest",
99101
"pytest-rerunfailures",
@@ -106,6 +108,7 @@ coverage =[
106108
"pytest-cov",
107109
]
108110
lint = [
111+
"typing-extensions; python_version < '3.11'",
109112
"ruff",
110113
"mypy",
111114
]

uv.lock

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)