October 2024 Releases
ยท 2 min read
The October 2024 releases included updates to conda-package-handling and conda-package-streaming! ๐ All of these have been released to both main
and conda-forge
channels.
Changes in conda-package-handling 2.4.0โ
To update conda-package-handling to the latest version, run:
conda install -n base conda-package-handling=2.4.0
โจ What's New? โจโ
- Expose API keyword and CLI argument to control which component(s) of the
.conda
artifact is listed incph list
. - Allow
cph list
on remote.conda
artifact URLs.
๐ง What Got Fixed? ๐งโ
- Use
force_zip64=True
when directly creating.conda
files. Allows >2GB (compressed) size. - Replace
.conda
or.tar.bz2
extensions from end of string only instead ofstr.replace(...)
.
Otherโ
- Improved type annotations on an internal function.
Changes in conda-package-streaming 0.11.0โ
To update conda-package-streaming to the latest version, run:
conda install -n base conda-package-streaming=0.11.0
โจ What's New? โจโ
- 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
. - Improve
umask
handling. - Add
transmute_stream(...)
to create.conda
from(TarFile, TarInfo)
iterators, allowing more creative data sources than just.tar.bz2
inputs. - Add
create
module withTarFile
interface for creating.conda
archives, also used bytransmute
. - Pass
encoding="utf-8"
toTarFile
instead of the system default, avoiding rare potential issues with non-ASCII filenames.