Skip to content

Commit

Permalink
relax pinning on importlib_metadata, typing_extensions (#363)
Browse files Browse the repository at this point in the history
== pinning is almost always to be avoided in packages,
and tight pinning on backports like importlib_metadata is extremely unlikely to be desirable
  • Loading branch information
minrk authored Aug 30, 2023
1 parent 47ae1c9 commit 93eb896
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions packages/jupyter-ai-magics/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ dynamic = ["version", "description", "authors", "urls", "keywords"]
dependencies = [
"ipython",
"pydantic",
"importlib_metadata~=5.2.0",
"importlib_metadata>=5.2.0",
"langchain==0.0.223",
"typing_extensions==4.5.0",
"typing_extensions>=4.5.0",
"click~=8.0",
"jsonpath-ng~=1.5.3",
"jsonpath-ng>=1.5.3,<2",
]

[project.optional-dependencies]
dev = [
"pre-commit~=3.3.3"
"pre-commit>=3.3.3,<4"
]

test = [
Expand Down
6 changes: 3 additions & 3 deletions packages/jupyter-ai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ dependencies = [
"jupyterlab~=4.0",
"pydantic",
"openai~=0.26",
"aiosqlite~=0.18",
"importlib_metadata~=5.2.0",
"aiosqlite>=0.18",
"importlib_metadata>=5.2.0",
"langchain==0.0.223",
"tiktoken", # required for OpenAIEmbeddings
"jupyter_ai_magics",
"dask[distributed]",
"faiss-cpu", # Not distributed by official repo
"typing_extensions==4.5.0"
"typing_extensions>=4.5.0",
]

dynamic = ["version", "description", "authors", "urls", "keywords"]
Expand Down

0 comments on commit 93eb896

Please sign in to comment.