Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 8ea263d

Browse files
chore(deps): update all dependencies (#32)
* chore(deps): update all dependencies * Update lint.yml * Update lint.yml * Update pyproject.toml * Update pyproject.toml --------- Co-authored-by: Averi Kitsch <akitsch@google.com>
1 parent a5903db commit 8ea263d

2 files changed

Lines changed: 23 additions & 6 deletions

File tree

.github/workflows/lint.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,25 @@ jobs:
3434
if: "${{ (github.event.action != 'labeled' && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name) || github.event.label.name == 'tests: run' }}"
3535

3636
steps:
37+
- name: Remove PR label
38+
if: "${{ github.event.action == 'labeled' && github.event.label.name == 'tests: run' }}"
39+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
40+
with:
41+
github-token: ${{ secrets.GITHUB_TOKEN }}
42+
script: |
43+
try {
44+
await github.rest.issues.removeLabel({
45+
name: 'tests: run',
46+
owner: context.repo.owner,
47+
repo: context.repo.repo,
48+
issue_number: context.payload.pull_request.number
49+
});
50+
} catch (e) {
51+
console.log('Failed to remove label. Another job may have already removed it!');
52+
}
53+
3754
- name: Checkout Repository
38-
uses: actions/checkout@v3
55+
uses: actions/checkout@v4
3956

4057
- name: Setup Python
4158
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
{name = "Google LLC", email = "googleapis-packages@google.com"}
1010
]
1111
dependencies = [
12-
"langchain>=0.1.1, <1.0.0",
12+
"langchain-core>=0.1.1, <1.0.0",
1313
"langchain-community>=0.0.18, <1.0.0",
1414
"SQLAlchemy>=2.0.7, <3.0.0",
1515
"cloud-sql-python-connector[pymysql]>=1.7.0, <2.0.0"
@@ -26,11 +26,11 @@ Changelog = "https://github.com/googleapis/langchain-google-cloud-sql-mysql-pyth
2626

2727
[project.optional-dependencies]
2828
test = [
29-
"black[jupyter]==23.12.0",
29+
"black[jupyter]==24.2.0",
3030
"isort==5.13.2",
31-
"mypy==1.7.1",
32-
"pytest-asyncio==0.23.0",
33-
"pytest==7.4.4"
31+
"mypy==1.8.0",
32+
"pytest-asyncio==0.23.5",
33+
"pytest==8.0.1"
3434
]
3535

3636
[build-system]

0 commit comments

Comments
 (0)