Skip to content

Commit

Permalink
set astrapy version to ^1 (#21)
Browse files Browse the repository at this point in the history
* Set minimum version of astrapy to v1.0.0
  • Loading branch information
jordanrfrazier authored Apr 17, 2024
1 parent 18caf27 commit 6a24829
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
13 changes: 12 additions & 1 deletion libs/astradb/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/astradb/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.31"
astrapy = ">=0.7.7, <2"
astrapy = "^1"
numpy = "^1"

[tool.poetry.group.test]
Expand Down
4 changes: 0 additions & 4 deletions libs/astradb/tests/integration_tests/test_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ def _has_env_vars() -> bool:

@pytest.fixture
def astra_db() -> AstraDB:
from astrapy.db import AstraDB

return AstraDB(
token=os.environ["ASTRA_DB_APPLICATION_TOKEN"],
api_endpoint=os.environ["ASTRA_DB_API_ENDPOINT"],
Expand All @@ -32,8 +30,6 @@ def astra_db() -> AstraDB:

@pytest.fixture
def async_astra_db() -> AsyncAstraDB:
from astrapy.db import AsyncAstraDB

return AsyncAstraDB(
token=os.environ["ASTRA_DB_APPLICATION_TOKEN"],
api_endpoint=os.environ["ASTRA_DB_API_ENDPOINT"],
Expand Down

0 comments on commit 6a24829

Please sign in to comment.