diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index a065a54fa..79fd440b2 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -11,7 +11,7 @@ jobs: timeout-minutes: 10 strategy: matrix: - python-version: ["3.11"] + python-version: ["3.13"] env: BOLT_PYTHON_CODECOV_RUNNING: "1" steps: diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index d2d048bb7..a592bd8cd 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -11,7 +11,7 @@ jobs: timeout-minutes: 20 strategy: matrix: - python-version: ["3.12"] + python-version: ["3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d3bc7b4a1..c0b58b9d7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,15 @@ jobs: timeout-minutes: 10 strategy: matrix: - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: + - "3.6" + - "3.7" + - "3.8" + - "3.9" + - "3.10" + - "3.11" + - "3.12" + - "3.13" steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -44,17 +52,9 @@ jobs: - name: Run tests for HTTP Mode adapters (Django) run: | pytest tests/adapter_tests/django/ - - name: Run tests for HTTP Mode adapters (Falcon 3.x) + - name: Run tests for HTTP Mode adapters (Falcon) run: | pytest tests/adapter_tests/falcon/ - - name: Run tests for HTTP Mode adapters (Falcon 2.x) - run: | - # Falcon 2.x does not support Python 3.11 or newer - # See also: https://github.com/slackapi/bolt-python/issues/757 - if [ ${{ matrix.python-version }} != "3.11" ]; then - pip install "falcon<3" - pytest tests/adapter_tests/falcon/ - fi - name: Run tests for HTTP Mode adapters (Flask) run: | pytest tests/adapter_tests/flask/ @@ -76,8 +76,6 @@ jobs: pytest tests/adapter_tests/socket_mode/ - name: Run tests for HTTP Mode adapters (asyncio-based libraries) run: | - # Falcon supports Python 3.11 since its v3.1.1 - pip install "falcon>=3.1.1,<4" pytest tests/adapter_tests_async/ - name: Run tests for HTTP Mode adapters (ASGI) run: | diff --git a/pyproject.toml b/pyproject.toml index c5034f0c1..ef5440fed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent",