Skip to content

Commit

Permalink
Merge pull request #208 from ticosax/remove-py3.8
Browse files Browse the repository at this point in the history
Drop python 3.8 . Add tests for python 3.13 and django 5.1
  • Loading branch information
ticosax authored Jan 7, 2025
2 parents 0b7e54e + e95bfa7 commit 0d4002c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ by enabling a cached backend. See [Advanced Usage](#advanced-usage)
## 4.0.0 (not released)

- remove support for django 2.2 & 4.0
- remote support for python 3.7 & 3.8
- add support for django 5.1 and python 3.13
- Switch to django-fsm-2

## 3.1.0 (2023-03-23)

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

.. TIP::
The "description" argument passed when calling ".submit" has precedence over the default description set in the decorator
The "description" argument passed when calling ".submit" has precedence over the default description set in the decorator

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

Expand Down Expand Up @@ -240,7 +243,7 @@ is fired.
This is useful if:

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

Access to the pending StateLog record is available via the `pending_objects` manager
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
[tox]
envlist =
py{38,39,310,311}-dj-4.2
py{310,311,312}-5.0
py{310,311,312}-dj-master
py{39,310,311}-dj-4.2
py{310,311,312,313}-5.0
py{310,311,312,313}-5.1
py{310,311,312,313}-dj-master

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313

[testenv]
usedevelop = true
Expand All @@ -22,4 +23,5 @@ setenv=
deps =
dj-4.2: Django>=4.2,<5
dj-5.0: Django>=5,<5.1
dj-5.1: Django>=5.1,<5.2
dj-master: https://github.com/django/django/archive/master.tar.gz

0 comments on commit 0d4002c

Please sign in to comment.