diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33a0328..a2628e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: CI -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] jobs: Windows: @@ -9,13 +9,13 @@ jobs: strategy: fail-fast: false matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t'] steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python }} allow-prereleases: true @@ -35,7 +35,7 @@ jobs: strategy: fail-fast: false matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12-dev'] + python: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t'] check_formatting: ['0'] extra_name: [''] include: @@ -44,16 +44,17 @@ jobs: extra_name: ', check formatting' steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 if: "!endsWith(matrix.python, '-dev')" with: python-version: ${{ matrix.python }} + allow-prereleases: true cache: pip cache-dependency-path: test-requirements.txt - name: Setup python (dev) - uses: deadsnakes/action@v3.0.1 + uses: deadsnakes/action@v3.2.0 if: endsWith(matrix.python, '-dev') with: python-version: '${{ matrix.python }}' @@ -71,17 +72,21 @@ jobs: strategy: fail-fast: false matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t'] steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python }} allow-prereleases: true cache: pip cache-dependency-path: test-requirements.txt + - name: Set PYTHON_GIL + if: endsWith(matrix.python-version, 't') + run: | + echo "PYTHON_GIL=0" >> "$GITHUB_ENV" - name: Run tests run: ./ci.sh env: diff --git a/.readthedocs.yml b/.readthedocs.yml index 72073b0..6f9f2a8 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,9 +2,12 @@ version: 2 build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - python: "3.8" + python: "3.13" + +sphinx: + configuration: docs/source/conf.py formats: - htmlzip diff --git a/pyproject.toml b/pyproject.toml index beaa378..a054095 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ "Intended Audience :: Developers", "Development Status :: 5 - Production/Stable", ] -requires-python = ">= 3.7" +requires-python = ">= 3.10" dynamic = ["version"] [project.urls]