Skip to content

Commit b71842e

Browse files
authored
Merge branch 'main' into 3830-monkeypatch
2 parents 6afed6c + 6f11ca2 commit b71842e

File tree

222 files changed

+17193
-2526
lines changed

Some content is hidden

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

222 files changed

+17193
-2526
lines changed

.github/workflows/brew.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,13 @@ jobs:
3535
- name: Checkout mamba repository
3636
uses: actions/checkout@v4
3737

38+
# Note: cmake already installed from a local Github tap
39+
# Attempting to install it from homebrew/core creates a conflict without more handling
3840
- name: Install host and build dependencies
39-
run: brew install fmt libarchive libsolv lz4 openssl@3 reproc simdjson xz yaml-cpp zstd cmake cli11 nlohmann-json spdlog tl-expected pkgconfig python
41+
run: >
42+
brew install --overwrite
43+
fmt libarchive libsolv lz4 openssl@3 reproc simdjson xz yaml-cpp zstd
44+
cli11 nlohmann-json spdlog tl-expected pkgconfig python
4045
4146
- name: Configure to build mamba
4247
run: >

.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/set_pr_label.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020

2121
- name: Assign label based on PR title
22-
uses: actions/github-script@v7
22+
uses: actions/github-script@v8
2323
with:
2424
github-token: ${{ secrets.GITHUB_TOKEN }}
2525
script: |
@@ -54,7 +54,7 @@ jobs:
5454
}
5555
5656
- name: Assign label based on PR description
57-
uses: actions/github-script@v7
57+
uses: actions/github-script@v8
5858
with:
5959
github-token: ${{ secrets.GITHUB_TOKEN }}
6060
script: |

.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: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,155 @@
1+
## 2025.11.21
2+
3+
Release: 2.4.0 (libmamba, mamba, micromamba, libmambapy)
4+
5+
Enhancements:
6+
7+
- [micromamba, libmamba] 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.11.18
21+
22+
Release: 2.4.0.rc0 (libmamba, mamba, micromamba, libmambapy)
23+
24+
Enhancements:
25+
26+
- [libmamba, micromamba] Support for `mambajs`'s environment lockfile format by @Klaim in <https://github.com/mamba-org/mamba/pull/4085>
27+
- [all] Logging impl separation by @Klaim in <https://github.com/mamba-org/mamba/pull/4016>
28+
29+
Bug fixes:
30+
31+
- [micromamba] fix: Update URL of lock files by @jjerphan in <https://github.com/mamba-org/mamba/pull/4097>
32+
- [micromamba] Fix Windows tests by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4086>
33+
34+
Maintenance:
35+
36+
- [all] build(deps): bump actions/upload-artifact from 4 to 5 by @app/dependabot in <https://github.com/mamba-org/mamba/pull/4088>
37+
- [libmamba] Removed deprecated libcurl backend by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4083>
38+
39+
## 2025.10.17
40+
41+
Release: 2.3.3 (libmamba, mamba, micromamba, libmambapy)
42+
43+
Bug fixes:
44+
45+
- [libmamba] fix: pass `$argv` for fish wrapper by @sghng in <https://github.com/mamba-org/mamba/pull/4073>
46+
- [libmamba] Fix empty depends/constrains when installing explicit spec files by @benmoss in <https://github.com/mamba-org/mamba/pull/4071>
47+
- [libmamba] fix: proxy both micromamba and mamba with fish function by @sghng in <https://github.com/mamba-org/mamba/pull/4065>
48+
- [libmamba] Fix nodiscard errors by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4058>
49+
- [libmambapy] Fix deprecated license key by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4053>
50+
51+
CI fixes and doc:
52+
53+
- [all] Added lower bounds on spdlog and fmt by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4080>
54+
- [all] Static Windows build fix by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4074>
55+
56+
Maintenance:
57+
58+
- [all] maint: Auto-update `pre-commit` setup by @jjerphan in <https://github.com/mamba-org/mamba/pull/4079>
59+
- [micromamba] Fixed test_repodata_record_patch by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4067>
60+
- [all] build(deps): bump actions/github-script from 7 to 8 by @app/dependabot in <https://github.com/mamba-org/mamba/pull/4063>
61+
- [libmambapy] Use fmt::format by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4061>
62+
- [libmambapy] Move to Pybind 3.0 by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4059>
63+
- [libmambapy, libmamba] libmambapy: Switch build backend to `scikit-build-core` by @LecrisUT in <https://github.com/mamba-org/mamba/pull/3802>
64+
65+
## 2025.10.14
66+
67+
Release: 2.3.3.alpha1 (libmamba, mamba, micromamba, libmambapy)
68+
69+
Bug fixes:
70+
71+
- [libmamba] fix: pass `$argv` for fish wrapper by @sghng in <https://github.com/mamba-org/mamba/pull/4073>
72+
- [libmamba] Fix empty depends/constrains when installing explicit spec files by @benmoss in <https://github.com/mamba-org/mamba/pull/4071>
73+
- [libmamba] fix: proxy both micromamba and mamba with fish function by @sghng in <https://github.com/mamba-org/mamba/pull/4065>
74+
- [libmamba] Fix nodiscard errors by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4058>
75+
- [libmambapy] Fix deprecated license key by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4053>
76+
77+
CI fixes and doc:
78+
79+
- [all] Added lower bounds on spdlog and fmt by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4080>
80+
- [all] Static Windows build fix by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4074>
81+
82+
Maintenance:
83+
84+
- [all] maint: Auto-update `pre-commit` setup by @jjerphan in <https://github.com/mamba-org/mamba/pull/4079>
85+
- [micromamba] Fixed test_repodata_record_patch by @JohanMabille in <https://github.com/mamba-org/mamba/pull/4067>
86+
- [all] build(deps): bump actions/github-script from 7 to 8 by @app/dependabot in <https://github.com/mamba-org/mamba/pull/4063>
87+
- [libmambapy] Use fmt::format by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4061>
88+
- [libmambapy] Move to Pybind 3.0 by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4059>
89+
- [libmamba, libmambapy] libmambapy: Switch build backend to `scikit-build-core` by @LecrisUT in <https://github.com/mamba-org/mamba/pull/3802>
90+
91+
## 2025.09.04
92+
93+
Release: 2.3.3.alpha0 (libmamba, mamba, micromamba, libmambapy)
94+
95+
Bug fixes:
96+
97+
- [libmamba] Fix nodiscard errors by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4058>
98+
- [libmambapy] Fix deprecated license key by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4053>
99+
100+
Maintenance:
101+
102+
- [libmambapy] Use fmt::format by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4061>
103+
- [libmambapy] Move to Pybind 3.0 by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4059>
104+
- [libmamba, libmambapy] libmambapy: Switch build backend to `scikit-build-core` by @LecrisUT in <https://github.com/mamba-org/mamba/pull/3802>
105+
106+
## 2025.08.26
107+
108+
Release: 2.3.2 (libmamba, mamba, micromamba, libmambapy)
109+
110+
Enhancements:
111+
112+
- [all] feat: Support for optional `python_site_packages_path` in repodata by @jjhelmus in <https://github.com/mamba-org/mamba/pull/3579>
113+
114+
Bug fixes:
115+
116+
- [libmamba] Fix libsolv MatchSpec parsing by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4046>
117+
- [all] fix: Workaround `mamba-org/mamba#4043` by @jjerphan in <https://github.com/mamba-org/mamba/pull/4044>
118+
- [libmamba] Fix string lookup in MatchSpec parsing by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4040>
119+
- [libmamba] Fix wrong sticky package hash by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/4039>
120+
121+
Maintenance:
122+
123+
- [libmamba] `synchronized_value` move and copy implementation by @Klaim in <https://github.com/mamba-org/mamba/pull/4042>
124+
125+
## 2025.07.28
126+
127+
Release: 2.3.1 (libmamba, mamba, micromamba, libmambapy)
128+
129+
Enhancements:
130+
131+
- [libmambapy, libmamba] Add missing bindings and other improvements by @AntoinePrv in <https://github.com/mamba-org/mamba/pull/3990>
132+
133+
Bug fixes:
134+
135+
- [libmamba, micromamba] Consider `SHELL` env var by @Hind-M in <https://github.com/mamba-org/mamba/pull/3997>
136+
137+
CI fixes and doc:
138+
139+
- [all] [skip ci] Fix typo by @davidbrochart in <https://github.com/mamba-org/mamba/pull/4000>
140+
- [all] ci: use VS2022 instead of VS2019 by @Klaim in <https://github.com/mamba-org/mamba/pull/3986>
141+
142+
Maintenance:
143+
144+
- [libmamba] fix CI issues related to moving dependencies by @Klaim in <https://github.com/mamba-org/mamba/pull/4023>
145+
- [libmamba] maint: use `synchronized_value` where we use a mutex to protect data by @Klaim in <https://github.com/mamba-org/mamba/pull/3992>
146+
- [libmambapy] maint: handle `fmt>=11.2` by @Klaim in <https://github.com/mamba-org/mamba/pull/4001>
147+
- [libmambapy] Handle removed `is_rgb` from `fmt 11.2.0` by @Hind-M in <https://github.com/mamba-org/mamba/pull/3998>
148+
- [libmamba] Replace macros used in tests for compatibility with coverage report by @jjerphan in <https://github.com/mamba-org/mamba/pull/3995>
149+
- [libmamba] maint: fixes warnings by @Klaim in <https://github.com/mamba-org/mamba/pull/3993>
150+
- [libmamba] `synchronized_value` by @Klaim in <https://github.com/mamba-org/mamba/pull/3984>
151+
- [libmamba] maintenance: fixed msvc warnings about unreachable code by @Klaim in <https://github.com/mamba-org/mamba/pull/3991>
152+
1153
## 2025.06.16
2154

3155
Release: 2.3.0 (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/CMakePresetsMamba.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
{
2424
"cacheVariables": {
2525
"BUILD_MICROMAMBA": "ON",
26-
"BUILD_STATIC": "ON"
26+
"BUILD_STATIC": "ON",
27+
"ENABLE_WIN32_XMLLITE": "ON"
2728
},
2829
"hidden": true,
2930
"name": "mamba-static"

0 commit comments

Comments
 (0)