Skip to content

Commit f779345

Browse files
committed
Add missing typing_extensions dependency
We're relying on a feature (`deprecated`) from version 4.5.0 of typing_extensions, but the version bundled with Python varies. Include it as an explicit dependency to avoid import errors for users. Signed-off-by: Dominic Baggott <[email protected]>
1 parent 45e3020 commit f779345

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ readme = "README.md"
1010
license = { file = "LICENSE" }
1111
authors = [{ name = "Replicate, Inc." }]
1212
requires-python = ">=3.8"
13-
dependencies = ["packaging", "pydantic>1", "httpx>=0.21.0,<1"]
13+
dependencies = [
14+
"httpx>=0.21.0,<1",
15+
"packaging",
16+
"pydantic>1",
17+
"typing_extensions>=4.5.0",
18+
]
1419
optional-dependencies = { dev = [
1520
"mypy",
1621
"pylint",

0 commit comments

Comments
 (0)