Skip to content

Releases: conda/conda-lock

v2.5.7

26 Apr 17:11
0e63d0e
Compare
Choose a tag to compare

This is a bugfix release that fixes a few edge cases. The first issue involves corrupt channel URLs when updating with micromamba. For the second, conda-lock would fail to parse pip lines containing --hash.

What's Changed

Bugfix

Maintenance

New Contributors

Full Changelog: v2.5.6...v2.5.7

v2.5.6

13 Mar 21:38
ba0da39
Compare
Choose a tag to compare

What's Changed

This release fixes a bug where the content hash may not be updated correctly.

Also fixed is a spurious --file argument to the conda-lock install command suggested in the lockfile header.

Bugfix

  • Ensure that content hashes are updated for an existing lock file when re-locking by @jeffseif in #618
  • Update header cmdlines in generated lockfiles (#518) by @timsnyder in #616

Infrastructure

New Contributors

Full Changelog: v2.5.5...v2.5.6

v2.5.5

11 Feb 23:24
93135c1
Compare
Choose a tag to compare

What's Changed

This is a bugfix so that conda-lock can work in environments where setuptools is not preinstalled.

Bugfix

  • Add explicit setuptools dependency by @maresb in #608

Infrastructure

Full Changelog: v2.5.4...v2.5.5

v2.5.4

11 Feb 11:51
4bac435
Compare
Choose a tag to compare

What's Changed

⚠️ If you use private pip repositories, then check your lockfiles for leaked credentials and upgrade as soon as possible! ⚠️

This release fixes #594 which involves credentials leaking into lockfiles when using certain private pip repositories like AWS CodeArtifact. Specifically, some servers may echo the basic authentication credentials in their response. Conda-lock previously failed to sanitize these echoed credentials when writing the lockfile. This was identified and fixed by @wholtz in #594 and #600.

Bugfix

  • Remove credentials from response URLs by @wholtz in #600
  • Fix broken --pypi_to_conda_lookup_file option by @ianpye in #588

New feature

  • The PyPI mapping can now be specified as a local file (in addition to an http[s] URL) by @maresb in #588

Infrastructure

  • Save mock private pypi package to temp directory by @maresb in #601
  • Minor improvements to pytest configuration by @maresb in #602
  • Improve docs related to contribution by @maresb in #603
  • Catch CalledProcessErrors from both subprocess and Poetry by @maresb in #604
  • Add explanation and minor improvement to #581 by @tadeu in #586

New Contributors

Full Changelog: v2.5.3...v2.5.4

v2.5.3

05 Feb 15:08
431c09b
Compare
Choose a tag to compare

This release fixes #596 and now works with the recent ensureconda release which removed disttools and enabled Python 3.12 compatibility.

What's Changed

  • Increase minimum ensureconda version for py3.12 compatibility by @jfrost-mo in #597

New Contributors

Full Changelog: v2.5.2...v2.5.3

v2.5.2

18 Jan 20:34
068bd19
Compare
Choose a tag to compare

What's Changed

This is primarily a bugfix release.

It also improves the formatting of environment.yml-style lockfiles (those produced with --kind=env).

Bugfixes

  • Fix case when using multiple platforms but pip contains a single platform by @basnijholt in #564
  • Fix an issue when specifying full wheel URLs for a pypi package. by @romain-intel in #567
  • Make the Python resolver respect any __glibc constraint by @romain-intel in #566
  • Avoid I/O deadlock with conda by @tadeu in #581

Lockfile formatting enhancements

Maintenance / infrastructure

Docs

New Contributors

Full Changelog: v2.5.1...v2.6.0

v2.5.1

20 Nov 21:48
3d2bf35
Compare
Choose a tag to compare

What's Changed

This fixes a bug where virtual packages were being included in unified lockfiles. (They should have been filtered out.) This can lead to warnings and/or errors during installation as reported in #556.

Bugfix

Full Changelog: v2.5.0...v2.5.1

v2.5.0

20 Nov 12:46
6d1273c
Compare
Choose a tag to compare

What's Changed

Unified lockfiles (i.e. conda-lock.yml) are now generated with the packages listed in alphabetical order. (In earlier versions, packages were sorted in "topological order", meaning that if packages are installed in the given order then their dependencies will always be satisfied.) Alphabetical ordering should be more stable, making it easier for humans to read diffs between lockfiles.

The precise ordering of packages is as follows. Conda packages are always listed before pip packages. Then packages are sorted alphabetically by package name. If multiple platforms are being locked, then packages with the same name are ordered by platform name.

New features

Bugfix

  • Fix spurious conda-lock install warning and increase coverage of install command by @maresb in #547

Infrastructure

  • Fix vulnerable pyarrow version in test by @maresb in #553

Full Changelog: v2.4.2...v2.5.0

v2.4.2

27 Oct 12:57
f53dd00
Compare
Choose a tag to compare

This is a bugfix which should enable conda-lock to discover more PyPI wheels.

What's Changed

  • Make recent manylinux wheels findable by pypi_resolver by @lesteve in #541

New Contributors

Full Changelog: v2.4.1...v2.4.2

v2.4.1

21 Oct 17:35
3084f6c
Compare
Choose a tag to compare

Bugfix for lockfile type detection when using nonstandard lockfile filenames

What's Changed

Bugfix

Infrastructure

Full Changelog: v2.4.0...v2.4.1