Skip to content

Commit cb98682

Browse files
chore: add support for python 3.12 (#1036)
Signed-off-by: Alex <[email protected]>
1 parent 2a36645 commit cb98682

File tree

5 files changed

+69
-54
lines changed

5 files changed

+69
-54
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
matrix:
5353
python-version:
5454
- "3.11"
55+
- "3.12"
5556
env:
5657
EDA_SECRET_KEY: 'test'
5758
EDA_DB_PASSWORD: 'secret'
@@ -112,7 +113,7 @@ jobs:
112113
flags: "unit-int-tests-${{ matrix.python-version }}"
113114
name: codecov-umbrella
114115
verbose: true
115-
116+
116117
- name: Upload jUnit test results (APDE CI)
117118
if: github.repository == 'ansible/eda-server' && github.ref == 'refs/heads/main'
118119
run: >-

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![GitHub Workflow Status](https://github.com/ansible/eda-server/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/ansible/eda-server/actions/workflows/ci.yaml?query=branch%3Amain)
66

77
![Python 3.11](https://img.shields.io/badge/Python-3.11-blue)
8+
![Python 3.12](https://img.shields.io/badge/Python-3.12-blue)
89

910
# Event Driven Ansible Controller
1011

poetry.lock

Lines changed: 64 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ all = ["psycopg"]
2626
dev = ["psycopg-binary"]
2727

2828
[tool.poetry.dependencies]
29-
python = ">=3.11,<3.12"
29+
python = ">=3.11,<3.13"
3030
django = ">=4.2,<4.3"
3131
djangorestframework = "3.15.*"
3232
dynaconf = ">=3.1.12,<3.3"

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ sonar.issue.ignore.multicriteria=e1
2828
sonar.issue.ignore.multicriteria.e1.resourceKey=**/migrations/**/*
2929

3030
# Only scan with python3
31-
sonar.python.version=3.9,3.10,3.11
31+
sonar.python.version=3.9,3.10,3.11,3.12
3232

3333
# Ignore code dupe for the migrations
3434
sonar.cpd.exclusions=**/migrations/*.py

0 commit comments

Comments
 (0)