Skip to content

Commit

Permalink
Test in CI. Install dependencies using pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-aerospike committed Oct 22, 2024
1 parent 11c8d35 commit d1900e9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/extensive_vector_search_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python setup.py
pip install -r requirements.txt
# Install dependencies using pyproject.toml
pip install .

working-directory: tests


Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python setup.py
pip install -r requirements.txt
# Install dependencies using pyproject.toml
pip install .

working-directory: tests

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
version = "3.0.0"
requires-python = ">3.8"
dependencies = [
"grpcio == 1.67.0",
"protobuf == 5.28.2",
"pyjwt == 2.9.0",
"grpcio == 1.66.1",
"protobuf == 5.27.2",
"pyjwt == 2.8.0",
"numpy",
"sphinx_rtd_theme"
]
Expand Down
1 change: 0 additions & 1 deletion src/aerospike_vector_search/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from typing import Any, Optional

from .shared.proto_generated import types_pb2
from .shared.proto_generated import index_pb2


class HostPort(object):
Expand Down
2 changes: 1 addition & 1 deletion tests/standard/sync/test_admin_client_index_get_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_index_get_status(session_admin_client, empty_test_case, random_name):
except AVSServerError as se:
if se.rpc_error.code() != grpc.StatusCode.ALREADY_EXISTS:
raise se
result = session_admin_client.index_get_status(namespace="test", name=random_name)
result = session_admin_client.index_get_status(namespace="test", name=random_name)

assert result.unmerged_record_count == 0
drop_specified_index(session_admin_client, "test", random_name)
Expand Down

0 comments on commit d1900e9

Please sign in to comment.