Recent Releases of https://github.com/conda/conda-package-handling
https://github.com/conda/conda-package-handling - 2.4.0
What's Changed
2.4.0 (2024-10-08)
Enhancements
- Expose API and CLI for which components will be listed as part of
cph list. (#253) - Allow
cph liston remote.condaartifact URLs. (#252 via #254)
Bug fixes
- Use force_zip64=True when directly creating .conda files. Allows >2GB (compressed) size. (#248)
- Replace
.condaor.tar.bz2extensions from end of string only instead ofstr.replace(...)(#251)
Other
- Improve type annotations on an internal function (#257)
Contributors
- @conda-bot
- @dholth
- @jezdez
- @jaimergp
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-package-handling/compare/2.3.0...2.4.0
- Python
Published by dholth over 1 year ago
https://github.com/conda/conda-package-handling - 2.3.0
Enhancements
- Add
cph listto report artifact contents without prior extraction. (#236) - Added formal support for Python 3.10, 3.11, and 3.12. (#231)
Bug fixes
- Delay
os.getcwd()call to body ofCondaFormat_v2.create()whenout_folderis not passed. (#205)
Deprecations
- Removed formal support for Python 3.7. (#231)
Other
- Remove MANIFEST.in, used for Python sdists, which referenced non-existent files. Source distributions appear correct without MANIFEST.in. (#163)
- Add explicit
zstandarddependency. (#222)
Contributors
- @conda-bot
- @dholth
- @callek made their first contribution in https://github.com/conda/conda-package-handling/pull/231
- @jaimergp made their first contribution in https://github.com/conda/conda-package-handling/pull/2
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-package-handling/compare/2.2.0...2.3.0
- Python
Published by dholth about 2 years ago
https://github.com/conda/conda-package-handling - 2.2.0
2.2.0 (2023-08-01)
Bug fixes
- Respect umask when unpacking packages, by requiring
conda-package-streaming >= 0.9.0.
Docs
- Include README.md in pypi metadata. (#215)
Contributors
- @conda-bot
- @dbast
- @dholth
- @pre-commit-ci[bot]
- Python
Published by dholth almost 3 years ago
https://github.com/conda/conda-package-handling - 2.1.0
2.1.0 (2023-05-05)
Bug fixes
- Include decompressed size when creating
.condaarchives withCondaFormat_v2.create(), to reduce memory usage on decompression. (#171) Transmuted archives (converted from.tar.bz2) do not contain the decompressed size. - Include LICENSE, not just LICENSE.txt in info/ section (#172)
Contributors
- @conda-bot
- @dbast
- @dholth
- @pre-commit-ci[bot]
- Python
Published by dholth about 3 years ago
https://github.com/conda/conda-package-handling - 2.0.2
2.0.2 (2022-12-01)
Bug fixes
- Reduce memory usage when creating
.conda. Allocate only one zstd comperssor when creating.conda. Lower default compression level to 19 from 22. #168
Contributors
- @dholth
- Python
Published by dholth over 3 years ago
https://github.com/conda/conda-package-handling - 2.0.1
2.0.1 (2022-11-21)
Bug fixes
- Require conda-package-streaming 0.7.0 for Windows c:\ vs C:\ check, pypy support
Contributors
- @dholth
- Python
Published by dholth over 3 years ago
https://github.com/conda/conda-package-handling - 2.0.0
2.0.0 (2022-11-17)
Enhancements
- Based on conda-package-streaming instead of libarchive.
- Requires the
python-zstandard(zstandard) library. - Threadsafe
extract()function. - More efficient
.condahandling. - Remove progress bars.
Deprecations
- Remove broken
verifysubcommand. - Remove support for
binsort(was supposed to help withtar.bz2compression). (Use.condainstead.)
Docs
- Add sphinx documentation.
Other
- Reformat entire codebase with
black,isort. (#132)
Contributors
- @conda-bot
- @dholth
- @jezdez
- @kenodegard
- @mariusvniekerk
- @dkomisar
- Python
Published by dholth over 3 years ago
https://github.com/conda/conda-package-handling - 1.9.0
1.9.0 (2022-09-12)
Enhancements
- Support setting the zstd compression level on the cli. (#114)
Bug fixes
- Include tested fix for "
info/sorts first in.tar.bz2" feature, useful for streaming.tar.bz2. (#102) - Fix extracting
.condagiven as relative path. (#116) - Gracefully handle missing subcommands. (#105)
Contributors
- @conda-bot
- @jezdez
- @dholth
- @kenodegard made their first contribution in (#112)
- @mariusvniekerk made their first contribution in (#114)
Full Changelog: https://github.com/conda/conda-package-handling/compare/1.8.1...1.9.0
- Python
Published by dholth almost 4 years ago
https://github.com/conda/conda-package-handling - 1.8.1
Bug fixes:
- Don't drop empty directories that happen to be prefixes of something else (#99)
Contributors:
- @tobijk
- @conda-bot
- @chenghlee
- Python
Published by jezdez over 4 years ago
https://github.com/conda/conda-package-handling - 1.8.0
Enhancements:
- Compute package hashes in threads. (#83)
Bug fixes:
- Fix running from a read-only working directory (#44)
- Fix symlinks to directories being incorrectly placed in the
infotarball when transmuting.tar.bz2- to.conda-format packages (#84) - No longer generate emtpy metadata.json in v2 packages (#88)
- Fix for TypeError in tarball.py. (#86)
Deprecations:
- Remove Python 2 support.
Other:
Added project board, issue staleness, thread locking and label automation using GitHub action workflows to improve maintenance of GitHub project. More information can be found in the infra repo: https://github.com/conda/infra
Removed unused continuous integration platform config files.
Contributors:
- @dholth made their first contribution in https://github.com/conda/conda-package-handling/pull/83
- @conda-bot made their first contribution in https://github.com/conda/conda-package-handling/pull/87
- @chenghlee made their first contribution in https://github.com/conda/conda-package-handling/pull/90
- @analog-cbarber made their first contribution in https://github.com/conda/conda-package-handling/pull/89
- @chrisburr made their first contribution in https://github.com/conda/conda-package-handling/pull/91
- @vz-x made their first contribution in https://github.com/conda/conda-package-handling/pull/86
- @jezdez made their first contribution in https://github.com/conda/conda-package-handling/pull/92
Full Changelog: https://github.com/conda/conda-package-handling/compare/1.7.3...1.8.0
- Python
Published by jezdez over 4 years ago
https://github.com/conda/conda-package-handling - 1.7.3
Enhancements:
- Python tar extraction now used as a fallback if libarchive fails
Bug fixes:
- Fix binsort's mangling of symlinks
- Fix #71, larger directories fail to extract using libarchive
- When testing that exceptions are raised or archives containing abs paths, first check that such a "broken" archive was created during test setup... otherwise skip the test.
- api.create now raises an error correctly if archive creation failed or extension is not supported.
- Travis CI issue now resolved, mock added as dependency for conda test environments and system dependencies
- Fixed bug where extract parser cli failed due to not having
out_folderattribute.
Contributors:
- @mingwandroid
- @leej3
- @beckermr
- @seemethere
- Python
Published by dbast about 5 years ago
https://github.com/conda/conda-package-handling - 1.7.2
2020-10-16 1.7.2:
Enhancements:
- add --force to transmute
Bug fixes:
- Do not report symlinks as missing files
- Fixes for --process and --out-folder #68
- --out-folder: Normalise, expand user-ify and ensure it ends with os.sep
Contributors:
- @mingwandroid
- @nehaljwani
- Python
Published by mingwandroid over 5 years ago
https://github.com/conda/conda-package-handling - 1.6.0
Enhancements:
- add a "prefix" keyword argument to the api.extract function. When combined with destdir, the prefix is the base directory, and the destdir is the folder name. dest_dir alone as an abspath is both the base directory and the folder name.
Bug fixes:
- provide a non-ProcessPoolExecutor path when number of processes is 1
- open files to be added to archives in binary mode. On Windows, the implicit default was text mode, which was corrupting newline data and putting in null characters.
- extraction prefix defaults to the folder containing the specified archive. This is a behavior change from 1.3.x, which extracted into the CWD by default.
Contributors:
- @msarahan
- @jjhelmus
- Python
Published by msarahan almost 7 years ago
https://github.com/conda/conda-package-handling - 1.5.0
Contributors:
- @msarahan
- @jjhelmus
- Python
Published by msarahan almost 7 years ago
https://github.com/conda/conda-package-handling - 1.4.1
Enhancements:
- several small error fixes from bad copypasta
Contributors:
- @msarahan
- Python
Published by msarahan almost 7 years ago
https://github.com/conda/conda-package-handling - 1.4.0
Bug fixes:
- provide fallback to built-in tarfile if libarchive fails to import. Won't support new .conda format (obviously)
- tmpdir created in output folder (defaults to cwd, but not always cwd)
Contributors:
- @msarahan
- Python
Published by msarahan almost 7 years ago
https://github.com/conda/conda-package-handling - 1.3.11
Bug fixes:
- fix BadZipFile exception handling on py27
Contributors:
- @msarahan
- Python
Published by msarahan almost 7 years ago
https://github.com/conda/conda-package-handling - 1.3.10
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.3.9
Bug fixes:
- put temporary files in CWD/.cph_tmp(random) instead of default temp dir. Hope that this fixes the permission problems seen on appveyor and azure.
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.3.8
Bug fixes:
- Write output files to output path directly, rather than any temporary. Hope that this fixes permission errors on appveyor/azure
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.3.7
Bug fixes:
- Don't print message for every skipped file that already exists. Don't even look at files that match the target conversion pattern.
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.3.6
Contributors:
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.3.5
Bug fixes:
- fix recursion issue with TemporaryDirectory
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.3.4
Bug fixes:
- fix setup.cfg path issue with versioneer
- try copying temporary artifact to final location instead of moving it, in hopes of avoiding permission errors
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.3.3
Bug fixes:
- add .gitattributes file to fix versioneer not working
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.3.2
Bug fixes:
- port rm_rf functionality from conda, to better handle permissions errors being observed on Azure and Appveyor windows hosts (but not on local machines)
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.3.1
Bug fixes:
- try to wrap tempdir cleanup so that it never exits violently. Add warning message.
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.3.0
Enhancements:
- add a cph-specific exception, so that downstream consumers of cph don't have to handle libarchive exceptions
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.2.0
Enhancements:
- add getdefaultextracted_folder api function that returns the folder location where a file would be extracted to by default (no dest folder specified)
- add --processes flag to cph t, to limit number of processes spawned. Defaults to number of CPUs if not set.
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.1.5
Bug fixes:
- generate symlink tests rather than including file layout, to avoid issues on win
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.1.4
Enhancements:
- moved condapackagehandling into src (src layout)
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.1.3
Bug fixes:
- improve tests of symlink and other file contents
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.1.2
Bug fixes:
- fix creation dropping symlinks and things that are not otherwise "files"
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.1.1
Bug fixes:
- fix path join bug, where an absolute path for out_fn was causing file writing problems
Contributors:
- @msarahan
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.1.0
Bug fixes:
- simplify .conda package info, to work with conda/conda#8639 and conda/conda-build#3500
- add missing six dep
- fix reference in cli.py to incorrect API function (how was this working?)
- Wrap calls to shutil.move in try, because of windows permission errors observed on Appveyor
Contributors:
- @msarahan
- @nehaljwani
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-package-handling - 1.0.4
Enhancements:
- new api-only function,
get_pkg_detailsthat returns package size and checksum info in dictionary form - add version info output to the CLI
Contributors:
- @msarahan
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-package-handling - 1.0.3
Bug fixes:
- fix support for python 2.7
Contributors:
- @msarahan
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-package-handling - 1.0.2
Contributors:
- @msarahan
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-package-handling - 1.0.1
Contributors:
- Python
Published by msarahan over 7 years ago