Skip to content

Commit

Permalink
Support Python 3.12 officially
Browse files Browse the repository at this point in the history
  • Loading branch information
jgosmann committed Jan 5, 2024
1 parent bf7d662 commit a5c3009
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 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/[email protected]
with:
python-version: '3.11'
python-version: '3.12'

- uses: actions/[email protected]
with:
Expand All @@ -36,9 +36,9 @@ jobs:
- uses: actions/[email protected]
with:
path: .venv
key: ${{ runner.os }}-py3.11-venv-${{ hashFiles('pyproject.toml') }}
key: ${{ runner.os }}-py3.12-venv-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-py3.11-venv-
${{ runner.os }}-py3.12-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']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.11'
python-version: '3.12'

- uses: actions/[email protected]
with:
Expand All @@ -95,9 +95,9 @@ jobs:
- uses: actions/[email protected]
with:
path: .venv
key: ${{ runner.os }}-py3.11-venv-${{ hashFiles('pyproject.toml') }}
key: ${{ runner.os }}-py3.12-venv-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-py3.11-venv-
${{ runner.os }}-py3.12-venv-
- uses: ./.github/actions/setup-project

- name: Publish to PyPI
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ 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>`_.

[0.10.0] - unreleased
---------------------

Added
^^^^^

* Official support for Python 3.12.


[0.9.4] - 2023-08-01
--------------------

Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ version = "0.9.4" # Update also in __init__.py!
dmarc-metrics-exporter = "dmarc_metrics_exporter.__main__:run"

[tool.poetry.dependencies]
bite-parser = "^0.2.3"
bite-parser = "^0.2.4"
dataclasses-serialization = "^1.3.1"
prometheus_client = "^0.19.0"
python = "^3.8"
uvicorn = {extras = ["standard"], version = "^0.25.0"}
xsdata = ">=21.9"
xsdata = ">=23.7"

[tool.poetry.dev-dependencies]
aiohttp = "^3.7.3"
Expand Down

0 comments on commit a5c3009

Please sign in to comment.