-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put micromamba v2 on homebrew, currently latest version there is 1.5.10 #3495
Comments
I created a PR to point this out in docs while homebrew doesn't have v2. Once homebrew has v2, this PR should be reverted: #3499 |
I made PR Homebrew/homebrew-core#195371 - advice welcome on how to proceed - it seems "micromamba" now requires static linkage so the micromamba recipe can't build it, shared linkage is required on homebrew. |
Anyone know why macOS 13 reports:
I plan to try: diff --git a/libmamba/src/core/transaction.cpp b/libmamba/src/core/transaction.cpp
index 7d2f7668..1b1c5fba 100644
--- a/libmamba/src/core/transaction.cpp
+++ b/libmamba/src/core/transaction.cpp
@@ -698,7 +698,7 @@ namespace mamba
it != extract_tasks.end();
++it)
{
- std::packaged_task task{ [=] { return it->run(); } };
+ std::packaged_task<mamba::PackageExtractTask::Result ()> task{ [=] { return it->run(); } };
extract_trackers.push_back(task.get_future());
MainExecutor::instance().schedule(std::move(task));
} |
And linux:
Other builds are fine, like macOS 14. Trying this locally (WIP): docker run -v $PWD:/mamba -w /mamba --rm -it homebrew/brew
brew install fmt libarchive libsolv lz4 openssl@3 reproc simdjson xz yaml-cpp zstd cmake cli11 nlohmann-json spdlog tl-expected curl pkgconfig python bzip2 krb5 zlib
cmake -S. -Bbuild -DBUILD_LIBMAMBA=ON -DBUILD_MAMBA=ON -DBUILD_SHARED=ON -DBUILD_STATIC=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON
cmake --build build -j8 If Python is not found, it just crashes when building, probably should be marked REQURIED. This does repro. :) |
2.0.4 is on homebrew! |
@henryiii Wow, thank you! I just got a new laptop, and it's a neat coincidence that I can install Two minor issues I noticed:
|
I'd like to install micromamba v2 via homebrew, but so far only 1.5.10 is available there.
https://github.com/Homebrew/homebrew-core/blob/45656b5b8833aa5a0f26fdcf4318324c756fb994/Formula/m/micromamba.rb
Do you have plans to add it there?
The text was updated successfully, but these errors were encountered: