Skip to content

Commit

Permalink
partners: version constraints (#17492)
Browse files Browse the repository at this point in the history
Core should be ^0.1 by default

Careful about 0.x.y and 0.0.z packages
  • Loading branch information
efriis authored Feb 14, 2024
1 parent d7418ac commit a99c667
Show file tree
Hide file tree
Showing 22 changed files with 1,489 additions and 1,533 deletions.
621 changes: 310 additions & 311 deletions libs/partners/anthropic/poetry.lock

Large diffs are not rendered by default.

22 changes: 10 additions & 12 deletions libs/partners/anthropic/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
langchain-core = ">=0.0.12"
langchain-core = "^0.1"
anthropic = "^0.8.0"

[tool.poetry.group.test]
Expand All @@ -21,11 +21,11 @@ optional = true
[tool.poetry.group.test.dependencies]
pytest = "^7.3.0"
freezegun = "^1.2.2"
pytest-mock = "^3.10.0"
pytest-mock = "^3.10.0"
syrupy = "^4.0.2"
pytest-watcher = "^0.3.4"
pytest-asyncio = "^0.21.1"
langchain-core = {path = "../../core", develop = true}
langchain-core = { path = "../../core", develop = true }

[tool.poetry.group.codespell]
optional = true
Expand All @@ -41,35 +41,33 @@ ruff = "^0.1.5"

[tool.poetry.group.typing.dependencies]
mypy = "^0.991"
langchain-core = {path = "../../core", develop = true}
langchain-core = { path = "../../core", develop = true }

[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
langchain-core = {path = "../../core", develop = true}
langchain-core = { path = "../../core", develop = true }

[tool.poetry.group.test_integration]
optional = true

[tool.poetry.group.test_integration.dependencies]
langchain-core = {path = "../../core", develop = true}
langchain-core = { path = "../../core", develop = true }

[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"T201", # print
]

[tool.mypy]
disallow_untyped_defs = "True"

[tool.coverage.run]
omit = [
"tests/*",
]
omit = ["tests/*"]

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
345 changes: 161 additions & 184 deletions libs/partners/exa/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libs/partners/exa/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
langchain-core = ">=0.0.12"
langchain-core = "^0.1"
exa-py = "^1.0.7"

[tool.poetry.group.test]
Expand Down
8 changes: 4 additions & 4 deletions libs/partners/google-genai/poetry.lock

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

126 changes: 63 additions & 63 deletions libs/partners/google-vertexai/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libs/partners/google-vertexai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
langchain-core = ">=0.1.7,<0.2"
langchain-core = "^0.1.7"
google-cloud-aiplatform = "^1.39.0"
google-cloud-storage = "^2.14.0"

Expand Down
246 changes: 123 additions & 123 deletions libs/partners/mistralai/poetry.lock

Large diffs are not rendered by default.

18 changes: 8 additions & 10 deletions libs/partners/mistralai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ license = "MIT"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
langchain-core = "^0.1"
mistralai = "^0.0.11"
mistralai = ">=0.0.11,<0.1"
tokenizers = "^0.15.1"

[tool.poetry.group.test]
Expand All @@ -22,7 +22,7 @@ optional = true
[tool.poetry.group.test.dependencies]
pytest = "^7.3.0"
pytest-asyncio = "^0.21.1"
langchain-core = {path = "../../core", develop = true}
langchain-core = { path = "../../core", develop = true }

[tool.poetry.group.codespell]
optional = true
Expand All @@ -43,29 +43,27 @@ ruff = "^0.1.5"

[tool.poetry.group.typing.dependencies]
mypy = "^0.991"
langchain-core = {path = "../../core", develop = true}
langchain-core = { path = "../../core", develop = true }

[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
langchain-core = {path = "../../core", develop = true}
langchain-core = { path = "../../core", develop = true }

[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"T201", # print
]

[tool.mypy]
disallow_untyped_defs = "True"

[tool.coverage.run]
omit = [
"tests/*",
]
omit = ["tests/*"]

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
4 changes: 2 additions & 2 deletions libs/partners/nomic/poetry.lock

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

2 changes: 1 addition & 1 deletion libs/partners/nomic/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
langchain-core = ">=0.0.12"
langchain-core = "^0.1"
nomic = "^3.0.12"

[tool.poetry.group.test]
Expand Down
10 changes: 5 additions & 5 deletions libs/partners/nvidia-ai-endpoints/poetry.lock

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

2 changes: 1 addition & 1 deletion libs/partners/nvidia-ai-endpoints/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
langchain-core = "^0.1.0"
langchain-core = "^0.1"
aiohttp = "^3.9.1"

[tool.poetry.group.test]
Expand Down
Loading

0 comments on commit a99c667

Please sign in to comment.