File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,31 @@ Rather than returning a ``SystemError``, passing the incorrect types of coordina
1818a path will now raise a more specific ``ValueError ``, with the message "incorrect
1919coordinate type".
2020
21+ Replace requirements.txt with extras
22+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23+
24+ Rather than installing all dependencies for docs and tests via ``requirements.txt ``,
25+ ``extras_require `` is used instead. This installs only those needed and at the same
26+ time as installing Pillow.
27+
28+ For example:
29+
30+ .. code-block :: bash
31+
32+ # Install with dependencies for tests:
33+ python3 -m pip install .[tests]
34+
35+ # Or for building docs:
36+ python3 -m pip install .[docs]
37+
38+ # Or for all:
39+ python3 -m pip install .[docs,tests]
40+
41+ Therefore ``requirements.txt `` has been removed along with the ``make install-req ``
42+ command for installing its contents.
43+
2144Deprecations
22- ^^^^^^^^^^^^
45+ ============
2346
2447Constants
2548~~~~~~~~~
@@ -87,7 +110,7 @@ Deprecated Use instead
87110===================================================== ============================================================
88111
89112ImageShow.Viewer.show_file file argument
90- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
91114
92115The ``file `` argument in :py:meth: `~PIL.ImageShow.Viewer.show_file() ` has been
93116deprecated and will be removed in Pillow 10.0.0 (2023-07-01). It has been replaced by
You can’t perform that action at this time.
0 commit comments