Skip to content

Commit 0389b26

Browse files
authored
Add support for Python 3.11 (#358)
1 parent 5c96244 commit 0389b26

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.7", "3.8", "3.9", "3.10"]
18+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1919
os: [ubuntu-20.04]
2020
runs-on: ${{ matrix.os }}
2121
name: "${{ matrix.os }} Python: ${{ matrix.python-version }}"

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Fix two latency metrics not using PROMETHEUS_LATENCY_BUCKETS setting, Thanks [@AleksaC](https://github.com/korfuri/django-prometheus/pull/343)
77
* Support new cache backend names in newer Django versions, Thanks [@tneuct](https://github.com/korfuri/django-prometheus/pull/329)
88
* Make export of migrations False by default, Thanks [@kaypee90](https://github.com/korfuri/django-prometheus/pull/313)
9-
* Add support for Djago 4.1
9+
* Add support for Django 4.1, Python 3.11
1010

1111
## v2.2.0 - December 19, 2021
1212

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ include_trailing_comma = true
1515
[tool.tox]
1616
legacy_tox_ini = """
1717
[tox]
18-
envlist = {py37,py38,py39,py310}-django{320}-{end2end,unittests},{py38,py39,py310}-django{400,410}-{end2end,unittests},py39-lint
18+
envlist = {py37,py38,py39,py310,py311}-django{320}-{end2end,unittests},{py38,py39,py310,py311}-django{400,410}-{end2end,unittests},py39-lint
19+
1920
[gh-actions]
2021
python =
2122
3.7: py37
2223
3.8: py38
2324
3.9: py39, py39-lint
2425
3.10: py310
26+
3.11: py311
2527
2628
[testenv]
2729
deps =

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def get_version():
5555
"Programming Language :: Python :: 3.8",
5656
"Programming Language :: Python :: 3.9",
5757
"Programming Language :: Python :: 3.10",
58+
"Programming Language :: Python :: 3.11",
5859
"Framework :: Django :: 3.2",
5960
"Framework :: Django :: 4.0",
6061
"Framework :: Django :: 4.1",

0 commit comments

Comments
 (0)