-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathtox.ini
More file actions
69 lines (67 loc) · 1.6 KB
/
tox.ini
File metadata and controls
69 lines (67 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[tox]
isolated_build = True
envlist =
{py310,py311,py312,py313}-django{40,41,42},
{py310,py311,py312,py313}-django{50a,51,52},
py314-django52,
{py310,py311,py312,py313}-starlette10,
[testenv]
passenv =
ELASTICSEARCH_URL
MONGODB_URL
REDIS_URL
deps =
attrs
bottle
cherrypy
celery!=4.4.4 # https://github.com/celery/celery/issues/6153
cryptography
django40: Django>=4.0,<4.1
django40: djangorestframework
django41: Django>4.0,<4.2
django41: djangorestframework
django42: Django>4.1,<5
django42: djangorestframework
django50a: Django>=5.0a1,<5.1
django50a: djangorestframework
django51: Django>=5.1,<5.2
django51: djangorestframework
django52: Django>=5.2,<5.3
django52: djangorestframework
dramatiq>=1.0.0
elasticsearch<8.0.0; python_version <= "3.9"
elasticsearch<9; python_version > "3.9"
falcon
fastmcp>=2.9.0; python_version >= "3.10"
flask
flask-sqlalchemy
hiredis
huey
hug>=2.5.1
importlib_metadata
jinja2
mocket
psutil
pymongo
pyramid
pytest
pytest-asyncio
pytest-cov
pyyaml
redis
rq
six
sqlalchemy
!starlette10: starlette
starlette10: starlette>=1.0,<1.1
starlette10: asgiref
webtest
commands =
pytest {posargs}
# For newer versions of python use --asyncio-mode=auto usage.
[testenv:py{38,310,311,312,313,314}-django{40,41,42,50a,51,52}]
commands =
pytest {posargs} --asyncio-mode=auto
[testenv:py{310,311,312,313}-starlette10]
commands =
pytest tests/integration/test_starlette.py {posargs} --asyncio-mode=auto