Debian Codegraph @

CHANGELOG.md

raw
1 [//]: # (current developments)
2
3 ## 2.6.0 (2026-09-01)
4
5 ### Enhancements
6
7 * Use Python 3.14's `compression.zstd`, or `backports.zstd` for older version of
8 Python, instead of `zstandard / python-zstandard`. Require Python >= 3.10,
9 `conda-package-streaming` >= 0.13.0. The API now accepts `compression_level`,
10 `compression_threads` arguments in favor of the deprecated `compressor`
11 object. (#305)
12 * Reuse a single `ZipFile` across both components of a `.conda` archive during
13 extraction, avoiding a redundant central-directory parse per package.
14 Small but consistent speedup on every install. Require `conda-package-streaming >=0.13.0` (#318)
15
16 ### Bug fixes
17
18 * Preserve custom exception types and state when errors cross process boundaries by making them pickle-safe. (#348)
19
20 ### Contributors
21
22 * @conda-bot
23 * @dholth
24 * @jezdez
25 * @dependabot[bot]
26 * @pre-commit-ci[bot]
27
28
29
30 ## 2.5.0 (2026-06-03)
31
32 ### Enhancements
33
34 * Add Python 3.14 support. (#328)
35
36 ### Bug fixes
37
38 * Add `requests` to dependencies; convert to pyproject.toml instead of setup.py. (#280)
39 * Fix pytest 9 compatibility by using `=` syntax for `addopts` values in `pyproject.toml`. (#312)
40 * Route all ``info/`` paths into the ``info-*`` inner tarball when creating or
41 transmuting ``.conda`` packages, per CEP 35. (#316 via #322)
42 * Require `conda-package-streaming >=0.12.0` for Python 3.14 compatibility. (#328)
43
44 ### Deprecations
45
46 * Drop Python 3.8 and 3.9 support. (#328)
47
48 ### Other
49
50 * Switch from black/isort/flake8 to ruff. (#301)
51 * Improve test coverage. (#270)
52 * Remove the `issue_comment` trigger from the update workflow. (#320)
53 * Various dependency updates via dependabot and pre-commit.ci.
54 * Infrastructure updates via conda-bot.
55
56 ### Contributors
57
58 * @conda-bot
59 * @dependabot[bot]
60 * @dholth
61 * @jaimergp
62 * @jezdez
63 * @kenodegard
64 * @pre-commit-ci[bot]
65 * @ryanskeith
66
67
68 ## 2.4.0 (2024-10-08)
69
70 ### Enhancements
71
72 * Expose API and CLI for which components will be listed as part of `cph list`. (#253)
73 * Allow `cph list` on remote `.conda` artifact URLs. (#252 via #254)
74
75 ### Bug fixes
76
77 * Use force_zip64=True when directly creating .conda files. Allows >2GB
78 (compressed) size. (#248)
79 * Replace `.conda` or `.tar.bz2` extensions from end of string only instead of
80 `str.replace(...)` (#251)
81
82 ### Other
83
84 * Improve type annotations on an internal function (#257)
85
86 ### Contributors
87
88 * @conda-bot
89 * @dholth
90 * @jezdez
91 * @jaimergp
92 * @pre-commit-ci[bot]
93
94
95
96 ## 2.3.0 (2024-06-05)
97
98 ### Enhancements
99
100 * Add `cph list` to report artifact contents without prior extraction. (#236)
101 * Added formal support for Python 3.10, 3.11, and 3.12. (#231)
102
103 ### Bug fixes
104
105 * Delay ``os.getcwd()`` call to body of ``CondaFormat_v2.create()`` when
106 ``out_folder`` is not passed. (#205)
107
108 ### Deprecations
109
110 * Removed formal support for Python 3.7. (#231)
111
112 ### Other
113
114 * Remove MANIFEST.in, used for Python sdists, which referenced
115 non-existent files. Source distributions appear correct without
116 MANIFEST.in. (#163)
117 * Add explicit `zstandard` dependency. ([#222](https://github.com/conda/conda-package-handling/issues/222))
118
119 ### Contributors
120
121 * @conda-bot
122 * @dholth
123 * @callek made their first contribution in https://github.com/conda/conda-package-handling/pull/231
124 * @jaimergp made their first contribution in https://github.com/conda/conda-package-handling/pull/235
125 * @pre-commit-ci[bot]
126
127
128 ## 2.2.0 (2023-07-28)
129
130 ### Bug fixes
131
132 * Respect umask when unpacking packages, by requiring `conda-package-streaming >= 0.9.0`.
133
134 ### Docs
135
136 * Include README.md in pypi metadata. (#215)
137
138 ### Contributors
139
140 * @conda-bot
141 * @dbast
142 * @dholth
143 * @pre-commit-ci[bot]
144
145
146
147 ## 2.1.0 (2023-05-04)
148
149 ### Bug fixes
150
151 * Include decompressed size when creating `.conda` archives with
152 `CondaFormat_v2.create()`, to reduce memory usage on decompression. (#171)
153 Transmuted archives (converted from `.tar.bz2`) do not contain the
154 decompressed size.
155 * Include LICENSE, not just LICENSE.txt in info/ section (#172)
156
157 ### Contributors
158
159 * @conda-bot
160 * @dbast
161 * @dholth
162 * @pre-commit-ci[bot]
163
164
165
166 ## 2.0.2 (2022-12-01)
167
168 ### Bug fixes
169
170 * Reduce memory usage when creating `.conda`. Allocate only one zstd comperssor
171 when creating `.conda`. Lower default compression level to 19 from 22.
172 (#168)
173
174 ### Contributors
175
176 * @dholth
177
178
179
180 ## 2.0.1 (2022-11-18)
181
182 ### Bug fixes
183
184 * Require conda-package-streaming 0.7.0 for Windows c:\ vs C:\ check, pypy
185 support
186
187 ### Contributors
188
189 * @dholth
190
191
192
193 ## 2.0.0 (2022-11-17)
194
195 ### Enhancements
196
197 * Remove progress bars.
198 * Based on conda-package-streaming instead of libarchive.
199 * Requires the `python-zstandard` (`zstandard`) library.
200 * Threadsafe `extract()` function.
201 * More efficient `.conda` handling.
202
203 ### Deprecations
204
205 * Remove broken `verify` subcommand.
206 * Remove support for `binsort` (was supposed to help with `tar.bz2`
207 compression). (Use `.conda` instead.)
208
209 ### Docs
210
211 * Add sphinx documentation.
212
213 ### Other
214
215 * Reformat entire codebase with `black`, `isort`. (#132)
216
217 ### Contributors
218
219 * @conda-bot
220 * @dholth
221 * @jezdez
222 * @kenodegard
223 * @mariusvniekerk
224
225
226
227 ## 1.9.0 (2022-09-06)
228
229 ### Enhancements
230
231 * Support setting the zstd compression level on the cli. (#114)
232
233 ### Bug fixes
234
235 * Include tested fix for "``info/`` sorts first in ``.tar.bz2``" feature, useful
236 for streaming ``.tar.bz2``. (#102)
237 * Fix extracting ``.conda`` given as relative path. (#116)
238 * Gracefully handle missing subcommands. (#105)
239
240 ### Contributors
241
242 * @conda-bot
243 * @jezdez
244 * @dholth
245 * @kenodegard made their first contribution in #112
246 * @mariusvniekerk made their first contribution in #114
247
248 ## 1.8.1 (2022-04-01)
249
250 ### Bug fixes
251
252 * Don't drop empty directories that happen to be prefixes of something else (#99)
253
254 ### Contributors
255
256 * @tobijk
257 * @conda-bot
258 * @chenghlee
259
260 ## 1.8.0 (2022-03-12)
261
262 ### Enhancements
263
264 * Compute package hashes in threads. (#83)
265
266 ### Bug fixes
267
268 * Fix running from a read-only working directory (#44)
269 * Fix symlinks to directories being incorrectly placed in the ``info`` tarball
270 when transmuting ``.tar.bz2``- to ``.conda``-format packages (#84)
271 * No longer generate emtpy metadata.json in v2 packages (#88)
272 * Fix for TypeError in tarball.py. (#86)
273
274 ### Deprecations
275
276 * Remove Python 2 support.
277
278 ### Other
279
280 * Added project board, issue staleness, thread locking and label automation
281 using GitHub action workflows to improve maintenance of GitHub project.
282
283 More information can be found in the infra repo: https://github.com/conda/infra
284
285 * Removed unused continuous integration platform config files.
286
287 ### Contributors
288
289 * @dholth
290 * @conda-bot
291 * @chenghlee
292 * @analog-cbarber
293 * @chrisburr
294 * @vz-x
295 * @jezdez
296
297
298 ## 1.7.3 (2021-04-12)
299
300 ### Enhancements
301
302 * Python tar extraction now used as a fallback if libarchive fails
303
304 ### Bug fixes
305
306 * Fix binsort's mangling of symlinks
307 * Fix #71, larger directories fail to extract using libarchive
308 * 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.
309 * api.create now raises an error correctly if archive creation failed or extension is not supported.
310 * Travis CI issue now resolved, mock added as dependency for conda test environments and system dependencies
311 * Fixed bug where extract parser cli failed due to not having ``out_folder`` attribute.
312
313 ### Contributors
314
315 * @mingwandroid
316 * @leej3
317 * @beckermr
318 * @seemethere
319
320
321
322 ## 1.7.2 (2020-10-16)
323
324 ### Enhancements
325
326 * add --force to transmute
327
328 ### Bug fixes
329
330 * Do not report symlinks as missing files
331 * Fixes for --process and --out-folder #68
332 * --out-folder: Normalise, expand user-ify and ensure it ends with os.sep
333
334 ### Contributors
335
336 * @mingwandroid
337 * @nehaljwani
338
339 ## 1.6.0 (2019-09-20)
340
341 ### Enhancements
342
343 * add a "prefix" keyword argument to the api.extract function. When combined with dest_dir, the prefix is the base directory, and the dest_dir is the folder name. dest_dir alone as an abspath is both the base directory and the folder name.
344
345 ### Bug fixes
346
347 * provide a non-ProcessPoolExecutor path when number of processes is 1
348 * 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.
349 * 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.
350
351 ### Contributors
352
353 * @msarahan
354 * @jjhelmus
355
356
357 ## 1.5.0 (2019-08-31)
358
359 ### Contributors
360
361 * @msarahan
362 * @jjhelmus
363
364
365 ## 1.4.1 (2019-08-04)
366
367 ### Enhancements
368
369 * several small error fixes from bad copypasta
370
371 ### Contributors
372
373 * @msarahan
374
375
376 ## 1.4.0 (2019-08-02)
377
378 ### Bug fixes
379
380 * provide fallback to built-in tarfile if libarchive fails to import. Won't support new .conda format (obviously)
381 * tmpdir created in output folder (defaults to cwd, but not always cwd)
382
383 ### Contributors
384
385 * @msarahan
386
387
388 ## 1.3.11 (2019-07-11)
389
390 ### Bug fixes
391
392 * fix BadZipFile exception handling on py27
393
394 ### Contributors
395
396 * @msarahan
397
398
399 ## 1.3.10 (2019-06-24)
400
401 ### Contributors
402
403 * @msarahan
404
405
406 ## 1.3.9 (2019-06-14)
407
408 ### Bug fixes
409
410 * 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.
411
412 ### Contributors
413
414 * @msarahan
415
416
417 ## 1.3.8 (2019-06-13)
418
419 ### Bug fixes
420
421 * Write output files to output path directly, rather than any temporary. Hope that this fixes permission errors on appveyor/azure
422
423 ### Contributors
424
425 * @msarahan
426
427
428 ## 1.3.7 (2019-06-12)
429
430 ### Bug fixes
431
432 * Don't print message for every skipped file that already exists. Don't even look at files that match the target conversion pattern.
433
434 ### Contributors
435
436 * @msarahan
437
438
439 ## 1.3.6 (2019-06-12)
440
441 ### Contributors
442
443
444
445 ## 1.3.5 (2019-06-12)
446
447 ### Bug fixes
448
449 * fix recursion issue with TemporaryDirectory
450
451 ### Contributors
452
453 * @msarahan
454
455
456 ## 1.3.4 (2019-06-11)
457
458 ### Bug fixes
459
460 * fix setup.cfg path issue with versioneer
461 * try copying temporary artifact to final location instead of moving it, in hopes of avoiding permission errors
462
463 ### Contributors
464
465 * @msarahan
466
467
468 ## 1.3.3 (2019-06-11)
469
470 ### Bug fixes
471
472 * add .gitattributes file to fix versioneer not working
473
474 ### Contributors
475
476 * @msarahan
477
478
479 ## 1.3.2 (2019-06-11)
480
481 ### Bug fixes
482
483 * port rm_rf functionality from conda, to better handle permissions errors being observed on Azure and Appveyor windows hosts (but not on local machines)
484
485 ### Contributors
486
487 * @msarahan
488
489
490 ## 1.3.1 (2019-06-11)
491
492 ### Bug fixes
493
494 * try to wrap tempdir cleanup so that it never exits violently. Add warning message.
495
496 ### Contributors
497
498 * @msarahan
499
500
501 ## 1.3.0 (2019-06-10)
502
503 ### Enhancements
504
505 * add a cph-specific exception, so that downstream consumers of cph don't have to handle libarchive exceptions
506
507 ### Contributors
508
509 * @msarahan
510
511
512 ## 1.2.0 (2019-06-08)
513
514 ### Enhancements
515
516 * add get_default_extracted_folder api function that returns the folder location where a file would be extracted to by default (no dest folder specified)
517 * add --processes flag to cph t, to limit number of processes spawned. Defaults to number of CPUs if not set.
518
519 ### Contributors
520
521 * @msarahan
522
523
524 ## 1.1.5 (2019-05-21)
525
526 ### Bug fixes
527
528 * generate symlink tests rather than including file layout, to avoid issues on win
529
530 ### Contributors
531
532 * @msarahan
533
534
535 ## 1.1.4 (2019-05-21)
536
537 ### Enhancements
538
539 * moved conda_package_handling into src (src layout)
540
541 ### Contributors
542
543 * @msarahan
544
545
546 ## 1.1.3 (2019-05-20)
547
548 ### Bug fixes
549
550 * improve tests of symlink and other file contents
551
552 ### Contributors
553
554 * @msarahan
555
556
557 ## 1.1.2 (2019-05-20)
558
559 ### Bug fixes
560
561 * fix creation dropping symlinks and things that are not otherwise "files"
562
563 ### Contributors
564
565 * @msarahan
566
567
568 ## 1.1.1 (2019-05-14)
569
570 ### Bug fixes
571
572 * fix path join bug, where an absolute path for out_fn was causing file writing problems
573
574 ### Contributors
575
576 * @msarahan
577
578
579 ## 1.1.0 (2019-05-10)
580
581 ### Bug fixes
582
583 * simplify .conda package info, to work with conda/conda#8639 and conda/conda-build#3500
584 * add missing six dep
585 * fix reference in cli.py to incorrect API function (how was this working?)
586 * Wrap calls to shutil.move in try, because of windows permission errors observed on Appveyor
587
588 ### Contributors
589
590 * @msarahan
591 * @nehaljwani
592
593
594 ## 1.0.4 (2019-02-13)
595
596 ### Enhancements
597
598 * new api-only function, ``get_pkg_details`` that returns package size and checksum info in dictionary form
599 * add version info output to the CLI
600
601 ### Contributors
602
603 * @msarahan
604
605
606 ## 1.0.3 (2019-02-04)
607
608 ### Bug fixes
609
610 * fix support for python 2.7
611
612 ### Contributors
613
614 * @msarahan
615
616
617 ## 1.0.2 (2019-02-04)
618
619 ### Contributors
620
621 * @msarahan
622
623
624 ## 1.0.1 (2019-02-04)
625
626 ### Contributors