Commit Graph

1112 Commits

Author SHA1 Message Date
Julien Jerphanion 939ed2f038
fix: Give precedence to repodata when constructing `repodata_record` files (#3901)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2025-04-24 09:38:55 +02:00
Sandrine Pataut 88695684da
feat: add sha256 flag to list command (#3885) 2025-04-23 11:40:00 +02:00
Klaim (Joël Lamotte) 4c50d7b205
Use Simdjson ondemand parser instead of DOM parser (#3878) 2025-04-18 09:14:55 +02:00
Antoine Prouvost 5f4759e271
Fix VersionSpec globs (#3889) 2025-04-18 08:32:17 +02:00
Antoine Prouvost 10036e83e7
Ready Libsolv for C++20 (#3899)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2025-04-17 17:19:31 +02:00
Hind-M 5cef48350a
Fix install using remote yaml files (#3875) 2025-04-08 10:47:42 +02:00
Julien Jerphanion f4c7a3d559
ci: Add minimal code coverage workflow (#3876)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2025-04-08 10:44:20 +02:00
Johan Mabille 60ad28aa11 Release 2.1.0 2025-04-02 13:43:31 +02:00
Johan Mabille 9e76befe6e Release 2.1.0 2025-04-01 16:09:45 +02:00
Burt Holzman b7ea5cf4c0
fix: Prohibit conda envs path and conda envs dirs (#3854) 2025-03-31 12:54:50 +02:00
Jindřich Makovička 3627ae0177
fix: ProgressBar member initialization order (#3872) 2025-03-27 19:11:51 +01:00
Hind-M c90b4aab41
Fix authenticated downloading (#3868) 2025-03-25 13:32:24 +01:00
Hind-M 7c972d2d47
Windows menuinst (#3846) 2025-03-25 06:20:47 +01:00
jaimergp b3a48ce365
Support SHA256 hashes in @EXPLICIT files (#3866) 2025-03-21 17:14:57 +01:00
Johan Mabille d1ca95e356 Release 2.0.8 2025-03-19 12:24:43 +01:00
Orion Poplawski bd591115a1
Avoid possible out of range index in MatchSpec::parse() (#3849) 2025-03-17 15:37:04 +01:00
Julien Jerphanion 26785a6b50
fix: Modify cache directory permissions in two steps (#3844)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Klaim <Klaim@users.noreply.github.com>
2025-03-07 14:31:48 +01:00
Hind Montassif 1e66fabb8f release libmamba 2.0.7, micromamba 2.0.7, libmambapy 2.0.7 2025-03-07 14:13:31 +01:00
Burt Holzman 902fd1990f
fix: Adapt root prefix' precedence for CONDA_ENVS_PATH (#3852) 2025-03-07 10:57:11 +01:00
Sandrine Pataut b6b1143b1b
feat: add envs flag to info command (#3837) 2025-03-05 16:11:55 +01:00
Sandrine Pataut b117f3acae
feat: add revisions flag to list command (#3800) 2025-03-05 16:11:22 +01:00
Julien Jerphanion c6ff043d71
release libmamba 2.0.7.rc1, micromamba 2.0.7.rc1, libmambapy 2.0.7.rc1 2025-03-05 15:00:30 +01:00
Julien Jerphanion e5004266cb
fix: Remove invalid cached tarballs (#3839)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Klaim <Klaim@users.noreply.github.com>
2025-03-05 12:20:21 +01:00
Burt Holzman d9af139d11
fix: Create directories from `envs_dirs` if they do not exist (#3796)
Signed-off-by: Burt Holzman <burt@fnal.gov>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2025-02-28 12:56:06 +01:00
Julien Jerphanion 241fe11c34
release libmamba 2.0.7.rc0, micromamba 2.0.7.rc0, libmambapy 2.0.7.rc0 2025-02-24 15:45:46 +01:00
Julien Jerphanion cdcec32230
fix: Add `x86_64` archspec support for Windows (#3803)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
2025-02-24 12:25:39 +01:00
Ayaz Salikhov 6227622587
maint: Add markdownlint pre-commit hook (#3756) 2025-02-21 19:40:59 +01:00
Hind-M 8824be1105
Use correct `url` in metadata and mirrors (#3816) 2025-02-21 10:48:45 +01:00
Julien Jerphanion 148a25c44d
maint: Consistently name `Database` objects (#3831)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2025-02-20 14:01:45 +01:00
Julien Jerphanion e2fcd6066f
maint: Remove unused structure in update path (#3833)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2025-02-20 14:01:20 +01:00
Sandrine Pataut 2bea5a283b
feat: add base flag to info command (#3779)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Klaim <Klaim@users.noreply.github.com>
Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
Co-authored-by: Hind Montassif <hind.montassif@gmail.com>
2025-02-19 12:37:42 +01:00
k-collie 746360cb15
fix: Explain unsolvable updates (#3829) 2025-02-19 09:17:29 +01:00
Burt Holzman 80019ba423
fix: Adapt root prefix' precedence for `envs_dirs` (#3813) 2025-02-18 17:47:35 +01:00
Hind-M 211d79db77
Fix windows paths and add tests (#3787) 2025-02-18 13:14:55 +01:00
Julien Jerphanion 402b2d474b
fix: Adaptive level for compatible Version formatting (#3818)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2025-02-13 15:41:25 +01:00
Sandrine Pataut b5e197fc14
feat: add export flag to list command (#3780) 2025-02-04 20:25:10 +02:00
Julien Jerphanion 09f87f1031
release libmamba 2.0.6, micromamba 2.0.6, libmambapy 2.0.6 2025-02-04 15:28:34 +01:00
Julien Jerphanion 451eaa7ade
release libmamba 2.0.6.rc3, micromamba 2.0.6.rc3, libmambapy 2.0.6.rc3 2025-02-04 11:32:30 +01:00
Julien Jerphanion eba1f3e2da
fix: Use `libmamba`'s installation instead of `mamba`'s as a fallback (#3792)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2025-02-04 10:21:39 +01:00
Sandrine Pataut 9b6be1ce60
feat: add canonical flag to list command (#3777) 2025-01-31 15:35:52 +01:00
Julien Jerphanion daebc1be49
release libmamba 2.0.6.rc2, micromamba 2.0.6.rc2, libmambapy 2.0.6.rc2 2025-01-31 11:30:04 +01:00
Julien Jerphanion f7d1a29774
maint: Factor handling of `GetModuleFileNameW` (#3785)
Co-authored-by: Klaim <Klaim@users.noreply.github.com>
2025-01-31 10:15:55 +01:00
Julien Jerphanion 195112794a
fix: Adapt root prefix determination (#3782)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Klaim <Klaim@users.noreply.github.com>
2025-01-30 09:50:04 +01:00
Hind-M 6a286490ee
[Windows] Fix test failure (#3770) 2025-01-28 18:07:48 +01:00
Sandrine Pataut 7b6516d2fa
feat: add md5 flag to list command (#3773) 2025-01-28 15:19:11 +01:00
Julien Jerphanion 71e4545022
release libmamba 2.0.6.rc1, micromamba 2.0.6.rc1, libmambapy 2.0.6.rc1 2025-01-28 08:47:10 +01:00
Julien Jerphanion 57a2c55826
fix: Support globs in `MatchSpec` build strings (#3735)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>
2025-01-27 13:59:00 +00:00
Ben Mares c1c9f5fc90
fix: Don't encode URLs for `mamba env export --explicit` (#3745)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2025-01-27 14:35:12 +01:00
Sandrine Pataut 5a76102995
maint: list refactoring (#3768) 2025-01-27 13:50:26 +02:00
Julien Jerphanion 7fa748f53e
fix: Use CA certificates from `conda-forge::ca-certificates` (#3765)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2025-01-24 10:44:29 +01:00
Hind-M 617be25ef1
Handle `git+https` pip urls (#3764) 2025-01-23 15:42:27 +01:00
Sandrine Pataut 9c856fd4a5
feat: add explicit flag to list command (#3760) 2025-01-21 17:35:52 +01:00
Hind-M 4a69e30d29
Fix dependency and `subdir` in repoquery `whoneeds` (#3743) 2025-01-20 17:05:12 +01:00
Julien Jerphanion 503f0aa9b0
fix: Use `LOG_DEBUG` for CUDA version detection (#3757)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2025-01-17 15:42:18 +01:00
Ayaz Salikhov c59969ab05
maint: Add missing thread and undefined sanitizers CMake options (#3753) 2025-01-16 14:05:35 +01:00
Ayaz Salikhov 9087a976be
maint: Don't exclude Changelog files from typos-conda (#3748) 2025-01-16 09:36:48 +01:00
Ayaz Salikhov 95eb248ee8
maint: Update pre-commit hooks (#3746) 2025-01-15 18:38:36 +01:00
Ayaz Salikhov 8591bbe4fd
maint: Correctly exclude json files in clang-format (#3749) 2025-01-15 18:38:03 +01:00
Sandrine Pataut 630b62fa83
feat: add reverse flag to list command (#3705) 2025-01-15 11:46:24 +01:00
Julien Jerphanion 0023a3b13a release libmamba 2.0.6.rc0, micromamba 2.0.6.rc0, libmambapy 2.0.6.rc0 2025-01-14 11:14:17 +01:00
Ayaz Salikhov d0c7458839
maint: Add prettier pre-commit hook (#3663) 2025-01-13 09:09:07 +01:00
Sandrine Pataut 30546a3957
add more condarc paths (#3695) 2025-01-10 11:45:59 +01:00
Julien Jerphanion f3c7c7797e
fix: Add a hint on cache corruption (#3736)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Klaim <Klaim@users.noreply.github.com>
2025-01-09 18:01:58 +01:00
Julien Jerphanion 0abd7d54e7
fix: Correctly populate lists of `MatchSpec` in `MTransaction`'s history (#3724)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2025-01-06 17:25:17 +01:00
Julien Jerphanion bb132c9bff
fix: Honour `CONDA_ENVS_PATH` again (#3725)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2025-01-06 17:23:42 +01:00
Julien Jerphanion 4f97739aed
fix: Improve CUDA version detection (#3700)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Klaim <Klaim@users.noreply.github.com>
2025-01-06 15:14:06 +01:00
Hind-M 9dd3999b8d
Fix install using explicit url (#3710) 2025-01-06 12:35:55 +01:00
Hind-M 3dcbf76a04
Fix display of env activation message and co (#3715) 2025-01-06 09:56:21 +01:00
Julien Jerphanion c9c45806e2
fix: Adapt warnings shown when several channels are used (#3720)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2025-01-02 13:49:00 +01:00
Hind-M 9c61b5f71c
Always add `root_prefix/envs` in `envs_dirs` (#3692) 2024-12-18 12:25:10 +01:00
Hind-M 7f3f481b47
Add `no-pip` flag to `list` command (#3696) 2024-12-18 10:57:32 +01:00
Johan Mabille 4cbb3f7de0 release libmamba 2.0.5, libmambapy 2.0.5, micromamba 2.0.5 2024-12-12 17:22:41 +01:00
Hind-M a25cde7914
Fix channel in `PackageInfo` (#3681) 2024-12-12 17:12:05 +01:00
Julien Jerphanion a37aa2fdfd
fix: Clarify shell init dry runs outputs (#3674)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-12-10 17:23:57 +01:00
Julien Jerphanion 8c80ae90b1
test: Add two tests on MatchSpec's version comparison (#3679)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-12-10 16:09:44 +01:00
dann frazier bb38a698cf
build: Remove another uninitialized variable in curl handler (#3678)
Signed-off-by: dann frazier <dann.frazier@chainguard.dev>
2024-12-10 11:01:45 +01:00
Johan Mabille 0b43dbcce2 release libmamba 2.0.5.rc0, libmambapy 2.0.5.rc0, micromamba 2.0.5.rc0 2024-12-09 20:50:18 +01:00
Ayaz Salikhov 76d06a7f5a
maint: Cleanup CMake files and delete not compiled files (#3667) 2024-12-09 20:27:12 +01:00
Lucio Queiroz ddc3d40b35
fix: Wrap `MAMBA_EXE` around double quotes in run shell script (#3673) 2024-12-09 17:23:43 +01:00
Julien Jerphanion 53ba5c0326
fix: Activated environment name (#3670)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-12-09 12:44:50 +01:00
Johan Mabille 4c5c1d7430
Fixed uninitialized variable in curl handler (#3669) 2024-12-09 10:58:56 +01:00
Julien Jerphanion 178593351b
fix: Skip empty lines in environment spec files (#3662)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Klaim <Klaim@users.noreply.github.com>
2024-12-09 08:55:39 +01:00
Ayaz Salikhov c3a2c1c66e
maint: Use Catch2 instead of doctest (#3618) 2024-12-06 08:57:33 +01:00
Klaim (Joël Lamotte) 633d8d005a
`micromamba/mamba --version` displays pre-release version names + establishes pre-release versions name scheme (#3639) 2024-12-06 08:56:26 +01:00
Hind-M 6141540b94
Handle `.tar.gz` in pkg url (#3640) 2024-12-06 08:55:03 +01:00
Julien Jerphanion 8ea3103d3c
fix: Effectively apply dry-run on installation from PyPI (#3644)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-12-05 15:01:47 +01:00
Julien Jerphanion e67178ce8a
fix: Handle environment with empty or absent `dependencies` (#3657)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-12-05 15:00:15 +01:00
Hind-M a85eb16149
Allow repoquery on non env prefix (#3649) 2024-12-04 10:55:01 +01:00
Hind Montassif c809abcba6 release libmamba 2.0.4, libmambapy 2.0.4, micromamba 2.0.4 2024-11-22 16:43:30 +01:00
Julien Jerphanion b163ce9027
fix: Return JSON on environment creation dry run (#3627)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-11-22 15:23:27 +01:00
Henry Schreiner 020b1163c6
fix: support homebrew/linuxbrew (AppleClang, GCC 11) (#3613)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2024-11-21 16:39:07 +01:00
Ayaz Salikhov 0a8128d23e
maint: Enable `-Werror` compiler flag for GCC, Clang and AppleClang (#3611) 2024-11-21 13:50:09 +01:00
Hind Montassif feafaf0e96 release libmamba 2.0.4alpha3, libmambapy 2.0.4alpha3, micromamba 2.0.4alpha3 2024-11-21 13:02:28 +01:00
Hind-M ebe0d4f89c
Fix build trailing `*` display (#3619) 2024-11-21 11:38:40 +01:00
Klaim (Joël Lamotte) d4de99bfef
fixed: incorrect erasing of env vars (#3622) 2024-11-20 18:09:27 +01:00
Klaim (Joël Lamotte) e1e0f8c88d
Prevent pip "rich" ouput (#3607)
Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
Co-authored-by: Hind-M <70631848+Hind-M@users.noreply.github.com>
2024-11-20 11:27:55 +01:00
Ayaz Salikhov ad9b2d6b88
maint: Update clang-format to v19 (#3600) 2024-11-18 17:29:18 +01:00
Ayaz Salikhov 6654e15633
maint: Address compiler warnings (#3605)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2024-11-18 13:21:35 +01:00
Hind Montassif 333abd0eea release libmamba 2.0.4alpha2, libmambapy 2.0.4alpha2, micromamba 2.0.4alpha2 2024-11-14 18:00:59 +01:00
Klaim (Joël Lamotte) 20d51bb0c5
More details in error message when failing to parse json from a python command's output (#3604) 2024-11-14 16:06:02 +01:00