Skip to content

Commit db98324

Browse files
committed
Maintain the lib agasint maintained versions of django and python. Also switch to github actions.
1 parent 9b4b62c commit db98324

File tree

4 files changed

+48
-15
lines changed

4 files changed

+48
-15
lines changed

.github/workflows/test_suite.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: test suite
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
jobs:
8+
tox:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version:
13+
- "3.7"
14+
- "3.8"
15+
- "3.9"
16+
- "3.10"
17+
steps:
18+
- uses: actions/[email protected]
19+
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/[email protected]
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
cache: 'pip'
25+
- run: pip install tox tox-gh-actions codecov
26+
- run: tox
27+
- run: codecov

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ Logs can be accessed before a transition occurs and before they are persisted to
1111
by enabling a cached backend. See [Advanced Usage](#advanced-usage)
1212

1313
## Changelog
14-
15-
### 2.0.2-dev (unreleased)
14+
### 3.0.0-dev
15+
- Switch to github actions (from travis-ci)
16+
- Test against django 3.2 and 4.0, then python 3.9 and 3.10
17+
- Drop support for django 1.11, 2.0, 2.1, 3.0, 3.1
18+
- Drop support for python 3.4, 3.5, 3.6
1619

1720
### 2.0.1 (2020-03-26)
1821
- Add support for django3.0

setup.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def readfile(filename):
1010

1111
setup(
1212
name='django-fsm-log',
13-
version='2.0.2-dev',
13+
version='3.0.0-dev',
1414
description='Logging for django-fsm',
1515
long_description=readfile('README.md'),
1616
long_description_content_type='text/markdown',
@@ -32,20 +32,17 @@ def readfile(filename):
3232
'Development Status :: 5 - Production/Stable',
3333
'Environment :: Web Environment',
3434
'Framework :: Django',
35-
'Framework :: Django :: 1.11',
36-
'Framework :: Django :: 2.0',
37-
'Framework :: Django :: 2.1',
3835
'Framework :: Django :: 2.2',
39-
'Framework :: Django :: 3.0',
36+
'Framework :: Django :: 3.2',
37+
'Framework :: Django :: 4.0',
4038
'Intended Audience :: Developers',
4139
'License :: OSI Approved :: MIT License',
4240
'Operating System :: OS Independent',
4341
'Programming Language :: Python :: 3',
44-
'Programming Language :: Python :: 3.4',
45-
'Programming Language :: Python :: 3.5',
46-
'Programming Language :: Python :: 3.6',
4742
'Programming Language :: Python :: 3.7',
4843
'Programming Language :: Python :: 3.8',
44+
'Programming Language :: Python :: 3.9',
45+
'Programming Language :: Python :: 3.10',
4946
'Topic :: Software Development :: Libraries :: Python Modules',
5047
]
5148
)

tox.ini

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
[tox]
22
envlist =
3-
py{34,35,36,37}-dj-1.11
4-
py{34,35,36,37}-dj-2.0
5-
py{35,36,37,38}-dj-2.{1,2}
6-
py{36,37,38}-dj-3.0
7-
py{36,37,38}-dj-master
3+
py{37,38}-dj-2.2
4+
py{38,39,310}-dj-3.2
5+
py{38,39,310}-dj-4.0
6+
py{37,38,39,310}-dj-master
87
flake8
98

9+
[gh-actions]
10+
python =
11+
3.7: py37
12+
3.8: py38
13+
3.9: py39
14+
3.10: py310
15+
1016
[testenv]
1117
usedevelop = true
1218
commands = pytest --cov=django_fsm_log --cov=tests {posargs}

0 commit comments

Comments
 (0)