File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ authors = [
99 {name = " Google LLC" , email = " googleapis-packages@google.com" }
1010]
1111dependencies = [
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 ]
2828test = [
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 ]
You can’t perform that action at this time.
0 commit comments