Skip to content

Commit c0a3d85

Browse files
committed
Update more actions
1 parent 472e05e commit c0a3d85

File tree

10 files changed

+16
-84
lines changed

10 files changed

+16
-84
lines changed

.github/actions/cleanup-all/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ inputs:
1919
runs:
2020
using: 'composite'
2121
steps:
22-
- name: Setup Poetry
23-
uses: ./.github/actions/setup-poetry
22+
- name: Setup uv
23+
uses: ./.github/actions/setup-uv
2424
- name: Cleanup all
2525
shell: bash
26-
run: poetry run python3 ./.github/actions/cleanup-all/cleanup-test-projects.py
26+
run: uv run python3 ./.github/actions/cleanup-all/cleanup-test-projects.py
2727
env:
2828
PINECONE_API_KEY: ${{ inputs.PINECONE_API_KEY }}
2929
PINECONE_ADDITIONAL_HEADERS: ${{ inputs.PINECONE_ADDITIONAL_HEADERS }}

.github/actions/index-create/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ outputs:
4747
runs:
4848
using: 'composite'
4949
steps:
50-
- name: Setup Poetry
51-
uses: ./.github/actions/setup-poetry
50+
- name: Setup uv
51+
uses: ./.github/actions/setup-uv
5252

5353
- name: Create index
5454
id: create-index
5555
shell: bash
56-
run: poetry run python3 ./.github/actions/index-create/create.py
56+
run: uv run python3 ./.github/actions/index-create/create.py
5757
env:
5858
PINECONE_API_KEY: ${{ inputs.PINECONE_API_KEY }}
5959
PINECONE_ADDITIONAL_HEADERS: ${{ inputs.PINECONE_ADDITIONAL_HEADERS }}

.github/actions/index-delete/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ inputs:
1717
runs:
1818
using: 'composite'
1919
steps:
20-
- name: Setup Poetry
21-
uses: ./.github/actions/setup-poetry
20+
- name: Setup uv
21+
uses: ./.github/actions/setup-uv
2222

2323
- name: Delete index
2424
shell: bash
25-
run: poetry run python3 ./.github/actions/index-delete/delete.py
25+
run: uv run python3 ./.github/actions/index-delete/delete.py
2626
env:
2727
PINECONE_API_KEY: ${{ inputs.PINECONE_API_KEY }}
2828
PINECONE_ADDITIONAL_HEADERS: ${{ inputs.PINECONE_ADDITIONAL_HEADERS }}

.github/actions/project-create/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ runs:
5050
- name: Create project
5151
id: create-project
5252
shell: bash
53-
run: poetry run python3 ./.github/actions/project-create/script.py
53+
run: uv run python3 ./.github/actions/project-create/script.py
5454
env:
5555
API_VERSION: ${{ inputs.api_version }}
5656
PINECONE_SERVICE_ACCOUNT_CLIENT_ID: ${{ inputs.PINECONE_SERVICE_ACCOUNT_CLIENT_ID }}

.github/actions/project-delete/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
- name: Delete project
4646
id: delete-project
4747
shell: bash
48-
run: poetry run python3 ./.github/actions/project-delete/delete-project.py
48+
run: uv run python3 ./.github/actions/project-delete/delete-project.py
4949
env:
5050
API_VERSION: ${{ inputs.api_version }}
5151
PINECONE_SERVICE_ACCOUNT_CLIENT_ID: ${{ inputs.PINECONE_SERVICE_ACCOUNT_CLIENT_ID }}

.github/actions/setup-poetry/action.yml

Lines changed: 0 additions & 68 deletions
This file was deleted.

.github/workflows/on-pr-dep-change.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
paths:
66
- 'pyproject.toml'
7-
- 'poetry.lock'
7+
- 'uv.lock'
88
workflow_dispatch: {}
99

1010
permissions: {}

.github/workflows/project-cleanup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
timeout-minutes: 30
1919
steps:
2020
- uses: actions/checkout@v4
21-
- uses: ./.github/actions/setup-poetry
21+
- uses: ./.github/actions/setup-uv
2222
with:
2323
python_version: '3.10'
2424
- uses: ./.github/actions/project-delete

.github/workflows/project-setup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
index_host_sparse: ${{ steps.create-index-sparse.outputs.index_host }}
3131
steps:
3232
- uses: actions/checkout@v4
33-
- uses: ./.github/actions/setup-poetry
33+
- uses: ./.github/actions/setup-uv
3434
with:
3535
python_version: '3.10'
3636
- uses: ./.github/actions/project-create

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ Installing with uv
104104
.. code-block:: shell
105105
106106
# Install the latest version
107-
uv install pinecone
107+
uv add pinecone
108108
109109
# Install the latest version, optional dependencies
110-
uv install "pinecone[asyncio,grpc]"
110+
uv add "pinecone[asyncio,grpc]"
111111
112112
113113
Installing with `poetry <https://python-poetry.org/>`_

0 commit comments

Comments
 (0)