From 504cef2be2d5a8f498c4f82b1df21b6675d29f22 Mon Sep 17 00:00:00 2001 From: rchan26 Date: Thu, 30 Jan 2025 10:47:10 +0000 Subject: [PATCH 1/3] update dependencies --- pyproject.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 710684a..9fe119c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,15 +35,15 @@ vertexai = { version ="^1.71.1", optional = true } google-cloud-aiplatform = { version = "^1.71.1", optional = true } google-generativeai = { version = "^0.8.4", optional = true } openai = { version = "^1.60.0", optional = true } -pillow = { version = "^10.4.0", optional = true } +pillow = { version = "^11.1.0", optional = true } ollama = { version = "^0.4.7", optional = true } -huggingface-hub = { version = "^0.23.4", optional = true } -quart = { version = "^0.19.6", optional = true } -transformers = { version = "^4.44.2", optional = true } -torch = { version = "^2.4.1", optional = true } -accelerate = { version = "^0.34.2", optional = true } -aiohttp = { version = "^3.9.5", optional = true } -anthropic = { version = "^0.31.1", optional = true } +huggingface-hub = { version = "^0.28.0", optional = true } +quart = { version = "^0.20.0", optional = true } +transformers = { version = "^4.48.1", optional = true } +torch = { version = "^2.6.0", optional = true } +accelerate = { version = "^1.3.0", optional = true } +aiohttp = { version = "^3.11.11", optional = true } +anthropic = { version = "^0.45.2", optional = true } [tool.poetry.extras] all = [ From ff794dc7f93fb125897496170148904d2907512b Mon Sep 17 00:00:00 2001 From: rchan26 Date: Thu, 30 Jan 2025 15:49:51 +0000 Subject: [PATCH 2/3] update dependencies --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9fe119c..45a6989 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,6 +34,7 @@ cli-test-helpers = { version = "^4.0.0", optional = true } vertexai = { version ="^1.71.1", optional = true } google-cloud-aiplatform = { version = "^1.71.1", optional = true } google-generativeai = { version = "^0.8.4", optional = true } +google-genai = { version = "^0.7.0", optional = true } openai = { version = "^1.60.0", optional = true } pillow = { version = "^11.1.0", optional = true } ollama = { version = "^0.4.7", optional = true } @@ -66,6 +67,7 @@ all = [ "vertexai", "google-cloud-aiplatform", "google-generativeai", + "google-genai", "openai", "pillow", "ollama", @@ -95,8 +97,8 @@ dev = [ "mkdocs-jupyter", "cli-test-helpers", ] -gemini = ["vertexai", "google-cloud-aiplatform", "google-generativeai", "pillow"] -vertexai = ["vertexai", "google-cloud-aiplatform", "google-generativeai", "pillow"] +gemini = ["vertexai", "google-cloud-aiplatform", "google-generativeai", "google-genai", "pillow"] +vertexai = ["vertexai", "google-cloud-aiplatform", "google-generativeai", "google-genai", "pillow"] azure_openai = ["openai", "pillow"] openai = ["openai", "pillow"] ollama = ["ollama"] From 0cb9cc71b56ad23061cabcc1609f964ad133092e Mon Sep 17 00:00:00 2001 From: rchan26 Date: Thu, 30 Jan 2025 15:52:37 +0000 Subject: [PATCH 3/3] update upload and download artifact versions --- .github/workflows/cd.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index c03c87e..622d463 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -30,7 +30,7 @@ jobs: - name: Build sdist and wheel run: pipx run build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: dist @@ -47,7 +47,7 @@ jobs: if: github.event_name == 'release' && github.event.action == 'published' steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: artifact path: dist