conda-forge / miniforge

A conda-forge distribution.
https://conda-forge.org/miniforge
Other
6k stars 317 forks source link

enable pkg installers #434

Open jaimergp opened 1 year ago

jaimergp commented 1 year ago

Closes #429

Tasklist

Welcome screenshot:

image image
jaimergp commented 1 year ago

The artifacts are available and include the PKG installers. This PR is not done (see description), but those should be functional already. Please let me know if you have any feedback!

psobolewskiPhD commented 6 months ago

Looks great! But, the artifacts are expired 😢 edit: nvm, they're here https://github.com/conda-forge/miniforge/actions/runs/7915666236 BTW bit of a bummer that they require admin to run 😢 that could just be an issue with the apple pkg installer though.

jaimergp commented 6 months ago

Check these ones: https://github.com/conda-forge/miniforge/actions/runs/7915666236

I don't think they require superuser per se, but maybe there's a bug. Let me know.

psobolewskiPhD commented 6 months ago

Yea I found the right artifacts, tried the mini forge-arm64 and it did require admin. I will try to test on my personal machine later where I have admin, but I can't on my work one.

yuvipanda commented 6 months ago

So first, it doesn't wanna open because it's not signed and apple hates us.

Screen Shot 2024-02-15 at 10 09 00 AM

I went into security settings and allowed it explicitly (required admin), so the dialog box got less scary:

image

It allowed me to install it just on my home directory

image

Failed the first time because I already have it installed

image

But it works now, after!

So I suppose it needs to be signed?

Thanks for working on this, @jaimergp!

jaimergp commented 6 months ago

Yes, the signing machinery is there in constructor (thanks napari!), we just need the Apple certificate from NumFocus.

jaimergp commented 6 months ago

Also, if you have feedback about the messaging, we can customize some steps.

yuvipanda commented 6 months ago

Only suggestion is to maybe have something in there about pre-existing installations? But that's very minor, as the target audience for this probably does not have pre-existing installations.

hmaarrfk commented 3 months ago

as the target audience for this probably does not have pre-existing installations.

I think this is a fair first approximation.

However, I think we get many questions on this issue tracker where people have trouble installing miniforge when Miniconda or Anaconda is already installed (and to a lesser extent when miniforge or mambaforge is already installed).