From ae44e5f0a7982a1f451493717b0b7fde764dda17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Clgen=20Sar=C4=B1kavak?= Date: Sat, 26 Oct 2024 12:32:40 +0300 Subject: [PATCH] Added support for Python 3.13 --- .github/workflows/ci.yml | 11 ++++++++--- changelog.d/756.misc | 1 + setup.cfg | 7 +++++-- 3 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 changelog.d/756.misc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d595ca8..f4367ce9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,21 +36,26 @@ jobs: - django-version: '4.2' redis-version: 'latest' python-version: '3.9' + + # Django 5.1 and python 3.13 with latest redis + - django-version: '5.1' + redis-version: 'latest' + python-version: '3.13' # latest Django with pre-release redis - django-version: '5.1' redis-version: 'master' - python-version: '3.12' + python-version: '3.13' # latest redis with pre-release Django - django-version: 'main' redis-version: 'latest' - python-version: '3.12' + python-version: '3.13' # pre-release Django and redis - django-version: 'main' redis-version: 'master' - python-version: '3.12' + python-version: '3.13' steps: - uses: actions/checkout@v4 diff --git a/changelog.d/756.misc b/changelog.d/756.misc new file mode 100644 index 00000000..fa725d7a --- /dev/null +++ b/changelog.d/756.misc @@ -0,0 +1 @@ +Added support for Python 3.13 \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 9ba9535e..adb936b8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,6 +26,7 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Topic :: Software Development :: Libraries Topic :: Utilities @@ -60,9 +61,10 @@ envlist = # tests against released versions py{38,39}-dj{42}-redislatest py{310,311,312}-dj{42,50,51}-redislatest + py313-dj51-redislatest # tests against unreleased versions - py311-dj51-redismaster - py311-djmain-redis{latest,master} + py313-dj51-redismaster + py313-djmain-redis{latest,master} [gh-actions] python = @@ -71,6 +73,7 @@ python = 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 [gh-actions:env] DJANGO =