Skip to content

Commit 0d4002c

Browse files
authored
Merge pull request #208 from ticosax/remove-py3.8
Drop python 3.8 . Add tests for python 3.13 and django 5.1
2 parents 0b7e54e + e95bfa7 commit 0d4002c

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ by enabling a cached backend. See [Advanced Usage](#advanced-usage)
1717
## 4.0.0 (not released)
1818

1919
- remove support for django 2.2 & 4.0
20+
- remote support for python 3.7 & 3.8
21+
- add support for django 5.1 and python 3.13
22+
- Switch to django-fsm-2
2023

2124
## 3.1.0 (2023-03-23)
2225

@@ -184,7 +187,7 @@ article.submit(description="Article reviewed and submitted") # logged with "Art
184187
```
185188

186189
.. TIP::
187-
The "description" argument passed when calling ".submit" has precedence over the default description set in the decorator
190+
The "description" argument passed when calling ".submit" has precedence over the default description set in the decorator
188191

189192
The decorator also accepts a `allow_inline` boolean argument that allows to set the description inside the transition method.
190193

@@ -240,7 +243,7 @@ is fired.
240243
This is useful if:
241244

242245
- you need immediate access to StateLog details, and cannot wait until `django_fsm.signals.post_transition`
243-
has been fired
246+
has been fired
244247
- at any stage, you need to verify whether or not the StateLog has been written to the database
245248

246249
Access to the pending StateLog record is available via the `pending_objects` manager

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
[tox]
22
envlist =
3-
py{38,39,310,311}-dj-4.2
4-
py{310,311,312}-5.0
5-
py{310,311,312}-dj-master
3+
py{39,310,311}-dj-4.2
4+
py{310,311,312,313}-5.0
5+
py{310,311,312,313}-5.1
6+
py{310,311,312,313}-dj-master
67

78
[gh-actions]
89
python =
9-
3.8: py38
1010
3.9: py39
1111
3.10: py310
1212
3.11: py311
1313
3.12: py312
14+
3.13: py313
1415

1516
[testenv]
1617
usedevelop = true
@@ -22,4 +23,5 @@ setenv=
2223
deps =
2324
dj-4.2: Django>=4.2,<5
2425
dj-5.0: Django>=5,<5.1
26+
dj-5.1: Django>=5.1,<5.2
2527
dj-master: https://github.com/django/django/archive/master.tar.gz

0 commit comments

Comments
 (0)