diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 3d7a938d0..dc41ddd73 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -15,12 +15,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: fetch-depth: 0 # Fetch all history for all branches and tags - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 with: python-version: '3.11' # Ensure the Python version is correct @@ -63,7 +63,7 @@ jobs: working-directory: ${{ github.workspace }} - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} # GitHub token for authentication publish_branch: gh-pages # Target branch for GitHub Pages deployment diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 0e51c6de1..7d0db1cb9 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -14,9 +14,9 @@ jobs: python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v4 # Updated to the latest version + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 # Updated to the latest version - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 # Updated to the latest version + uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4 # Updated to the latest version with: python-version: ${{ matrix.python-version }} @@ -37,7 +37,7 @@ jobs: poetry run pytest - name: Upload pytest results as an artifact (optional) - uses: actions/upload-artifact@v4 # Updated to the latest version + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 # Updated to the latest version if: always() # Always run this step to ensure test results are saved even if previous steps fail with: name: pytest-results diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f5df3605..ac4cce077 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,18 +19,18 @@ jobs: id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4 with: python-version: '3.9' - name: Install Poetry - uses: snok/install-poetry@v1 + uses: snok/install-poetry@a783c322200f0519c7926aa6faa857c4e23e9263 # v1 with: version: latest virtualenvs-create: true @@ -81,7 +81,7 @@ jobs: poetry build - name: Create GitHub Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1 with: tag_name: v${{ steps.version.outputs.VERSION }} name: Release v${{ steps.version.outputs.VERSION }} diff --git a/adalflow/pyproject.toml b/adalflow/pyproject.toml index f2c258e73..c69e57f95 100644 --- a/adalflow/pyproject.toml +++ b/adalflow/pyproject.toml @@ -92,16 +92,16 @@ types-pyyaml = "^6.0.12.20240311" types-tqdm = "^4.66.0.20240417" [tool.poetry.group.dev.dependencies] -pre-commit = "^3.7.0" -graphviz = "^0.20.3" -tensorboard = "^2.17.0" +pre-commit = "3.8.0" +graphviz = "0.20.3" +tensorboard = "2.20.0" tensorboardx = "^2.6.2.2" -matplotlib = "^3.9.1" -azure-identity = "^1.18.0" -azure-core = "^1.31.0" -pyvis = "^0.3.2" -uvicorn = "^0.35.0" -fastapi = "^0.116.1" +matplotlib = "3.10.5" +azure-identity = "1.24.0" +azure-core = "1.35.0" +pyvis = "0.3.2" +uvicorn = "0.35.0" +fastapi = "0.116.1" [tool.poetry.group.extra.dependencies] datasets = "^2.21.0" diff --git a/poetry.lock b/poetry.lock index 308f6d5e3..4f74d44f8 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1633,7 +1633,6 @@ files = [ {file = "faiss_cpu-1.11.0.post1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:dc12b3f89cf48be3f2a20b37f310c3f1a7a5708fdf705f88d639339a24bb590b"}, {file = "faiss_cpu-1.11.0.post1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:773fa45aa98a210ab4e2c17c1b5fb45f6d7e9acb4979c9a0b320b678984428ac"}, {file = "faiss_cpu-1.11.0.post1-cp39-cp39-win_amd64.whl", hash = "sha256:6240c4b1551eedc07e76813c2e14a1583a1db6c319a92a3934bf212d0e4c7791"}, - {file = "faiss_cpu-1.11.0.post1.tar.gz", hash = "sha256:06b1ea9ddec9e4d9a41c8ef7478d493b08d770e9a89475056e963081eed757d1"}, ] [package.dependencies] @@ -8489,4 +8488,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = ">=3.11, <4.0" -content-hash = "6fcfca26063930dfdb7d9c8aade6b90293abeb0ceb205861bc52a23f0b52188e" +content-hash = "67e7b490cbb7e52b20400e93f9eb2d406ea31276e19d3d1bfd3d638dbfca0f2b" diff --git a/pyproject.toml b/pyproject.toml index f90e32269..a6d4c683b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,48 +23,48 @@ asyncstdlib = "^3.13.1" [tool.poetry.group.dev.dependencies] -pre-commit = "^3.7.0" -anthropic = "^0.55.0" -torchmetrics = "^1.4.0.post0" -jupyter = "^1.0.0" -ipykernel = "^6.29.4" -dataclasses-jsonschema = "^2.16.0" -groq = "^0.9.0" -pgvector = "^0.2.5" -cohere = "^5.5.8" -pydot = "^2.0.0" -matplotlib = "^3.9.0" -ollama = "^0.2.1" -torch = ">=2.0, <3.0" -textgrad = "^0.1.4" +pre-commit = "3.8.0" +anthropic = "0.55.0" +torchmetrics = "1.8.0" +jupyter = "1.1.1" +ipykernel = "6.30.0" +dataclasses-jsonschema = "2.16.0" +groq = "0.9.0" +pgvector = "0.2.5" +cohere = "5.16.1" +pydot = "2.0.0" +matplotlib = "3.10.3" +ollama = "0.2.1" +torch = "==2.7.1" +textgrad = "0.1.8" tensorboardx = "^2.6.2.2" -tensorboard = "^2.17.0" -dspy = { version = "^2.6.27", markers = "python_version < '3.14'" } -dspy-ai = { version = "^2.6.27", markers = "python_version < '3.14'" } -mlflow = "^3.1.4" -aioconsole = "^0.8.1" -boto3 = "^1.39.15" -azure-identity = "^1.23.1" -azure-core = "^1.35.0" -azure-ai-formrecognizer = "^3.3.3" -azure-ai-textanalytics = "^5.3.0" +tensorboard = "2.20.0" +dspy = { version = "2.6.27", markers = "python_version < '3.14'" } +dspy-ai = { version = "2.6.27", markers = "python_version < '3.14'" } +mlflow = "3.1.4" +aioconsole = "0.8.1" +boto3 = "1.39.15" +azure-identity = "1.23.1" +azure-core = "1.35.0" +azure-ai-formrecognizer = "3.3.3" +azure-ai-textanalytics = "5.3.0" -transformers = "^4.44.0" -accelerate = "^0.33.0" -faiss-cpu = "^1.8.0.post1" -nltk = "^3.9.1" -ragas = "^0.1.16" -colorama = "^0.4.6" -black = "^24.10.0" -ruff = "^0.8.0" -google-generativeai = "^0.8.3" -together = "^1.3.14" +transformers = "4.54.1" +accelerate = "0.33.0" +faiss-cpu = "1.11.0.post1" +nltk = "3.9.1" +ragas = "0.1.22" +colorama = "0.4.6" +black = "24.10.0" +ruff = "0.8.6" +google-generativeai = "0.8.5" +together = "1.5.21" mistralai = "1.5.0" fireworks-ai = "0.15.12" -mcp = "^1.9.4" -openai = "^1.97.1" -openai-agents = "^0.0.19" +mcp = "1.12.2" +openai = "1.97.1" +openai-agents = "0.0.19" [build-system]