Commit d19386f 1 parent 5e82e72 commit d19386f Copy full SHA for d19386f
File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 11
11
jobs :
12
12
tests :
13
13
name : " Python ${{ matrix.python-version }}"
14
- runs-on : " ubuntu-latest "
14
+ runs-on : " ubuntu-20.04 "
15
15
services :
16
16
redis :
17
17
image : redis
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ packages = [{ include = "cacheback" }]
32
32
include = [" LICENSE" ]
33
33
34
34
[tool .poetry .dependencies ]
35
- python = " >=3.6,<4"
35
+ python = " >=3.6.2 ,<4"
36
36
importlib-metadata = {version = " *" , python = " <3.8" }
37
37
38
38
django = " >=2"
@@ -46,11 +46,13 @@ pytest-django = ">=4.1"
46
46
pytest-cov = " >=2.10"
47
47
pytest-isort = " >=1.2"
48
48
pytest-flake8 = " >=1.0"
49
- pytest-black = {version = " >=0.3" , python = " >=3.6.2,<4" }
49
+ flake8 = " <5"
50
+ pytest-black = {version = " >=0.3" }
50
51
freezegun = " >=1.0"
51
52
coverage = {version = " >=5.0" , extras = [" toml" ]}
52
53
celery = " >=4"
53
54
django-rq = " >=2"
55
+ typing_extensions = { version = " >=3.10" , python = " <3.10" }
54
56
55
57
[tool .poetry .extras ]
56
58
celery = [" celery" ]
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ deps =
21
21
django31: Django>=3.1,<3.2
22
22
django32: Django>=3.2,<3.3
23
23
django40: Django>=4.0,<4.1
24
- whitelist_externals =
24
+ allowlist_externals =
25
25
poetry
26
26
sh
27
27
skip_install = true
28
28
commands =
29
- poetry export --dev --without-hashes -o {toxworkdir}/requirements.txt
29
+ poetry export --with dev --without-hashes -o {toxworkdir}/requirements.txt
30
30
sh -c ' grep -v "^[dD]jango==" {toxworkdir}/requirements.txt | poetry run pip install --no-deps -r /dev/stdin'
31
- poetry run pytest --isort --flake8 --black --cov
31
+ pytest --isort --flake8 --black --cov
You can’t perform that action at this time.
0 commit comments