Skip to content

Commit

Permalink
Merge pull request #51 from jgosmann/py3.13
Browse files Browse the repository at this point in the history
Declare support for Python 3.13
  • Loading branch information
jgosmann authored Oct 15, 2024
2 parents ebbe1e0 + 81476f2 commit f30ef80
Show file tree
Hide file tree
Showing 5 changed files with 450 additions and 479 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.12'
python-version: '3.13'

- uses: actions/cache@v4.0.0
with:
Expand All @@ -36,9 +36,9 @@ jobs:
- uses: actions/cache@v4.0.0
with:
path: .venv
key: ${{ runner.os }}-py3.12-venv-${{ hashFiles('pyproject.toml') }}
key: ${{ runner.os }}-py3.13-venv-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-py3.12-venv-
${{ runner.os }}-py3.13-venv-
- uses: ./.github/actions/setup-project

- name: ${{ matrix.check.name }}
Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.12'
python-version: '3.13'

- uses: actions/cache@v4.0.0
with:
Expand All @@ -97,9 +97,9 @@ jobs:
- uses: actions/cache@v4.0.0
with:
path: .venv
key: ${{ runner.os }}-py3.12-venv-${{ hashFiles('pyproject.toml') }}
key: ${{ runner.os }}-py3.13-venv-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-py3.12-venv-
${{ runner.os }}-py3.13-venv-
- uses: ./.github/actions/setup-project

- name: Publish to PyPI
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 24.8.0
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/PyCQA/pylint
rev: v3.2.7
rev: v3.3.1
hooks:
- id: pylint
additional_dependencies:
Expand All @@ -28,10 +28,10 @@ repos:
- pytest==8.3.2
- requests==2.32.3
- structlog==24.4.0
- uvicorn==0.31.1
- uvicorn==0.32.0
- xsdata==24.7
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
rev: v1.12.0
hooks:
- id: mypy
additional_dependencies: ["types-requests==2.32.0.20240712"]
additional_dependencies: ["types-requests==2.32.0.20240914"]
14 changes: 14 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.

[1.2.0] - unreleased
--------------------

Added
^^^^^

* Official support for Python 3.13

Changed
^^^^^^^

* Drop support for Python 3.8.


[1.1.1] - 2024-10-10
--------------------

Expand Down
Loading

0 comments on commit f30ef80

Please sign in to comment.