Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop python 3.8 . Add tests for python 3.13 and django 5.1 #208

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading