mne-tools / mne-installers

Installers for MNE-Python.
BSD 3-Clause "New" or "Revised" License
8 stars 8 forks source link

Consider including `conda-pypi`? #265

Open hoechenberger opened 4 months ago

hoechenberger commented 4 months ago

https://github.com/jaimergp/conda-pypi/blob/main/docs/why.md

Thoughts? Could also make sense to have this somewhere in the MNE install instructions eventually?

cc @drammock @larsoner @cbrnr @mscheltienne @agramfort

drammock commented 4 months ago

Looks like a good idea on first read, but would like a bit of time to think on it

larsoner commented 4 months ago

Seems like a good idea. It will cause pip install ... to fail but with an informative message that allows the user to override the protection and unsafely (as always) do pip install ... by setting an additional flag or env var

drammock commented 4 months ago

Let's keep an eye on it, but for now I think it's too early. Recommended installation method fails:

$ conda install -n base conda-pypi
Retrieving notices: ...working... done
Channels:
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - conda-pypi

Current channels:

  - https://conda.anaconda.org/conda-forge
hoechenberger commented 3 months ago

Yes it's not yet on conda-forge!