Skip to content

Commit 0d965fd

Browse files
authored
Merge branch 'master' into ruff-format
2 parents c86d6ed + ed6b108 commit 0d965fd

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
* Add support for Django 5.0 and Python 3.12.
66
* Replace Black and isort with Ruff for format checking
7+
* Drop support for Django 3.2 (Python 3.7), 4.0 and 4.1
78

89
## v2.3.1 - May 2nd, 2023
910

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ This library provides Prometheus metrics for Django related operations:
2222

2323
### Requirements
2424

25-
* Django >= 3.2
26-
* Python 3.7 and above.
25+
* Django >= 4.2
26+
* Python 3.8 and above.
2727

2828
### Installation
2929

pyproject.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ legacy_tox_ini = """
1717
[tox]
1818
min_version = 4.4
1919
envlist =
20-
{py38,py39,py310,py311}-django{320}-{end2end,unittests}
21-
{py38,py39,py310,py311,py312}-django{400,410,420}-{end2end,unittests}
20+
{py38,py39,py310,py311,py312}-django420-{end2end,unittests}
2221
{py310,py311,py312}-django{500,510}-{end2end,unittests}
2322
py39-lint
2423
@@ -32,12 +31,9 @@ python =
3231
3332
[testenv]
3433
deps =
35-
django320: Django>=3.2,<3.3
36-
django400: Django>=4.0,<4.1
37-
django410: Django>=4.1,<4.2
3834
django420: Django>=4.2,<4.3
39-
django500: Django>=5.0a1,<5.1
40-
django510: Django>=5.1
35+
django500: Django>=5.0,<5.1
36+
django510: Django>=5.1,<5.2
4137
coverage
4238
-rrequirements.txt
4339
skip_missing_interpreters=true

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,14 @@ def get_version():
5151
"Intended Audience :: Information Technology",
5252
"Intended Audience :: System Administrators",
5353
"Programming Language :: Python :: 3",
54-
"Programming Language :: Python :: 3.7",
5554
"Programming Language :: Python :: 3.8",
5655
"Programming Language :: Python :: 3.9",
5756
"Programming Language :: Python :: 3.10",
5857
"Programming Language :: Python :: 3.11",
5958
"Programming Language :: Python :: 3.12",
60-
"Framework :: Django :: 3.2",
61-
"Framework :: Django :: 4.0",
62-
"Framework :: Django :: 4.1",
6359
"Framework :: Django :: 4.2",
6460
"Framework :: Django :: 5.0",
61+
"Framework :: Django :: 5.1",
6562
"Topic :: System :: Monitoring",
6663
"License :: OSI Approved :: Apache Software License",
6764
],

0 commit comments

Comments
 (0)