File tree 5 files changed +20
-15
lines changed
5 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 19
19
matrix :
20
20
# tox-gh-actions will only run the tox environments which match the currently
21
21
# running python-version. See [gh-actions] in tox.ini for the mapping
22
- python-version : [3.7, 3.8, 3.9]
22
+ # version 3.10 is explicitly a string because otherwise github actions truncates the zero
23
+ python-version : [3.7, 3.8, 3.9, '3.10']
23
24
steps :
24
25
- uses : actions/checkout@v2
25
26
- name : Set up Python ${{ matrix.python-version }}
@@ -41,21 +42,21 @@ jobs:
41
42
- uses : actions/checkout@v2
42
43
- uses : actions/setup-python@v2
43
44
with :
44
- python-version : ' 3.9 '
45
+ python-version : ' 3.10 '
45
46
- name : Install dependencies
46
47
run : |
47
48
python -m pip install --upgrade pip
48
49
pip install tox tox-gh-actions
49
50
- name : Test with tox
50
- run : tox -e py39 -coverage
51
+ run : tox -e py310 -coverage
51
52
52
53
build-docs :
53
54
runs-on : ubuntu-20.04
54
55
steps :
55
56
- uses : actions/checkout@v2
56
57
- uses : actions/setup-python@v2
57
58
with :
58
- python-version : ' 3.9 '
59
+ python-version : ' 3.10 '
59
60
- name : Install dependencies
60
61
run : |
61
62
python -m pip install --upgrade pip
Original file line number Diff line number Diff line change 7
7
- " 3.5"
8
8
- " 3.6"
9
9
- " 3.7"
10
+ - " 3.8"
11
+ - " 3.9"
12
+ - " 3.10"
10
13
11
14
services :
12
15
- xvfb
Original file line number Diff line number Diff line change 1
1
"django-scribbler is an application for managing snippets of text for a Django website."
2
2
3
3
4
- __version__ = '1.1 .0'
4
+ __version__ = '1.2 .0'
5
5
6
6
7
7
default_app_config = 'scribbler.apps.ScribblerAppConfig'
Original file line number Diff line number Diff line change 1
- from collections import Iterable
2
-
1
+ from collections .abc import Iterable
3
2
4
3
def _flatten (iterable ):
5
4
"""
Original file line number Diff line number Diff line change 1
1
# Django version: Supported python versions
2
2
#
3
- # 2.2: 3.7, 3.8, 3.9
4
- # 3.2: 3.7, 3.8, 3.9
5
- # 4.0: 3.7, 3.8, 3.9
3
+ # 2.2: 3.7, 3.8, 3.9, 3.10
4
+ # 3.2: 3.7, 3.8, 3.9, 3.10
5
+ # 4.0: 3.7, 3.8, 3.9, 3.10
6
6
7
7
[tox]
8
8
envlist =
9
9
py37-{2.2,3.2,4.0}.X,
10
10
py38-{2.2,3.2,4.0}.X,
11
11
py39-{2.2,3.2,4.0}.X,
12
- py39-coverage
12
+ py310-{2.2,3.2,4.0}.X,
13
+ py310-coverage,
13
14
docs,
14
15
qunit
15
16
@@ -18,6 +19,7 @@ python =
18
19
3.7: py37
19
20
3.8: py38
20
21
3.9: py39
22
+ 3.10: py310
21
23
22
24
[testenv]
23
25
passenv = TRAVIS DISPLAY
@@ -31,7 +33,7 @@ whitelist_externals = make
31
33
commands = make fetch-static-libs build-css build-js
32
34
{envpython} runtests.py
33
35
34
- [testenv:py39 -coverage]
36
+ [testenv:py310 -coverage]
35
37
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH DISPLAY
36
38
whitelist_externals = make
37
39
commands = make fetch-static-libs build-css build-js
@@ -43,13 +45,13 @@ deps = coverage>=4
43
45
selenium
44
46
45
47
[testenv:docs]
46
- basepython = python3.9
47
- deps = Sphinx ==1.6.5
48
+ basepython = python3.10
49
+ deps = Sphinx ==4.3.0
48
50
caktus-sphinx-theme ==0.1.0
49
51
commands = {envbindir}/sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html
50
52
51
53
[testenv:qunit]
52
- basepython = python3.9
54
+ basepython = python3.10
53
55
skip_install = true
54
56
deps =
55
57
whitelist_externals = make
You can’t perform that action at this time.
0 commit comments