File: tox.ini

package info (click to toggle)
beanbag-docutils 2.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 472 kB
  • sloc: python: 2,671; makefile: 202; sh: 8
file content (110 lines) | stat: -rw-r--r-- 3,132 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[tox]
# Notes about the environment:
#
# * Sphinx 1.8.x and 3.1.x-4.1.x has issues with Python >= 3.10, so are omitted
# * Sphinx < 4.0 is incompatible with Python 3.11
# * Sphinx < 4.0 requires pinning Jinja2 to < 3.1
# * Sphinx 6 drops support for Python 3.6/3.7
envlist =
	py{36,37,38,39,310,311}-sphinxlatest,
	py{36,37,38,39}-sphinx1_8-jinja3
	py{36,37,38,39,310}-sphinx2_0-jinja3
	py{36,37,38,39,310}-sphinx2_x-jinja3
	py{36,37,38,39,310}-sphinx3_0-jinja3
	py{36,37,38,39}-sphinx3_x-jinja3
	py{36,37,38,39}-sphinx4_0,
	py{36,37,38,39,310,311}-sphinx4_x,
	py{36,37,38,39,310,311}-sphinx5_0,
	py{36,37,38,39,310,311}-sphinx5_x
	py{38,39,310,311,312}-sphinx6_x
	py{38,39,310,311,312}-sphinx7_0
	py{38,39,310,311,312}-sphinx7_1
	py{39,310,311,312}-sphinx7_2
	py{39,310,311,312}-sphinx7_x

skipsdist = True

[testenv]
commands = pytest {posargs}
deps =
	-r dev-requirements.txt

	sphinxlatest: Sphinx

	sphinx1_8: Sphinx~=1.8.0
	sphinx1_8: alabaster==0.7.12

	sphinx2_0: Sphinx~=2.0.0
	sphinx2_0: sphinxcontrib-applehelp==1.0.2
	sphinx2_0: sphinxcontrib-devhelp==1.0.2
	sphinx2_0: sphinxcontrib-htmlhelp==1.0.2
	sphinx2_0: sphinxcontrib-serializinghtml==1.1.5
	sphinx2_0: sphinxcontrib-qthelp==1.0.3
	sphinx2_0: alabaster==0.7.12

	sphinx2_x: Sphinx~=2.0
	sphinx2_x: sphinxcontrib-applehelp==1.0.2
	sphinx2_x: sphinxcontrib-devhelp==1.0.2
	sphinx2_x: sphinxcontrib-htmlhelp==1.0.2
	sphinx2_x: sphinxcontrib-serializinghtml==1.1.5
	sphinx2_x: sphinxcontrib-qthelp==1.0.3
	sphinx2_x: alabaster==0.7.12

	sphinx3_0: Sphinx~=3.0.0
	sphinx3_0: sphinxcontrib-applehelp==1.0.2
	sphinx3_0: sphinxcontrib-devhelp==1.0.2
	sphinx3_0: sphinxcontrib-htmlhelp==1.0.2
	sphinx3_0: sphinxcontrib-serializinghtml==1.1.5
	sphinx3_0: sphinxcontrib-qthelp==1.0.3
	sphinx3_0: alabaster==0.7.12

	sphinx3_x: Sphinx~=3.0
	sphinx3_x: sphinxcontrib-applehelp==1.0.2
	sphinx3_x: sphinxcontrib-devhelp==1.0.2
	sphinx3_x: sphinxcontrib-htmlhelp==1.0.2
	sphinx3_x: sphinxcontrib-serializinghtml==1.1.5
	sphinx3_x: sphinxcontrib-qthelp==1.0.3

	sphinx4_0: Sphinx~=4.0.0
	sphinx4_0: sphinxcontrib-applehelp==1.0.2
	sphinx4_0: sphinxcontrib-devhelp==1.0.2
	sphinx4_0: sphinxcontrib-htmlhelp==1.0.2
	sphinx4_0: sphinxcontrib-serializinghtml==1.1.5
	sphinx4_0: sphinxcontrib-qthelp==1.0.3

	sphinx4_x: Sphinx~=4.0
	sphinx4_x: sphinxcontrib-applehelp==1.0.2
	sphinx4_x: sphinxcontrib-devhelp==1.0.2
	sphinx4_x: sphinxcontrib-htmlhelp==2.0.0
	sphinx4_x: sphinxcontrib-serializinghtml==1.1.5
	sphinx4_x: sphinxcontrib-qthelp==1.0.3

	sphinx5_0: Sphinx~=5.0.0

	sphinx5_x: Sphinx~=5.0

	sphinx6_x: Sphinx~=6.0

	sphinx7_0: Sphinx~=7.0.0

	sphinx7_1: Sphinx~=7.1.0

	sphinx7_2: Sphinx~=7.2.0

	sphinx7_x: Sphinx~=7.0

	jinja3: Jinja2~=3.0.0

# As of this writing (November 27, 2022), there are issues with the latest
# version of pip for Python 3.6 (21.3.1). This causes race conditions with the
# cache, so we need to disable it.
install_command =
	py36: pip install --no-cache-dir {opts} {packages}
	!py36: pip install {opts} {packages}

usedevelop = True


# Update this if needing to test against beta versions.
#[testenv:py{38,39,310,311}-sphinxX_0]
#pip_pre = true