This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: tar.xz support for sdist
Type: enhancement Stage: resolved
Components: Distutils Versions: Python 3.4
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Support xz compression in distutils
View: 16314
Assigned To: Nosy List: dstufft, eric.araujo, i01100101, ned.deily
Priority: normal Keywords:

Created on 2015-01-18 10:17 by i01100101, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
archive_util.py i01100101, 2015-01-18 10:17 modified version of distutils.archive_util
Messages (2)
msg234237 - (view) Author: (i01100101) Date: 2015-01-18 10:17
The Python standard library includes lzma and support for *tar.xz archives since Python 3.3 but the distutils' 'sdist' command cannot output source distributions as such tarball.
I suggest the changed version of distutils.archive_util module attached to this issue in order to tell distutils that tarfile now supports tar.xz
(The changes are to the defenition of 'ARCHIVE_FORMATS' and 'make_tarball'
msg234238 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2015-01-18 10:29
Thanks for the suggested patch.  Distutils support for xz compression is the subject of already open Issue16314.  Perhaps you can review and/or comment on the suggested patch there.
History
Date User Action Args
2022-04-11 14:58:12adminsetgithub: 67454
2015-01-18 10:29:22ned.deilysetstatus: open -> closed

superseder: Support xz compression in distutils

nosy: + ned.deily
messages: + msg234238
resolution: duplicate
stage: resolved
2015-01-18 10:17:04i01100101create