Skip to content

Commit adc7856

Browse files
committed
Add typing-extensions as a dependency for older Python versions
1 parent b26153f commit adc7856

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ classifiers = [
5252
"Topic :: Software Development :: Libraries :: Python Modules",
5353
]
5454
dynamic = ["version"]
55+
dependencies = [
56+
# typing.Annotated since v3.9
57+
# typing.Self since v3.11
58+
"typing-extensions; python_version<'3.11'",
59+
]
5560

5661
[project.optional-dependencies]
5762
yaml = ["pyyaml"]

0 commit comments

Comments
 (0)