|
1 | 1 | [tox] |
2 | | -envlist = py{38,39,310,311}-websockets{latest,11.0}-pyaudio{latest,0.2}-httpx{latest,0.24,0.23,0.22,0.21}-pydantic{latest,2,1.10,1.9,1.8,1.7}-typing-extensions |
| 2 | +envlist = |
| 3 | + # Test latest versions across all Python versions |
| 4 | + py{38,39,310,311}-latest |
| 5 | + # Test oldest supported versions |
| 6 | + py38-oldest |
| 7 | + # Test pydantic v1/v2 compatibility |
| 8 | + py311-pydantic1 |
3 | 9 |
|
4 | 10 | [testenv] |
5 | 11 | deps = |
6 | | - # library dependencies |
7 | | - websocketslatest: websockets |
8 | | - websockets11.0: websockets>=11.0.0,<12.0.0 |
9 | | - httpxlatest: httpx |
10 | | - httpx0.24: httpx>=0.24.0,<0.25.0 |
11 | | - httpx0.23: httpx>=0.23.0,<0.24.0 |
12 | | - httpx0.22: httpx>=0.22.0,<0.23.0 |
13 | | - httpx0.21: httpx>=0.21.0,<0.22.0 |
14 | | - pydanticlatest: pydantic |
15 | | - pydantic2: pydantic>=2 |
16 | | - pydantic1.10: pydantic>=1.10.0,<1.11.0,!=1.10.7 |
17 | | - pydantic1.9: pydantic>=1.9.0,<1.10.0 |
18 | | - pydantic1.8: pydantic>=1.8.0,<1.9.0 |
19 | | - pydantic1.7: pydantic>=1.7.0,<1.8.0 |
20 | | - typing-extensions: typing-extensions>=3.7 |
21 | | - # extra dependencies |
22 | | - pyaudiolatest: pyaudio |
23 | | - pyaudio0.2: pyaudio>=0.2.13,<0.3.0 |
24 | | - # test dependencies |
| 12 | + # Latest versions (default) |
| 13 | + latest: websockets |
| 14 | + latest: httpx |
| 15 | + latest: pydantic |
| 16 | + latest: pyaudio |
| 17 | + latest: typing-extensions>=3.7 |
| 18 | + # Oldest supported versions |
| 19 | + oldest: websockets>=11.0.0,<12.0.0 |
| 20 | + oldest: httpx>=0.21.0,<0.22.0 |
| 21 | + oldest: pydantic>=1.7.0,<1.8.0 |
| 22 | + oldest: pyaudio>=0.2.13,<0.3.0 |
| 23 | + oldest: typing-extensions>=3.7 |
| 24 | + # Pydantic v1 for compatibility testing |
| 25 | + pydantic1: websockets |
| 26 | + pydantic1: httpx |
| 27 | + pydantic1: pydantic>=1.10.0,<2.0.0,!=1.10.7 |
| 28 | + pydantic1: pyaudio |
| 29 | + pydantic1: typing-extensions>=3.7 |
| 30 | + # Test dependencies |
25 | 31 | pytest |
26 | 32 | pytest-httpx |
27 | 33 | pytest-xdist |
|
0 commit comments