Releases: conda/conda-libmamba-solver
Releases · conda/conda-libmamba-solver
25.4.0
Enhancements
- Use
conda.reporters.get_spinner()
to support conda reporter plugins. (#641)
Bug fixes
- Always percent-encode spaces in
file://
channel URLs. (#640) - Fix a bug where auto-selection of GPU variants of
pytorch
andtorchvision
didn't work as expected. (#646 via #647) - Avoid
libmamba
MatchSpec
parsing errors by skipping nameless channel information in passed specs. (#645 via #648)
Contributors
25.3.0
Bug fixes
- Fix issue with content trust post-solve hooks that prevented signatures from being verified when the solved package records didn't include subdir information in their channel metadata. (#616 via #617)
- Protect against
conda.base.context.context.restore_free_channel
deprecation by usinggetattr
. (#629) - Remove all packages with
--no-deps
, not just the last one to be analyzed. (#632)
Docs
- Mention conda ecosystem's adaptation of
libsolv
. (#624)
Contributors
25.1.1
25.1.0
24.11.1
24.11.0
24.11.0rc
Enhancements
- Require
libmambapy
v2. This is a big refactor inlibmamba
internals, which also allowed us to remove a lot of code inconda-libmamba-solver
. (#457)
Deprecations
CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED
has no effect anymore. Channels coming from installed packages are no longer added to the channel list. (#411 via #457)- Removed
conda_libmamba_solver.state.BaseIndexHelper
. The base class is nowconda_libmamba_solver.index.IndexHelper
. (#457) - Verbose logging in
libsolv
has a big overhead inlibmamba
v2, so we have disabled it by default (even if the user adds-vvv
flags to the CLI). To opt-in, please setCONDA_LIBMAMBA_SOLVER_DEBUG_LIBSOLV
to a truthy value. (#457) - Python 3.8 is no longer supported. The minimum version is now 3.9. (#457)
Contributors
24.9.0
Bug fixes
- Use
Solver
instance configuration to initialize thelibmamba
context without implicitly relying on theconda
context settings. (#525) - Fix conda-build compatibility regression where arch-specific outputs can't be found in the test phase if a
noarch
output was built first. (#531)
Docs
- Add installation workarounds FAQ with conda-standalone. (#505 via #511)
- Update user guide to reflect conda-libmamba-solver being the default solver in conda. (#516 via #517)
- Include
mamba-org/mamba
as a required cloned repository for setting up a dev environment. (#528)
Contributors
- @jaimergp
- @jjhelmus made their first contribution in #528
- @justmarkham made their first contribution in #510
24.7.0
Bug fixes
- Allow wildcards in package names for
conda remove
(e.g.conda remove "python-*"
). (#434 via #435) - Avoid duplicate channel listing when using channel-pinned specs like
channel::package
. (#449) - Fix a performance regression where
.solv
repodata cache files were not being loaded when available. (#481 via #482) - Do not ignore virtual packages as input specs. (#480 via #485)
- Pin
libmambapy <2
to defend against upcoming API changes. (#492)
Docs
- Document development workflows with devcontainers. (#451)
Other
- Add DevContainer configurations for local development workflows. (#451)
Contributors
- @jaimergp
- @tl-hbk made their first contribution in #449
- @zklaus made their first contribution in #476
Full Changelog: 24.1.0...24.7.0
24.1.0
Enhancements
- Prioritize explicitly requested specs with stricter constraints over implicit ones or name-only specs (e.g. a CLI-specified
name=version=build
will be sent to the solver before CLI-specifiedname=version
andname
). This happens to fix #391. (#381) - Load
pkgs_dirs
records when called in offline mode. (#396 via #423)
Bug fixes
- Fix a regression introduced in #378, where certain solves would hard crash due to the given specs input order. (#391 via #381)
- Properly propagate customized local channels (conda-build workspaces). Requires
libmamba 1.5.6
or above. (#398 via #401) - Do not raise an error if an unsupported
MatchSpec
field can be safely dropped instead. Currently ignoringurl
,md5
andsha256
. (#418 via #421, #427 via #429). - Do not crash if a stateless repodata cache is accessed with
--offline
or--use-index-cache
. (#396 via #423).
Other
- Remove old
SolverOutputState.specs
preparation logic fromstate.py
, which was no longer in use since 23.9.0. Instead, enumerate all known specs in a certain order (see Enhancements for details). This list is then consumed bySolver._specs_to_tasks()
as usual. (#381)