Commit 9b004ca
committed
configure.ac: require pytest ≥ 7.0.0; vendor pytest 7.0.1 for Python 3.6
Now that the minimum required Python version is 3.6 (commit e89caf1),
the pytest 6.1.x releases are no longer the lowest pytest line we need
to support [1]. The pytest 7.0.x releases are the most recent to support
Python 3.6, so bump the minimum required pytest version to 7.0.0 and
replace the in-tree pytest-6.1.2 vendor tree with pytest-7.0.1.
The pytest-7.0.1 tree was obtained with:
$ docker run --rm -v "$PWD/pytest-7.0.1":/pkg python:3.6 \
python3 -m pip install --no-compile \
--target=/pkg pytest==7.0.1
When `--enable-vendor-pytest` is used, `tests/utils/env.sh.in` now picks
`pytest-7.0.1` for Python 3.6 and keeps `pytest-7.4.3` for Python 3.7+.
Update the dependency lists accordingly:
`configure.ac`:
Bump the pytest version check from 6.1.0 to 7.0.0 and update the
Python error message to reflect the new 3.6 minimum.
`tests/utils/env.sh.in`:
Use `pytest-7.0.1` instead of `pytest-6.1.2` for Python 3.6.
`LICENSE` and `tests/utils/python/vendor/REUSE.toml`:
Replace all `pytest-6.1.2/*` paths with the corresponding
`pytest-7.0.1/*` ones, using the actual `.dist-info` versions in the
new tree (`attrs-22.2.0`, `importlib_metadata-4.8.3`,
`packaging-21.3`, `pluggy-1.0.0`, `pyparsing-3.1.4`, `tomli-1.2.3`,
`typing_extensions-4.1.1`, and `zipp-3.6.0`).
Drop the now-unused `toml`, `pathlib2`, and `six.py` annotations;
PyParsing is now a package rather than a single file; add `tomli`
and `typing_extensions.py` entries for the 7.0.1 tree.
`README.adoc`:
pytest ≥ 6.1.0 → pytest ≥ 7.0.0.
`CONTRIBUTING.adoc`:
Refer to `pytest-7.0.1` instead of `pytest-6.1.2` as the in-tree
pytest used with Python 3.6.
[1]: https://docs.pytest.org/en/stable/backwards-compatibility.html
Change-Id: I504f10c8a58f1b4f08bf2525e03e6fcac04c8e06
Signed-off-by: Philippe Proulx <[email protected]>1 parent d9bdb42 commit 9b004ca
320 files changed
Lines changed: 26193 additions & 19419 deletions
File tree
- tests/utils
- python/vendor
- pytest-6.1.2
- _pytest
- attrs-22.1.0.dist-info
- attr
- importlib_metadata-2.1.3.dist-info
- importlib_metadata
- packaging-20.9.dist-info
- packaging
- pathlib2
- pluggy-0.13.1.dist-info
- pluggy
- py-1.11.0.dist-info
- pytest-6.1.2.dist-info
- toml
- zipp-1.2.0.dist-info
- pytest-7.0.1
- _pytest
- _code
- _io
- assertion
- config
- mark
- attrs-22.2.0.dist-info
- attrs
- attr
- importlib_metadata-4.8.3.dist-info
- importlib_metadata
- iniconfig-1.1.1.dist-info
- iniconfig
- packaging-21.3.dist-info
- packaging
- pluggy-1.0.0.dist-info
- pluggy
- py-1.11.0.dist-info
- pyparsing-3.1.4.dist-info
- pyparsing
- diagram
- pytest-7.0.1.dist-info
- pytest
- py
- _code
- _io
- _log
- _path
- _process
- _vendored_packages
- apipkg-2.0.0.dist-info
- apipkg
- iniconfig-1.1.1.dist-info
- iniconfig
- tomli-1.2.3.dist-info
- tomli
- typing_extensions-4.1.1.dist-info
- zipp-3.6.0.dist-info
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
1297 | 1297 | | |
1298 | 1298 | | |
1299 | 1299 | | |
1300 | | - | |
| 1300 | + | |
1301 | 1301 | | |
1302 | 1302 | | |
1303 | 1303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
| |||
134 | 132 | | |
135 | 133 | | |
136 | 134 | | |
137 | | - | |
| 135 | + | |
138 | 136 | | |
139 | 137 | | |
140 | 138 | | |
| |||
150 | 148 | | |
151 | 149 | | |
152 | 150 | | |
153 | | - | |
| 151 | + | |
154 | 152 | | |
155 | 153 | | |
156 | 154 | | |
| |||
165 | 163 | | |
166 | 164 | | |
167 | 165 | | |
| 166 | + | |
168 | 167 | | |
169 | 168 | | |
170 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
601 | | - | |
| 601 | + | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
| 604 | + | |
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
614 | | - | |
615 | | - | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | | - | |
| 620 | + | |
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 34 | + | |
47 | 35 | | |
48 | 36 | | |
49 | 37 | | |
50 | 38 | | |
51 | 39 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 40 | + | |
59 | 41 | | |
60 | 42 | | |
61 | 43 | | |
| |||
67 | 49 | | |
68 | 50 | | |
69 | 51 | | |
70 | | - | |
| 52 | + | |
71 | 53 | | |
72 | 54 | | |
73 | 55 | | |
74 | 56 | | |
75 | 57 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 58 | + | |
83 | 59 | | |
84 | 60 | | |
85 | 61 | | |
86 | 62 | | |
87 | 63 | | |
88 | | - | |
| 64 | + | |
89 | 65 | | |
90 | 66 | | |
91 | 67 | | |
92 | 68 | | |
93 | 69 | | |
94 | | - | |
| 70 | + | |
95 | 71 | | |
96 | 72 | | |
97 | 73 | | |
Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 0 additions & 53 deletions
This file was deleted.
0 commit comments