Skip to content

Commit 70734c1

Browse files
authored
chore(google-*): set workspace dependencies (#9445)
1 parent 39404ac commit 70734c1

File tree

8 files changed

+84
-97
lines changed

8 files changed

+84
-97
lines changed

.github/workflows/compatibility.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -221,45 +221,45 @@ jobs:
221221
# run: docker compose -f dependency_range_tests/docker-compose.yml run anthropic-lowest-deps
222222

223223
# Google VertexAI
224-
google-vertexai-latest-deps:
225-
runs-on: ubuntu-latest
226-
needs: get-changed-files
227-
if: (contains(needs.get-changed-files.outputs.changed_files, 'dependency_range_tests/scripts/with_standard_tests/google-vertexai/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/providers/langchain-google-vertexai/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/providers/langchain-google-gauth/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/providers/langchain-google-common/'))
228-
steps:
229-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
230-
- name: Setup pnpm
231-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
232-
- name: Use Node.js ${{ env.NODE_VERSION }}
233-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
234-
with:
235-
node-version: ${{ env.NODE_VERSION }}
236-
cache: "pnpm"
237-
- name: Install dependencies
238-
run: pnpm install --frozen-lockfile
239-
- name: Build `@langchain/standard-tests`
240-
run: pnpm build --filter=@langchain/standard-tests
241-
- name: Test `@langchain/google-vertexai` with latest deps
242-
run: docker compose -f dependency_range_tests/docker-compose.yml run google-vertexai-latest-deps
224+
# google-vertexai-latest-deps:
225+
# runs-on: ubuntu-latest
226+
# needs: get-changed-files
227+
# if: (contains(needs.get-changed-files.outputs.changed_files, 'dependency_range_tests/scripts/with_standard_tests/google-vertexai/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/providers/langchain-google-vertexai/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/providers/langchain-google-gauth/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/providers/langchain-google-common/'))
228+
# steps:
229+
# - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
230+
# - name: Setup pnpm
231+
# uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
232+
# - name: Use Node.js ${{ env.NODE_VERSION }}
233+
# uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
234+
# with:
235+
# node-version: ${{ env.NODE_VERSION }}
236+
# cache: "pnpm"
237+
# - name: Install dependencies
238+
# run: pnpm install --frozen-lockfile
239+
# - name: Build `@langchain/standard-tests`
240+
# run: pnpm build --filter=@langchain/standard-tests
241+
# - name: Test `@langchain/google-vertexai` with latest deps
242+
# run: docker compose -f dependency_range_tests/docker-compose.yml run google-vertexai-latest-deps
243243

244-
google-vertexai-lowest-deps:
245-
runs-on: ubuntu-latest
246-
needs: get-changed-files
247-
if: (contains(needs.get-changed-files.outputs.changed_files, 'dependency_range_tests/scripts/with_standard_tests/google-vertexai/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/providers/langchain-google-vertexai/'))
248-
steps:
249-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
250-
- name: Setup pnpm
251-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
252-
- name: Use Node.js ${{ env.NODE_VERSION }}
253-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
254-
with:
255-
node-version: ${{ env.NODE_VERSION }}
256-
cache: "pnpm"
257-
- name: Install dependencies
258-
run: pnpm install --frozen-lockfile
259-
- name: Build `@langchain/standard-tests`
260-
run: pnpm build --filter=@langchain/standard-tests
261-
- name: Test `@langchain/google-vertexai` with lowest deps
262-
run: docker compose -f dependency_range_tests/docker-compose.yml run google-vertexai-lowest-deps
244+
# google-vertexai-lowest-deps:
245+
# runs-on: ubuntu-latest
246+
# needs: get-changed-files
247+
# if: (contains(needs.get-changed-files.outputs.changed_files, 'dependency_range_tests/scripts/with_standard_tests/google-vertexai/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/providers/langchain-google-vertexai/'))
248+
# steps:
249+
# - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
250+
# - name: Setup pnpm
251+
# uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
252+
# - name: Use Node.js ${{ env.NODE_VERSION }}
253+
# uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
254+
# with:
255+
# node-version: ${{ env.NODE_VERSION }}
256+
# cache: "pnpm"
257+
# - name: Install dependencies
258+
# run: pnpm install --frozen-lockfile
259+
# - name: Build `@langchain/standard-tests`
260+
# run: pnpm build --filter=@langchain/standard-tests
261+
# - name: Test `@langchain/google-vertexai` with lowest deps
262+
# run: docker compose -f dependency_range_tests/docker-compose.yml run google-vertexai-lowest-deps
263263

264264
# Cohere
265265
cohere-latest-deps:

libs/providers/langchain-google-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"uuid": "^10.0.0"
3535
},
3636
"peerDependencies": {
37-
"@langchain/core": "^1.0.0"
37+
"@langchain/core": "workspace:*"
3838
},
3939
"devDependencies": {
4040
"@jest/globals": "^29.5.0",

libs/providers/langchain-google-gauth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"format:check": "prettier --config .prettierrc --check \"src\""
3333
},
3434
"dependencies": {
35-
"@langchain/google-common": "^1.0.1",
35+
"@langchain/google-common": "workspace:*",
3636
"google-auth-library": "^10.1.0"
3737
},
3838
"devDependencies": {

libs/providers/langchain-google-genai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"uuid": "^11.1.0"
3939
},
4040
"peerDependencies": {
41-
"@langchain/core": "^1.0.0"
41+
"@langchain/core": "workspace:*"
4242
},
4343
"devDependencies": {
4444
"@jest/globals": "^29.5.0",

libs/providers/langchain-google-vertexai-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"format:check": "prettier --config .prettierrc --check \"src\""
3030
},
3131
"dependencies": {
32-
"@langchain/google-webauth": "^1.0.1"
32+
"@langchain/google-webauth": "workspace:*"
3333
},
3434
"devDependencies": {
3535
"@jest/globals": "^29.5.0",

libs/providers/langchain-google-vertexai/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
"format:check": "prettier --config .prettierrc --check \"src\""
3030
},
3131
"dependencies": {
32-
"@langchain/google-gauth": "^1.0.1"
32+
"@langchain/google-gauth": "workspace:*"
3333
},
3434
"devDependencies": {
3535
"@jest/globals": "^29.5.0",
3636
"@langchain/eslint": "workspace:*",
37-
"@langchain/google-common": "^1.0.1",
37+
"@langchain/google-common": "workspace:*",
3838
"@langchain/standard-tests": "workspace:*",
3939
"@swc/core": "^1.3.90",
4040
"@swc/jest": "^0.2.29",

libs/providers/langchain-google-webauth/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
"format:check": "prettier --config .prettierrc --check \"src\""
3030
},
3131
"dependencies": {
32-
"@langchain/google-common": "^1.0.1",
32+
"@langchain/google-common": "workspace:*",
3333
"web-auth-library": "^1.0.3"
3434
},
3535
"peerDependencies": {
36-
"@langchain/core": "^1.0.0"
36+
"@langchain/core": "workspace:*"
3737
},
3838
"devDependencies": {
3939
"@jest/globals": "^29.5.0",

pnpm-lock.yaml

Lines changed: 38 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)