Skip to content

Commit db7f17a

Browse files
authored
Merge branch 'main' into fix-etc/profile.d
2 parents 4d681c5 + 3d958ca commit db7f17a

File tree

167 files changed

+14224
-1941
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+14224
-1941
lines changed

.github/workflows/linters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
PRE_COMMIT_USE_MICROMAMBA: 1
2424
steps:
2525
- uses: actions/checkout@v4
26-
- name: Install pre-commit
26+
- name: Install pre-commit and identify
2727
uses: mamba-org/setup-micromamba@v2
2828
with:
2929
environment-name: linters
30-
create-args: pre-commit
30+
create-args: pre-commit identify
3131
- name: Add micromamba to GITHUB_PATH
3232
run: echo "${HOME}/micromamba-bin" >> $GITHUB_PATH
3333
- name: Run all linters

.github/workflows/static_build.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ jobs:
4545
run: |
4646
cd micromamba-feedstock/
4747
sed -i '' '/conda_forge_output_validation/d' conda-forge.yml
48+
- name: Replaces python 3.9 with 3.13
49+
if: ${{ matrix.platform == 'linux' }}
50+
run: |
51+
cd micromamba-feedstock/recipe/
52+
sed -i 's| - micromamba{{ bin_ext }} create -n test --override-channels -c conda-forge --yes python=3\.9| - micromamba{{ bin_ext }} create -n test --override-channels -c conda-forge --yes python=3.13|' meta.yaml
53+
- name: Uses libcurl 8.14
54+
if: ${{ matrix.platform == 'linux' }}
55+
run: |
56+
cd micromamba-feedstock/recipe/
57+
sed -i 's| - libcurl >=8\.4\.0[[:space:]]*# \[unix\]| - libcurl >=8.4,<8.15 #[unix]|' meta.yaml
58+
sed -i 's| - libcurl-static >=8\.4\.0[[:space:]]*# \[unix\]| - libcurl-static >=8.4,<8.15 #[unix]|' meta.yaml
4859
- name: Checkout mamba branch
4960
uses: actions/checkout@v4
5061
with:
@@ -115,14 +126,14 @@ jobs:
115126
if: failure()
116127
run: tar -czf ${{ github.workspace }}/micromamba-conda-build-failed-${{ matrix.platform }}-${{ matrix.arch }}.tar.gz $MAMBA_ROOT_PREFIX/envs/mambabuild/conda-bld/micromamba_*
117128
- name: Upload conda build artifacts
118-
uses: actions/upload-artifact@v4
129+
uses: actions/upload-artifact@v5
119130
if: failure()
120131
with:
121132
name: micromamba-conda-build-failed-${{ matrix.platform }}-${{ matrix.arch }}
122133
path: ${{ github.workspace }}/micromamba-conda-build-failed-${{ matrix.platform }}-${{ matrix.arch }}.tar.gz
123134
retention-days: 7
124135
- name: Upload micromamba
125-
uses: actions/upload-artifact@v4
136+
uses: actions/upload-artifact@v5
126137
with:
127138
name: micromamba-${{ matrix.platform }}-${{ matrix.arch }}
128139
path: ${{ github.workspace }}/artifacts/micromamba
@@ -199,13 +210,13 @@ jobs:
199210
${{ github.workspace }}/build/micromamba/micromamba.exe list -n testenv -r ./test_prefix --log-level 1
200211
201212
- name: Upload build artifacts
202-
uses: actions/upload-artifact@v4
213+
uses: actions/upload-artifact@v5
203214
if: failure()
204215
with:
205216
name: micromamba-build-failed-win-64
206217
path: ${{ github.workspace }}/micromamba-build-failed-win-64.tar.gz
207218
retention-days: 7
208-
- uses: actions/upload-artifact@v4
219+
- uses: actions/upload-artifact@v5
209220
with:
210221
name: micromamba-win-64
211222
path: ${{ github.workspace }}/build/micromamba/micromamba.exe

.github/workflows/unix_impl.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ jobs:
8282
run: |
8383
unset CONDARC # Interferes with tests
8484
./build/libmamba/tests/test_libmamba
85+
- name: Run libmamba logging system tests
86+
shell: bash -elo pipefail {0}
87+
run: |
88+
unset CONDARC # Interferes with tests
89+
./build/libmamba/tests/test_libmamba_logging
8590
8691
libmambapy_tests_unix:
8792
name: libmambapy tests

.github/workflows/windows_impl.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ jobs:
8484
shell: bash -elo pipefail {0}
8585
run: |
8686
./build/libmamba/ext/solv-cpp/tests/test_solv_cpp
87+
- name: Run libmamba logging system tests
88+
shell: bash -elo pipefail {0}
89+
run: |
90+
unset CONDARC # Interferes with tests
91+
cd ./build/libmamba && ./tests/test_libmamba_logging
8792
- name: Run libmamba tests
8893
shell: bash -elo pipefail {0}
8994
run: |

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
exclude: libmamba/tests/data/repodata_json_cache*
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v5.0.0
4+
rev: v6.0.0
55
hooks:
66
- id: trailing-whitespace
77
- id: end-of-file-fixer
@@ -10,7 +10,7 @@ repos:
1010
language_version: python3
1111
# Autoformat: YAML, JSON, Markdown, etc.
1212
- repo: https://github.com/rbubley/mirrors-prettier
13-
rev: v3.4.2
13+
rev: v3.6.2
1414
hooks:
1515
- id: prettier
1616
- repo: https://github.com/pre-commit/pygrep-hooks
@@ -20,29 +20,29 @@ repos:
2020
- id: rst-directive-colons
2121
- id: rst-inline-touching-normal
2222
- repo: https://github.com/DavidAnson/markdownlint-cli2
23-
rev: v0.17.1
23+
rev: v0.18.1
2424
hooks:
2525
- id: markdownlint-cli2
2626
args: [--fix]
2727
- repo: https://github.com/asottile/pyupgrade
28-
rev: v3.19.1
28+
rev: v3.21.0
2929
hooks:
3030
- id: pyupgrade
3131
args: [--py39-plus]
3232
- repo: https://github.com/astral-sh/ruff-pre-commit
33-
rev: v0.9.1
33+
rev: v0.14.0
3434
hooks:
35-
- id: ruff
35+
- id: ruff-check
3636
args: [--fix]
3737
exclude_types: [pyi]
3838
- id: ruff-format
3939
- repo: https://github.com/asottile/blacken-docs
40-
rev: 1.19.1
40+
rev: 1.20.0
4141
hooks:
4242
- id: blacken-docs
4343
additional_dependencies: [black==24.10.0]
4444
- repo: https://github.com/pre-commit/mirrors-clang-format
45-
rev: v19.1.7
45+
rev: v21.1.2
4646
hooks:
4747
- id: clang-format
4848
args: [--style=file]
@@ -52,7 +52,7 @@ repos:
5252
hooks:
5353
- id: cmake-format
5454
- repo: https://github.com/Quantco/pre-commit-mirrors-typos
55-
rev: 1.29.4
55+
rev: 1.33.1
5656
hooks:
5757
- id: typos-conda
5858
# In case of ambiguity (multiple possible corrections), `typos` will just report it to the user and move on without applying/writing any changes.

CHANGELOG.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,74 @@
1+
## 2025.11.18
2+
3+
Release: 2.4.0.rc0 (libmamba, mamba, micromamba, libmambapy)
4+
5+
Enhancements:
6+
7+
- [libmamba, micromamba] Support for `mambajs`'s environment lockfile format by @Klaim in <https://github.com/mamba-org/mamba/pull/4085>
8+
- [all] Logging impl separation by @Klaim in <https://github.com/mamba-org/mamba/pull/4016>
9+
10+
Bug fixes:
11+
12+
- [micromamba] fix: Update URL of lock files by @jjerphan in <https://github.com/mamba-org/mamba/pull/4097>
13+
- [micromamba] Fix Windows tests by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4086>
14+
15+
Maintenance:
16+
17+
- [all] build(deps): bump actions/upload-artifact from 4 to 5 by @app/dependabot in <https://github.com/mamba-org/mamba/pull/4088>
18+
- [libmamba] Removed deprecated libcurl backend by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4083>
19+
20+
## 2025.10.17
21+
22+
Release: 2.3.3 (libmamba, mamba, micromamba, libmambapy)
23+
24+
Bug fixes:
25+
26+
- [libmamba] fix: pass `$argv` for fish wrapper by @sghng in <https://github.com/mamba-org/mamba/pull/4073>
27+
- [libmamba] Fix empty depends/constrains when installing explicit spec files by @benmoss in <https://github.com/mamba-org/mamba/pull/4071>
28+
- [libmamba] fix: proxy both micromamba and mamba with fish function by @sghng in <https://github.com/mamba-org/mamba/pull/4065>
29+
- [libmamba] Fix nodiscard errors by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4058>
30+
- [libmambapy] Fix deprecated license key by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4053>
31+
32+
CI fixes and doc:
33+
34+
- [all] Added lower bounds on spdlog and fmt by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4080>
35+
- [all] Static Windows build fix by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4074>
36+
37+
Maintenance:
38+
39+
- [all] maint: Auto-update `pre-commit` setup by @jjerphan in <https://github.com/mamba-org/mamba/pull/4079>
40+
- [micromamba] Fixed test_repodata_record_patch by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4067>
41+
- [all] build(deps): bump actions/github-script from 7 to 8 by @app/dependabot in <https://github.com/mamba-org/mamba/pull/4063>
42+
- [libmambapy] Use fmt::format by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4061>
43+
- [libmambapy] Move to Pybind 3.0 by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4059>
44+
- [libmambapy, libmamba] libmambapy: Switch build backend to `scikit-build-core` by @LecrisUT in <https://github.com/mamba-org/mamba/pull/3802>
45+
46+
## 2025.10.14
47+
48+
Release: 2.3.3.alpha1 (libmamba, mamba, micromamba, libmambapy)
49+
50+
Bug fixes:
51+
52+
- [libmamba] fix: pass `$argv` for fish wrapper by @sghng in <https://github.com/mamba-org/mamba/pull/4073>
53+
- [libmamba] Fix empty depends/constrains when installing explicit spec files by @benmoss in <https://github.com/mamba-org/mamba/pull/4071>
54+
- [libmamba] fix: proxy both micromamba and mamba with fish function by @sghng in <https://github.com/mamba-org/mamba/pull/4065>
55+
- [libmamba] Fix nodiscard errors by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4058>
56+
- [libmambapy] Fix deprecated license key by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4053>
57+
58+
CI fixes and doc:
59+
60+
- [all] Added lower bounds on spdlog and fmt by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4080>
61+
- [all] Static Windows build fix by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4074>
62+
63+
Maintenance:
64+
65+
- [all] maint: Auto-update `pre-commit` setup by @jjerphan in <https://github.com/mamba-org/mamba/pull/4079>
66+
- [micromamba] Fixed test_repodata_record_patch by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4067>
67+
- [all] build(deps): bump actions/github-script from 7 to 8 by @app/dependabot in <https://github.com/mamba-org/mamba/pull/4063>
68+
- [libmambapy] Use fmt::format by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4061>
69+
- [libmambapy] Move to Pybind 3.0 by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4059>
70+
- [libmamba, libmambapy] libmambapy: Switch build backend to `scikit-build-core` by @LecrisUT in <https://github.com/mamba-org/mamba/pull/3802>
71+
172
## 2025.09.04
273

374
Release: 2.3.3.alpha0 (libmamba, mamba, micromamba, libmambapy)

_typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ pn = "pn"
55
Ome = "Ome"
66
haa = "haa"
77
"fo" = "fo"
8+
"ba" = "ba"

dev/environment-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
- make # not always present
1515
# libmamba dependencies
1616
- cpp-expected
17-
- fmt >=11.1.0
17+
- fmt >=12.0.0
1818
# As of libarchive 3.8, builds of libarchive for different licenses
1919
# are available. We use the LGPL version here.
2020
- libarchive>=3.8 lgpl_*
@@ -24,7 +24,7 @@ dependencies:
2424
- nlohmann_json
2525
- reproc-cpp >=14.2.4.post0
2626
- simdjson >=3.3.0
27-
- spdlog
27+
- spdlog >=1.16.0
2828
- yaml-cpp >=0.8.0
2929
- sel(win): winreg
3030
# libmamba test dependencies

libmamba/CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
1+
## libmamba 2.4.0.rc0 (November 18, 2025)
2+
3+
Enhancements:
4+
5+
- Support for `mambajs`'s environment lockfile format by @Klaim in <https://github.com/mamba-org/mamba/pull/4085>
6+
- Logging impl separation by @Klaim in <https://github.com/mamba-org/mamba/pull/4016>
7+
8+
Maintenance:
9+
10+
- build(deps): bump actions/upload-artifact from 4 to 5 by @app/dependabot in <https://github.com/mamba-org/mamba/pull/4088>
11+
- Removed deprecated libcurl backend by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4083>
12+
13+
## libmamba 2.3.3 (October 17, 2025)
14+
15+
Bug fixes:
16+
17+
- fix: pass `$argv` for fish wrapper by @sghng in <https://github.com/mamba-org/mamba/pull/4073>
18+
- Fix empty depends/constrains when installing explicit spec files by @benmoss in <https://github.com/mamba-org/mamba/pull/4071>
19+
- fix: proxy both micromamba and mamba with fish function by @sghng in <https://github.com/mamba-org/mamba/pull/4065>
20+
- Fix nodiscard errors by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4058>
21+
22+
CI fixes and doc:
23+
24+
- Added lower bounds on spdlog and fmt by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4080>
25+
- Static Windows build fix by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4074>
26+
27+
Maintenance:
28+
29+
- maint: Auto-update `pre-commit` setup by @jjerphan in <https://github.com/mamba-org/mamba/pull/4079>
30+
- build(deps): bump actions/github-script from 7 to 8 by @app/dependabot in <https://github.com/mamba-org/mamba/pull/4063>
31+
- libmambapy: Switch build backend to `scikit-build-core` by @LecrisUT in <https://github.com/mamba-org/mamba/pull/3802>
32+
33+
## libmamba 2.3.3.alpha1 (October 14, 2025)
34+
35+
Bug fixes:
36+
37+
- fix: pass `$argv` for fish wrapper by @sghng in <https://github.com/mamba-org/mamba/pull/4073>
38+
- Fix empty depends/constrains when installing explicit spec files by @benmoss in <https://github.com/mamba-org/mamba/pull/4071>
39+
- fix: proxy both micromamba and mamba with fish function by @sghng in <https://github.com/mamba-org/mamba/pull/4065>
40+
- Fix nodiscard errors by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4058>
41+
42+
CI fixes and doc:
43+
44+
- Added lower bounds on spdlog and fmt by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4080>
45+
- Static Windows build fix by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4074>
46+
47+
Maintenance:
48+
49+
- maint: Auto-update `pre-commit` setup by @jjerphan in <https://github.com/mamba-org/mamba/pull/4079>
50+
- build(deps): bump actions/github-script from 7 to 8 by @app/dependabot in <https://github.com/mamba-org/mamba/pull/4063>
51+
- libmambapy: Switch build backend to `scikit-build-core` by @LecrisUT in <https://github.com/mamba-org/mamba/pull/3802>
52+
153
## libmamba 2.3.3.alpha0 (September 04, 2025)
254

355
Bug fixes:

libmamba/CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,18 @@ set(
222222
${LIBMAMBA_SOURCE_DIR}/core/context.cpp
223223
${LIBMAMBA_SOURCE_DIR}/core/download_progress_bar.cpp
224224
${LIBMAMBA_SOURCE_DIR}/core/env_lockfile.cpp
225+
${LIBMAMBA_SOURCE_DIR}/core/env_lockfile_impl.hpp
226+
${LIBMAMBA_SOURCE_DIR}/core/env_lockfile_conda.cpp
227+
${LIBMAMBA_SOURCE_DIR}/core/env_lockfile_mambajs.cpp
225228
${LIBMAMBA_SOURCE_DIR}/core/environments_manager.cpp
226229
${LIBMAMBA_SOURCE_DIR}/core/error_handling.cpp
227230
${LIBMAMBA_SOURCE_DIR}/core/execution.cpp
228231
${LIBMAMBA_SOURCE_DIR}/core/fsutil.cpp
229232
${LIBMAMBA_SOURCE_DIR}/core/history.cpp
230233
${LIBMAMBA_SOURCE_DIR}/core/link.cpp
231234
${LIBMAMBA_SOURCE_DIR}/core/link.hpp
235+
${LIBMAMBA_SOURCE_DIR}/core/logging.cpp
236+
${LIBMAMBA_SOURCE_DIR}/core/logging_spdlog.cpp
232237
${LIBMAMBA_SOURCE_DIR}/core/menuinst.cpp
233238
${LIBMAMBA_SOURCE_DIR}/core/output.cpp
234239
${LIBMAMBA_SOURCE_DIR}/core/package_cache.cpp
@@ -366,7 +371,6 @@ set(
366371
# Core API (low-level)
367372
${LIBMAMBA_INCLUDE_DIR}/mamba/core/activation.hpp
368373
${LIBMAMBA_INCLUDE_DIR}/mamba/core/channel_context.hpp
369-
${LIBMAMBA_INCLUDE_DIR}/mamba/core/common_types.hpp
370374
${LIBMAMBA_INCLUDE_DIR}/mamba/core/context.hpp
371375
${LIBMAMBA_INCLUDE_DIR}/mamba/core/context_params.hpp
372376
${LIBMAMBA_INCLUDE_DIR}/mamba/core/download_progress_bar.hpp
@@ -377,6 +381,9 @@ set(
377381
${LIBMAMBA_INCLUDE_DIR}/mamba/core/fsutil.hpp
378382
${LIBMAMBA_INCLUDE_DIR}/mamba/core/history.hpp
379383
${LIBMAMBA_INCLUDE_DIR}/mamba/core/invoke.hpp
384+
${LIBMAMBA_INCLUDE_DIR}/mamba/core/logging.hpp
385+
${LIBMAMBA_INCLUDE_DIR}/mamba/core/logging_spdlog.hpp
386+
${LIBMAMBA_INCLUDE_DIR}/mamba/core/logging_tools.hpp
380387
${LIBMAMBA_INCLUDE_DIR}/mamba/core/menuinst.hpp
381388
${LIBMAMBA_INCLUDE_DIR}/mamba/core/output.hpp
382389
${LIBMAMBA_INCLUDE_DIR}/mamba/core/package_cache.hpp

0 commit comments

Comments
 (0)