Skip to content

Commit e221c98

Browse files
committed
Add packaging dependency
In schema.py we call `from packaging import version`, which requires this package. Signed-off-by: Dominic Baggott <[email protected]>
1 parent 518437b commit e221c98

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
packaging==21.3
12
pytest==7.1.2
23
responses==0.21.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
license="BSD",
2323
url="https://github.com/replicate/replicate-python",
2424
python_requires=">=3.6",
25-
install_requires=["requests", "pydantic"],
25+
install_requires=["requests", "pydantic", "packaging"],
2626
classifiers=[],
2727
)

0 commit comments

Comments
 (0)