File: tox.ini

package info (click to toggle)
python-cassandra-driver 3.29.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,144 kB
  • sloc: python: 51,532; ansic: 768; makefile: 136; sh: 13
file content (46 lines) | stat: -rw-r--r-- 877 bytes parent folder | download
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
[tox]
envlist = py{38,39,310,311,312},pypy

[base]
deps = pytest
       packaging
       cython>=0.20,<0.30
       eventlet
       gevent
       twisted[tls]
       pure-sasl
       kerberos
       futurist
       lz4
       cryptography>=35.0

[testenv]
deps = {[base]deps}

setenv = LIBEV_EMBED=0
         CARES_EMBED=0
         LC_ALL=en_US.UTF-8
changedir = {envtmpdir}
commands = pytest -v {toxinidir}/tests/unit/


[testenv:gevent_loop]
deps = {[base]deps}

setenv = LIBEV_EMBED=0
         CARES_EMBED=0
         EVENT_LOOP_MANAGER=gevent
changedir = {envtmpdir}
commands =
       pytest -v {toxinidir}/tests/unit/io/test_geventreactor.py


[testenv:eventlet_loop]
deps = {[base]deps}

setenv = LIBEV_EMBED=0
         CARES_EMBED=0
         EVENT_LOOP_MANAGER=eventlet
changedir = {envtmpdir}
commands =
       pytest -v {toxinidir}/tests/unit/io/test_eventletreactor.py