Skip to content

Commit 8002518

Browse files
evilstreakmattt
andauthored
Add missing typing_extensions dependency (#201)
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]> Signed-off-by: Mattt Zmuda <[email protected]> Co-authored-by: Mattt Zmuda <[email protected]>
1 parent 15f9c59 commit 8002518

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-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",

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ typing-extensions==4.7.1
8282
# mypy
8383
# pydantic
8484
# pydantic-core
85+
# replicate (pyproject.toml)
8586
vcrpy==5.1.0
8687
# via pytest-recording
8788
wrapt==1.15.0

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ typing-extensions==4.7.1
3737
# via
3838
# pydantic
3939
# pydantic-core
40+
# replicate (pyproject.toml)

0 commit comments

Comments
 (0)