Skip to content

Commit dbd1dc2

Browse files
miss-islingtonCarreaubrettcannonmerwok
authored
[3.10] bpo-46044: Annotate deprecated sdists formats (GH-30043) (#30154)
(cherry picked from commit ecdc0cc) Co-authored-by: Matthias Bussonnier <[email protected]> Co-authored-by: Brett Cannon <[email protected]> Co-authored-by: Éric <[email protected]>
1 parent 251d2ea commit dbd1dc2

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

Doc/distutils/sourcedist.rst

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,25 @@ option, for example::
2323

2424
to create a gzipped tarball and a zip file. The available formats are:
2525

26-
+-----------+-------------------------+---------+
27-
| Format | Description | Notes |
28-
+===========+=========================+=========+
29-
| ``zip`` | zip file (:file:`.zip`) | (1),(3) |
30-
+-----------+-------------------------+---------+
31-
| ``gztar`` | gzip'ed tar file | \(2) |
32-
| | (:file:`.tar.gz`) | |
33-
+-----------+-------------------------+---------+
34-
| ``bztar`` | bzip2'ed tar file | |
35-
| | (:file:`.tar.bz2`) | |
36-
+-----------+-------------------------+---------+
37-
| ``xztar`` | xz'ed tar file | |
38-
| | (:file:`.tar.xz`) | |
39-
+-----------+-------------------------+---------+
40-
| ``ztar`` | compressed tar file | \(4) |
41-
| | (:file:`.tar.Z`) | |
42-
+-----------+-------------------------+---------+
43-
| ``tar`` | tar file (:file:`.tar`) | |
44-
+-----------+-------------------------+---------+
26+
+-----------+-------------------------+-------------+
27+
| Format | Description | Notes |
28+
+===========+=========================+=============+
29+
| ``zip`` | zip file (:file:`.zip`) | (1),(3) |
30+
+-----------+-------------------------+-------------+
31+
| ``gztar`` | gzip'ed tar file | \(2) |
32+
| | (:file:`.tar.gz`) | |
33+
+-----------+-------------------------+-------------+
34+
| ``bztar`` | bzip2'ed tar file | \(5) |
35+
| | (:file:`.tar.bz2`) | |
36+
+-----------+-------------------------+-------------+
37+
| ``xztar`` | xz'ed tar file | \(5) |
38+
| | (:file:`.tar.xz`) | |
39+
+-----------+-------------------------+-------------+
40+
| ``ztar`` | compressed tar file | (4),(5) |
41+
| | (:file:`.tar.Z`) | |
42+
+-----------+-------------------------+-------------+
43+
| ``tar`` | tar file (:file:`.tar`) | \(5) |
44+
+-----------+-------------------------+-------------+
4545

4646
.. versionchanged:: 3.5
4747
Added support for the ``xztar`` format.
@@ -61,6 +61,9 @@ Notes:
6161
(4)
6262
requires the :program:`compress` program. Notice that this format is now
6363
pending for deprecation and will be removed in the future versions of Python.
64+
(5)
65+
deprecated by `PEP 527 <https://www.python.org/dev/peps/pep-0527/>`_;
66+
`PyPI <https://pypi.org>`_ only accepts ``.zip`` and ``.tar.gz`` files.
6467

6568
When using any ``tar`` format (``gztar``, ``bztar``, ``xztar``, ``ztar`` or
6669
``tar``), under Unix you can specify the ``owner`` and ``group`` names

0 commit comments

Comments
 (0)