Skip to content

Commit 8b9b731

Browse files
committed
add gemini deps
1 parent 8554c65 commit 8b9b731

File tree

2 files changed

+43
-40
lines changed

2 files changed

+43
-40
lines changed

.github/workflows/python-package.yml

+38-38
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
name: python-package
2-
3-
on:
4-
# push:
5-
# branches:
6-
# - main
7-
workflow_dispatch:
8-
release:
9-
types: [published]
10-
11-
permissions: {} # Ensure the workflow has permission to push changes
12-
# contents: write # Allow write access for pushing to the repository
13-
14-
jobs:
15-
deploy:
16-
runs-on: ubuntu-latest
17-
18-
steps:
19-
- uses: actions/checkout@v4
20-
21-
- name: Set up Python
22-
uses: actions/setup-python@v3
23-
with:
24-
python-version: '3.x'
25-
26-
- name: Install dependencies
27-
run: |
28-
python -m pip install --upgrade pip
29-
pip install build
30-
31-
- name: Build package
32-
run: python -m build
33-
34-
- name: Publish package
35-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
36-
with:
37-
user: __token__
38-
password: ${{ secrets.PYPI_API_TOKEN }}
1+
# name: python-package
2+
3+
# on:
4+
# # push:
5+
# # branches:
6+
# # - main
7+
# workflow_dispatch:
8+
# release:
9+
# types: [published]
10+
11+
# permissions: {} # Ensure the workflow has permission to push changes
12+
# # contents: write # Allow write access for pushing to the repository
13+
14+
# jobs:
15+
# deploy:
16+
# runs-on: ubuntu-latest
17+
18+
# steps:
19+
# - uses: actions/checkout@v4
20+
21+
# - name: Set up Python
22+
# uses: actions/setup-python@v3
23+
# with:
24+
# python-version: '3.x'
25+
26+
# - name: Install dependencies
27+
# run: |
28+
# python -m pip install --upgrade pip
29+
# pip install build
30+
31+
# - name: Build package
32+
# run: python -m build
33+
34+
# - name: Publish package
35+
# uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
36+
# with:
37+
# user: __token__
38+
# password: ${{ secrets.PYPI_API_TOKEN }}

pyproject.toml

+5-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,12 @@ dependencies = [
3333
"shapely",
3434
"statsmodels",
3535
"kaleido",
36-
"vertexai",
36+
"google-api-core",
37+
"google-genai>=1.2.0",
38+
"google-cloud-aiplatform",
39+
"google-auth",
40+
"pillow",
3741
"jsonschema",
38-
"jsonref",
3942
]
4043

4144
[tool.setuptools.package-data]

0 commit comments

Comments
 (0)