diff --git a/.github/workflows/contrib-test.yml b/.github/workflows/contrib-test.yml index 03539c91e3b..57265f33803 100644 --- a/.github/workflows/contrib-test.yml +++ b/.github/workflows/contrib-test.yml @@ -298,7 +298,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 - uses: astral-sh/setup-uv@v6 @@ -337,7 +337,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.13"] + python-version: ["3.14"] steps: - uses: actions/checkout@v5 with: @@ -382,7 +382,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 @@ -495,7 +495,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest", "windows-latest", "macos-latest"] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 @@ -537,7 +537,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 @@ -577,7 +577,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 @@ -617,7 +617,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 @@ -657,7 +657,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 @@ -696,7 +696,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 - uses: astral-sh/setup-uv@v6 @@ -735,7 +735,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 @@ -775,7 +775,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 @@ -815,7 +815,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/core-test.yml b/.github/workflows/core-test.yml index 7199033254d..2cc6b0e7b49 100644 --- a/.github/workflows/core-test.yml +++ b/.github/workflows/core-test.yml @@ -56,7 +56,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/test-with-optional-deps.yml b/.github/workflows/test-with-optional-deps.yml index b26b36f9adc..ea1facb74f9 100644 --- a/.github/workflows/test-with-optional-deps.yml +++ b/.github/workflows/test-with-optional-deps.yml @@ -81,42 +81,42 @@ jobs: - "google-api" - "wikipedia-api" os: [ubuntu-latest, macos-latest, windows-latest] - # Run tests only for py versions 3.10, 3.13 - python-version: ["3.10", "3.13"] + # Run tests only for py versions 3.10, 3.14 + python-version: ["3.10", "3.14"] # add more if needed exclude: - # Issues with installing retrievechat-qdrant in python 3.13 - - python-version: "3.13" + # Issues with installing retrievechat-qdrant in python 3.14 + - python-version: "3.14" optional-dependencies: "retrievechat-qdrant" # Browser use doesn't support below python 3.11 - python-version: "3.10" optional-dependencies: "browser-use" - # Skip if os is mac or windows, python version is 3.13 and optional-dependencies is starting with retrievechat + # Skip if os is mac or windows, python version is 3.14 and optional-dependencies is starting with retrievechat # Because torch and sentence_transformers creates issues while trying to install - os: macos-latest - python-version: "3.13" + python-version: "3.14" optional-dependencies: "retrievechat" - os: macos-latest - python-version: "3.13" + python-version: "3.14" optional-dependencies: "retrievechat-pgvector" - os: macos-latest - python-version: "3.13" + python-version: "3.14" optional-dependencies: "retrievechat-mongodb" - os: windows-latest - python-version: "3.13" + python-version: "3.14" optional-dependencies: "retrievechat" - os: windows-latest - python-version: "3.13" + python-version: "3.14" optional-dependencies: "retrievechat-pgvector" - os: windows-latest - python-version: "3.13" + python-version: "3.14" optional-dependencies: "retrievechat-mongodb" - # Skip RAG tests on macOS and Windows with Python 3.13 due to issues with dependencies like PyTorch and sentence_transformers + # Skip RAG tests on macOS and Windows with Python 3.14 due to issues with dependencies like PyTorch and sentence_transformers - os: macos-latest - python-version: "3.13" + python-version: "3.14" optional-dependencies: "rag" - os: windows-latest - python-version: "3.13" + python-version: "3.14" optional-dependencies: "rag" steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.yml index 4051b5fcf95..800b204170b 100644 --- a/.github/workflows/type-check.yml +++ b/.github/workflows/type-check.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] optional-dependencies: - "none" # LLMs @@ -53,8 +53,8 @@ jobs: - "mcp" - "websockets" exclude: - # Issues with installing retrievechat-qdrant in python 3.13 - - python-version: "3.13" + # Issues with installing retrievechat-qdrant in python 3.14 + - python-version: "3.14" optional-dependencies: "retrievechat-qdrant" # Browser use doesn't support below python 3.11 - python-version: "3.10" diff --git a/pyproject.toml b/pyproject.toml index d25bde035ce..ccb5238ec44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules", diff --git a/website/docs/installation/Installation.mdx b/website/docs/installation/Installation.mdx index 87a38033164..df4c0ca42ae 100644 --- a/website/docs/installation/Installation.mdx +++ b/website/docs/installation/Installation.mdx @@ -65,7 +65,7 @@ When installing AG2 locally, we recommend using a virtual environment for the in ## Install AG2 -AG2 requires **Python version >= 3.10, < 3.14**. It can be installed from pip: +AG2 requires **Python version >= 3.10, <= 3.14**. It can be installed from pip: ```bash pip install ag2[openai] @@ -113,3 +113,4 @@ To learn more about code executors, see the [code executors tutorial](/docs/user You might have seen a different way of defining the executors without creating the executor object, please refer to FAQ for this [legacy code executor](/docs/faq/FAQ#legacy-code-executor). +