Skip to content

Commit

Permalink
Adjust dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamon committed Jan 30, 2025
1 parent 8f2b09d commit b601540
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 1 deletion.
63 changes: 63 additions & 0 deletions .github/workflows/testing-dependency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,42 @@ jobs:
protobuf_version: '${{ matrix.protobuf_version }}'
googleapis_common_protos_version: '${{ matrix.googleapis_common_protos_version }}'


dependency-matrix-grpc-313:
name: Deps (GRPC)
needs: dependency-matrix-setup
runs-on: ubuntu-latest
strategy:
max-parallel: 10
fail-fast: false
matrix:
python_version:
- 3.13
grpcio_version:
- 1.59.3
- 1.60.0
lz4_version:
- 3.1.3
- 4.3.3
protobuf_version:
- 5.29.1
protoc-gen-openapiv2:
- 0.0.1
googleapis_common_protos_version:
- 1.66.0
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test-dependency-grpc
with:
python_version: '${{ matrix.python_version }}'
index_name: '${{ needs.dependency-matrix-setup.outputs.index_name }}'
PINECONE_API_KEY: '${{ secrets.PINECONE_API_KEY }}'
grpcio_version: '${{ matrix.grpcio_version }}'
lz4_version: '${{ matrix.lz4_version }}'
protobuf_version: '${{ matrix.protobuf_version }}'
googleapis_common_protos_version: '${{ matrix.googleapis_common_protos_version }}'


dependency-matrix-rest:
name: Deps (REST)
runs-on: ubuntu-latest
Expand Down Expand Up @@ -156,15 +192,42 @@ jobs:
PINECONE_API_KEY: '${{ secrets.PINECONE_API_KEY }}'
urllib3_version: '${{ matrix.urllib3_version }}'

dependency-matrix-rest-313:
name: Deps (REST)
runs-on: ubuntu-latest
needs: dependency-matrix-setup
strategy:
max-parallel: 10
fail-fast: false
matrix:
python_version:
- 3.13
urllib3_version:
- 1.26.5
- 1.26.18
- 2.0.2
- 2.2.1
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test-dependency-rest
with:
python_version: '${{ matrix.python_version }}'
index_name: '${{ needs.dependency-matrix-setup.outputs.index_name }}'
PINECONE_API_KEY: '${{ secrets.PINECONE_API_KEY }}'
urllib3_version: '${{ matrix.urllib3_version }}'


deps-cleanup:
name: Deps cleanup
runs-on: ubuntu-latest
needs:
- dependency-matrix-setup
- dependency-matrix-grpc
- dependency-matrix-grpc-312
- dependency-matrix-grpc-313
- dependency-matrix-rest
- dependency-matrix-rest-312
- dependency-matrix-rest-313
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/delete-index
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ classifiers=[
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
Expand Down Expand Up @@ -118,7 +119,7 @@ exclude = [

line-length = 100
indent-width = 4
target-version = "py38"
target-version = "py39"

[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
Expand Down

0 comments on commit b601540

Please sign in to comment.