Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add miniforge3 and mambaforge 22.9.0-2 #2559

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

smcgivern
Copy link
Contributor

@smcgivern smcgivern commented Dec 13, 2022

These are available, but only as the latest (rolling) version, thanks to #2019. However, it's also useful to be able to get these more recent versions specifically, so we can pin them.

I am not sure how to comprehensively test this, but it works on my machine 馃槂

$ bin/pyenv install miniforge3-22.9.0-2
Downloading Miniforge3-22.9.0-2-Linux-x86_64.sh.sh...
-> https://github.com/conda-forge/miniforge/releases/download/22.9.0-2/Miniforge3-22.9.0-2-Linux-x86_64.sh
Installing Miniforge3-22.9.0-2-Linux-x86_64.sh...
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 22.9.0
  latest version: 22.11.1

Please update conda by running

    $ conda update -n base -c conda-forge conda



## Package Plan ##

  environment location: /home/smcgivern/.pyenv/versions/miniforge3-22.9.0-2

  added / updated specs:
    - conda=22.9.0
    - pip


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2022.12.7  |       ha878542_0         143 KB  conda-forge
    certifi-2022.12.7          |     pyhd8ed1ab_0         147 KB  conda-forge
    openssl-3.0.7              |       h0b41bf4_1         2.5 MB  conda-forge
    ------------------------------------------------------------
                                           Total:         2.8 MB

The following packages will be UPDATED:

  ca-certificates                      2022.9.24-ha878542_0 --> 2022.12.7-ha878542_0 None
  certifi                            2022.9.24-pyhd8ed1ab_0 --> 2022.12.7-pyhd8ed1ab_0 None
  openssl                                  3.0.7-h166bdaf_0 --> 3.0.7-h0b41bf4_1 None



Downloading and Extracting Packages
ca-certificates-2022 | 143 KB    | : 100% 1.0/1 [00:00<00:00,  2.99it/s]
certifi-2022.12.7    | 147 KB    | : 100% 1.0/1 [00:00<00:00,  4.97it/s]
openssl-3.0.7        | 2.5 MB    | : 100% 1.0/1 [00:00<00:00,  1.78it/s]
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Retrieving notices: ...working... done
Installed Miniforge3-22.9.0-2-Linux-x86_64.sh to /home/smcgivern/.pyenv/versions/miniforge3-22.9.0-2

$ bin/pyenv local miniforge3-22.9.0-2
$ python3 -V
Python 3.10.6
$ bin/pyenv which python3
/home/smcgivern/.pyenv/versions/miniforge3-22.9.0-2/bin/python3

I also have a script similar to https://github.com/pyenv/pyenv/blob/master/plugins/python-build/scripts/add_miniconda.py that I used to add this. I can submit that in a separate PR if needed.


Make sure you have checked all steps below.

Prerequisite

  • Please consider implementing the feature as a hook script or plugin as a first step.
    • pyenv has some powerful support for plugins and hook scripts. Please refer to Authoring plugins for details and try to implement it as a plugin if possible.
  • Please consider contributing the patch upstream to rbenv, since we have borrowed most of the code from that project.
    • We occasionally import the changes from rbenv. In general, you can expect changes made in rbenv will be imported to pyenv too, eventually.
    • Generally speaking, we prefer not to make changes in the core in order to keep compatibility with rbenv.
  • My PR addresses the following pyenv issue (if any)

Description

  • Here are some details about my PR

Tests

  • My PR adds the following unit tests (if any)

@anton-petrov anton-petrov merged commit 2128b4f into pyenv:master Dec 13, 2022
@smcgivern smcgivern deleted the add-miniforge3-22.9.0-2 branch January 11, 2023 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants