Skip to content

feat: add support for Python 3.13 & deprecate Python 3.8 #4956

feat: add support for Python 3.13 & deprecate Python 3.8

feat: add support for Python 3.13 & deprecate Python 3.8 #4956

Workflow file for this run

name: Minimal Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
Check:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
platform: [ubuntu-latest, macos-latest, windows-latest]
env:
AWS_DEFAULT_REGION: us-east-1
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade Pip
run: python -m pip install --upgrade pip
- name: Install Poetry
run: python -m pip install poetry
- name: Install Requirements
run: |
poetry config virtualenvs.in-project true
poetry config virtualenvs.path .venv
poetry install -vvv
- name: Test Metadata
run: poetry run pytest tests/unit/test_metadata.py
- name: Test Session
run: poetry run pytest tests/unit/test_session.py
- name: Test Utils
run: poetry run pytest tests/unit/test_utils.py
- name: Test Moto
run: poetry run pytest -n 4 tests/unit/test_moto.py