- Add Python 3.12 to test matrix.
- Pass Python
tarfile.extractall(filter="fully_trusted")
in addition to internal filtering, when available, to avoid Python 3.12+DeprecationWarning
(#87) - Improve umask handling. (#106)
- Add
transmute_stream(...)
to create.conda
from(TarFile, TarInfo)
. (#90) iterators, allowing more creative data sources than just.tar.bz2
inputs. - Add
create
module withTarFile
interface for creating.conda
archives, also used bytransmute
. (#90) - Pass
encoding="utf-8"
toTarFile
instead of the system default, avoiding rare potential issues with non-ASCII filenames. (#93)
- Use zip64 extensions when converting .tar.bz2 to .conda, if uncompressed size is close to the 2GB ZIP64_LIMIT. (#79)
- Respect umask when extracting files. #65; conda issue #12829.
- Update transmute to use SpooledTemporaryFile instead of streaming directly to zip (#57). This can reduce zstd memory usage during decompression.
transmute
returns Path to transmuted package instead ofNone
.