Skip to content

Commit 241b31d

Browse files
authored
Merge pull request #1720 from weaviate/remove_grpc_tools
Remove grpc tools dependency
2 parents f3cd44f + 6377873 commit 241b31d

4 files changed

Lines changed: 24 additions & 26 deletions

File tree

.github/workflows/main.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
with:
8787
python-version: ${{ matrix.version }}
8888
cache: 'pip' # caching pip dependencies
89-
- run: pip install -r requirements-devel.txt
89+
- run: pip install -r requirements-test.txt -r requirements-devel.txt
9090
- name: Run unittests
9191
run: pytest --cov -v --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-${{ matrix.folder }}.xml ${{ matrix.folder }}
9292
- name: Archive code coverage results
@@ -113,7 +113,7 @@ jobs:
113113
python-version: ${{ matrix.version }}
114114
cache: 'pip' # caching pip dependencies
115115
- run: |
116-
pip install -r requirements-devel.txt
116+
pip install -r requirements-test.txt
117117
pip install .
118118
- name: Run integration tests
119119
if: ${{ !github.event.pull_request.head.repo.fork }}
@@ -155,7 +155,7 @@ jobs:
155155
username: ${{secrets.DOCKER_USERNAME}}
156156
password: ${{secrets.DOCKER_PASSWORD}}
157157
- run: |
158-
pip install -r requirements-devel.txt
158+
pip install -r requirements-test.txt
159159
pip install .
160160
- name: start weaviate
161161
run: /bin/bash ci/start_weaviate.sh ${{ matrix.versions.weaviate }}
@@ -206,7 +206,7 @@ jobs:
206206
with:
207207
username: ${{secrets.DOCKER_USERNAME}}
208208
password: ${{secrets.DOCKER_PASSWORD}}
209-
- run: pip install -r requirements-devel.txt
209+
- run: pip install -r requirements-test.txt
210210
- run: pip install .
211211
- name: start weaviate
212212
run: /bin/bash ci/start_weaviate_jt.sh ${{ matrix.versions.weaviate }}
@@ -259,7 +259,7 @@ jobs:
259259
python-version: "3.11"
260260
cache: 'pip' # caching pip dependencies
261261
- name: Install dependencies
262-
run: pip install -r requirements-devel.txt
262+
run: pip install -r requirements-test.txt -r requirements-devel.txt
263263
- name: Build a binary wheel
264264
run: python -m build
265265
- name: Create Wheel Artifacts
@@ -301,7 +301,7 @@ jobs:
301301
name: weaviate-python-client-wheel
302302
- run: |
303303
pip install weaviate_client-*.whl
304-
pip install -r requirements-devel.txt # install test dependencies
304+
pip install -r requirements-test.txt # install test dependencies
305305
- run: rm -r weaviate
306306
- name: start weaviate
307307
run: /bin/bash ci/start_weaviate.sh ${{ matrix.server }}

requirements-devel.txt

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,6 @@ sphinx-rtd-theme==3.0.2
1717
autodoc-pydantic==2.2.0
1818
importlib_metadata==8.7.0
1919

20-
pytest==8.4.1
21-
pytest-cov==6.2.1
22-
pytest-asyncio==1.0.0
23-
pytest-benchmark==5.1.0
24-
pytest-profiling==1.8.1
25-
coverage==7.9.2
26-
pytest-xdist==3.7.0
27-
werkzeug==3.1.3
28-
pytest-httpserver==1.1.3
29-
py-spy==0.4.0
30-
31-
numpy>=1.24.4,<3.0.0
32-
pandas>=2.0.3,<3.0.0
33-
polars>=0.20.26,<1.32.0
34-
35-
fastapi>=0.111.0,<1.0.0
36-
flask[async]>=2.0.0,<4.0.0
37-
litestar>=2.14.0,<3.0.0
38-
3920
tomli==2.2.1
4021
types-protobuf==6.30.2.20250516
4122
types-urllib3==1.26.25.14

requirements-test.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
pytest==8.4.1
2+
pytest-cov==6.2.1
3+
pytest-asyncio==1.0.0
4+
pytest-benchmark==5.1.0
5+
pytest-profiling==1.8.1
6+
coverage==7.9.1
7+
pytest-xdist==3.7.0
8+
werkzeug==3.1.3
9+
pytest-httpserver==1.1.3
10+
py-spy==0.4.0
11+
12+
numpy>=1.24.4,<3.0.0
13+
pandas>=2.0.3,<3.0.0
14+
polars>=0.20.26,<1.32.0
15+
16+
fastapi>=0.111.0,<1.0.0
17+
flask[async]>=2.0.0,<4.0.0
18+
litestar>=2.14.0,<3.0.0

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ install_requires =
3939
authlib>=1.2.1,<2.0.0
4040
pydantic>=2.8.0,<3.0.0
4141
grpcio>=1.66.2,<2.0.0
42-
grpcio-tools>=1.66.2,<2.0.0
4342
grpcio-health-checking>=1.66.2,<2.0.0
4443
deprecation>=2.1.0,<3.0.0
4544
python_requires = >=3.9

0 commit comments

Comments
 (0)