Replace version tables with RST csv-table

This commit is contained in:
Hugo van Kemenade 2022-07-15 10:50:48 +03:00
parent 6f4ff4edc4
commit 3f32b79303
3 changed files with 21 additions and 28 deletions

View File

@ -15,35 +15,15 @@ Python Support
Pillow supports these Python versions.
+----------------------+-----+-----+-----+-----+-----+-----+-----+-----+
| Python |3.10 | 3.9 | 3.8 | 3.7 | 3.6 | 3.5 | 3.4 | 2.7 |
+======================+=====+=====+=====+=====+=====+=====+=====+=====+
| Pillow >= 9.0 | Yes | Yes | Yes | Yes | | | | |
+----------------------+-----+-----+-----+-----+-----+-----+-----+-----+
| Pillow 8.3.2 - 8.4 | Yes | Yes | Yes | Yes | Yes | | | |
+----------------------+-----+-----+-----+-----+-----+-----+-----+-----+
| Pillow 8.0 - 8.3.1 | | Yes | Yes | Yes | Yes | | | |
+----------------------+-----+-----+-----+-----+-----+-----+-----+-----+
| Pillow 7.0 - 7.2 | | | Yes | Yes | Yes | Yes | | |
+----------------------+-----+-----+-----+-----+-----+-----+-----+-----+
| Pillow 6.2.1 - 6.2.2 | | | Yes | Yes | Yes | Yes | | Yes |
+----------------------+-----+-----+-----+-----+-----+-----+-----+-----+
| Pillow 6.0 - 6.2.0 | | | | Yes | Yes | Yes | | Yes |
+----------------------+-----+-----+-----+-----+-----+-----+-----+-----+
| Pillow 5.2 - 5.4 | | | | Yes | Yes | Yes | Yes | Yes |
+----------------------+-----+-----+-----+-----+-----+-----+-----+-----+
.. csv-table:: Newer versions
:file: newer-versions.csv
:header-rows: 1
:widths: auto
+------------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| Python | 3.6 | 3.5 | 3.4 | 3.3 | 3.2 | 2.7 | 2.6 | 2.5 | 2.4 |
+==================+=====+=====+=====+=====+=====+=====+=====+=====+=====+
| Pillow 5.0 - 5.1 | Yes | Yes | Yes | | | Yes | | | |
+------------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| Pillow 4 | Yes | Yes | Yes | Yes | | Yes | | | |
+------------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| Pillow 2 - 3 | | Yes | Yes | Yes | Yes | Yes | Yes | | |
+------------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| Pillow < 2 | | | | | | Yes | Yes | Yes | Yes |
+------------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
.. csv-table:: Older versions
:file: older-versions.csv
:header-rows: 1
:widths: auto
Basic Installation
------------------

8
docs/newer-versions.csv Normal file
View File

@ -0,0 +1,8 @@
Python,3.10,3.9,3.8,3.7,3.6,3.5,3.4,2.7
Pillow >= 9.0,Yes,Yes,Yes,Yes,,,,
Pillow 8.3.2 - 8.4,Yes,Yes,Yes,Yes,Yes,,,
Pillow 8.0 - 8.3.1,,Yes,Yes,Yes,Yes,,,
Pillow 7.0 - 7.2,,,Yes,Yes,Yes,Yes,,
Pillow 6.2.1 - 6.2.2,,,Yes,Yes,Yes,Yes,,Yes
Pillow 6.0 - 6.2.0,,,,Yes,Yes,Yes,,Yes
Pillow 5.2 - 5.4,,,,Yes,Yes,Yes,Yes,Yes
1 Python 3.10 3.9 3.8 3.7 3.6 3.5 3.4 2.7
2 Pillow >= 9.0 Yes Yes Yes Yes
3 Pillow 8.3.2 - 8.4 Yes Yes Yes Yes Yes
4 Pillow 8.0 - 8.3.1 Yes Yes Yes Yes
5 Pillow 7.0 - 7.2 Yes Yes Yes Yes
6 Pillow 6.2.1 - 6.2.2 Yes Yes Yes Yes Yes
7 Pillow 6.0 - 6.2.0 Yes Yes Yes Yes
8 Pillow 5.2 - 5.4 Yes Yes Yes Yes Yes

5
docs/older-versions.csv Normal file
View File

@ -0,0 +1,5 @@
Python,3.6,3.5,3.4,3.3,3.2,2.7,2.6,2.5,2.4
Pillow 5.0 - 5.1,Yes,Yes,Yes,,,Yes,,,
Pillow 4,Yes,Yes,Yes,Yes,,Yes,,,
Pillow 2 - 3,,Yes,Yes,Yes,Yes,Yes,Yes,,
Pillow < 2,,,,,,Yes,Yes,Yes,Yes
1 Python 3.6 3.5 3.4 3.3 3.2 2.7 2.6 2.5 2.4
2 Pillow 5.0 - 5.1 Yes Yes Yes Yes
3 Pillow 4 Yes Yes Yes Yes Yes
4 Pillow 2 - 3 Yes Yes Yes Yes Yes Yes
5 Pillow < 2 Yes Yes Yes Yes