Skip to content

Commit

Permalink
partners: fix numpy dep (#22858)
Browse files Browse the repository at this point in the history
Following #22813, which
added python 3.12 to CI, here we update numpy accordingly in partner
packages.
  • Loading branch information
ccurme authored Jun 13, 2024
1 parent 345fd3a commit 42257b1
Show file tree
Hide file tree
Showing 8 changed files with 268 additions and 162 deletions.
121 changes: 73 additions & 48 deletions libs/partners/chroma/poetry.lock

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion libs/partners/chroma/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ license = "MIT"
python = ">=3.8.1,<3.13"
langchain-core = ">=0.1.40,<0.3"
chromadb = { version = ">=0.4.0,<0.6.0" }
numpy = "^1"
# Support Python 3.8 and 3.12+.
numpy = [
{version = "^1", python = "<3.12"},
{version = "^1.26.0", python = ">=3.12"}
]
fastapi = { version = ">=0.95.2,<1", optional = true }

[tool.poetry.group.test]
Expand Down
147 changes: 62 additions & 85 deletions libs/partners/mongodb/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion libs/partners/mongodb/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ license = "MIT"
python = ">=3.8.1,<4.0"
pymongo = ">=4.6.1,<5.0"
langchain-core = ">=0.1.46,<0.3"
numpy = "^1"
# Support Python 3.8 and 3.12+.
numpy = [
{version = "^1", python = "<3.12"},
{version = "^1.26.0", python = ">=3.12"}
]

[tool.poetry.group.test]
optional = true
Expand Down
Loading

0 comments on commit 42257b1

Please sign in to comment.