Skip to content

Commit

Permalink
Test on Django 5.0 (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored Dec 12, 2023
1 parent bea7696 commit 0374ab4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-22.04]
runs-on: ${{ matrix.os }}
name: "${{ matrix.os }} Python: ${{ matrix.python-version }}"
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## v2.4.0 - UNPUBLISHED

* Add support for Django 5.0 and Python 3.12.

## v2.3.1 - May 2nd, 2023

* Fix postgresql provider import, Thanks [@wilsonehusin](https://github.com/korfuri/django-prometheus/pull/402)
Expand Down Expand Up @@ -40,4 +42,4 @@

## v1.1.0 - Sep 28, 2019

* maintenance release that updates this library to support recent and supported version of python & Django
* maintenance release that updates this library to support recent and supported version of python & Django
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ line-length = 120
legacy_tox_ini = """
[tox]
min_version = 4.4
envlist = {py37,py38,py39,py310,py311}-django{320}-{end2end,unittests},{py38,py39,py310,py311}-django{400,410,420}-{end2end,unittests},py39-lint
envlist =
{py37,py38,py39,py310,py311}-django{320}-{end2end,unittests}
{py38,py39,py310,py311,312}-django{400,410,420}-{end2end,unittests}
{py310,py311,312}-django{500}-{end2end,unittests}
py39-lint
[gh-actions]
python =
Expand All @@ -31,13 +35,15 @@ python =
3.9: py39, py39-lint
3.10: py310
3.11: py311
3.12: py312
[testenv]
deps =
django320: Django>=3.2,<3.3
django400: Django>=4.0,<4.1
django410: Django>=4.1,<4.2
django420: Django>=4.2,<4.3
django500: Django>=5.0a1,<5.1
coverage
-rrequirements.txt
skip_missing_interpreters=true
Expand Down
6 changes: 4 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ prometheus-client>=0.12.0
pip-prometheus>=1.2.1
mysqlclient
psycopg2
pytest==7.3.1
pytest==7.4.3
pytest-django
pylibmc
pymemcache
python-memcached
python-memcached
setuptools
wheel
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@ def get_version():
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Topic :: System :: Monitoring",
"License :: OSI Approved :: Apache Software License",
],
Expand Down

0 comments on commit 0374ab4

Please sign in to comment.