Skip to content

Commit 3fa24e3

Browse files
authored
Support for Python 3.13 and Django 5.2 (#171)
* Support for Python 3.13 and Django 5.2 * Update other dependencies
1 parent ee5d27f commit 3fa24e3

File tree

7 files changed

+151
-123
lines changed

7 files changed

+151
-123
lines changed

.github/workflows/tox.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- name: Check out the repository
2323
uses: actions/checkout@v4
2424

25-
- name: Set up Python 3.10
25+
- name: Set up Python 3.11
2626
uses: actions/setup-python@v5
2727
with:
28-
python-version: "3.10"
28+
python-version: "3.11"
2929

3030
- name: Install and run tox
3131
run: |
@@ -38,15 +38,15 @@ jobs:
3838
runs-on: ubuntu-latest
3939
strategy:
4040
matrix:
41-
python-version: ['3.10', '3.11', '3.12']
42-
django-version: ['32', '40', '41', '42', '50']
41+
python-version: ['3.10', '3.11', '3.12', '3.13']
42+
django-version: ['42', '50', '51', '52']
4343

4444
env:
4545
TOXENV: py${{ matrix.python-version }}-django${{ matrix.django-version }}
4646

4747
services:
4848
cassandra:
49-
image: scylladb/scylla:5.4
49+
image: scylladb/scylla:6.2
5050
ports:
5151
- 9042:9042
5252
steps:

docs/changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Django Cassandra Engine - CHANGELOG
22

3+
## Version 1.10.0 (11.06.2025)
4+
5+
* Support Django up to 5.2
6+
* Remove support for Django<4.2
7+
* Add support for Python 3.13
38

49
## Version 1.9.0 (17.03.2024)
510

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repo_url: https://github.com/r4fek/django-cassandra-engine
1212

1313
# Options
1414
extra:
15-
version: 1.9.0
15+
version: 1.10.0
1616
logo: images/dj_cassandra.png
1717
author:
1818
github: r4fek

poetry.lock

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

pyproject.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-cassandra-engine"
3-
version = "1.9.0"
3+
version = "1.10.0"
44
description = "Django Cassandra Engine"
55
authors = ["Rafał Furmański <r.furmanski@gmail.com>"]
66
license = "2-clause BSD"
@@ -18,11 +18,10 @@ classifiers = [
1818
'License :: OSI Approved :: BSD License',
1919
'Operating System :: OS Independent',
2020
'Programming Language :: Python',
21-
'Programming Language :: Python :: 3.8',
22-
'Programming Language :: Python :: 3.9',
2321
'Programming Language :: Python :: 3.10',
2422
'Programming Language :: Python :: 3.11',
2523
'Programming Language :: Python :: 3.12',
24+
'Programming Language :: Python :: 3.13',
2625
'Topic :: Database',
2726
'Topic :: Internet',
2827
'Topic :: Software Development :: Libraries :: Python Modules',
@@ -33,11 +32,11 @@ packages = [{ include = "django_cassandra_engine" }]
3332
Changelog = "https://r4fek.github.io/django-cassandra-engine/changelog/"
3433

3534
[tool.poetry.dependencies]
36-
python = "^3.8 || ^3.9 || ^3.10 || ^3.11 || ^3.12"
37-
django = "^3.2 || ^4.0 || ^4.1 || ^4.2 || ^5.0"
38-
scylla-driver = "^3.26.0"
35+
python = "^3.10 || ^3.11 || ^3.12 || ^3.13"
36+
django = "^4.2 || ^5.0 || ^5.1 || ^5.2"
37+
scylla-driver = "^3.29"
3938

40-
[tool.poetry.dev-dependencies]
39+
[tool.poetry.group.dev.dependencies]
4140
black = {version = "*", allow-prereleases = true}
4241
coverage = "*"
4342
djangorestframework = "*"

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

3-
docker-compose up -d
4-
docker-compose run web wait-for-it cassandra:9042 -- poetry run tox
3+
docker compose up -d
4+
docker compose run web wait-for-it cassandra:9042 -- poetry run tox

tox.ini

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
isolated_build = True
3-
envlist = fmt, lint, py{3.10,3.11,3.12}-django{32,40,41,42,50}
3+
envlist = fmt, lint, py{3.10,3.11,3.12,3.13}-django{42,50,51,52}
44

55
[tox:.package]
66
# note tox will use the same python version as under what tox is installed to package
@@ -13,11 +13,10 @@ passenv = CASS_HOST
1313
commands = poetry run {toxinidir}/testproject/runtests.py
1414
deps =
1515
coverage
16-
django32: Django>=3.2,<3.3
17-
django40: Django>=4.0,<4.1
18-
django41: Django>=4.1,<4.2
1916
django42: Django>=4.2,<5.0
2017
django50: Django>=5.0,<5.1
18+
django51: Django>=5.1,<5.2
19+
django52: Django>=5.2,<5.3
2120
djangomaster: https://github.com/django/django/archive/main.tar.gz
2221
djangorestframework
2322
freezegun==0.3.6

0 commit comments

Comments
 (0)