[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request #28 from restlessronin/update-anaconda-dist
Browse files Browse the repository at this point in the history
update to 2022.05
  • Loading branch information
jaimergp committed Aug 26, 2022
2 parents b94a106 + 3c93ecb commit 7c40534
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ condacolab.check()
The default `condacolab.install()` provides Mambaforge, but there are other `conda` distributions to choose from:

- `install_anaconda()`: This will install the Anaconda 2020.02 distribution, the last version that was built for Python 3.7. This contains [plenty of data science packages](https://docs.anaconda.com/anaconda/packages/old-pkg-lists/2020.02/py3.7_linux-64/), but they might be outdated by now.
- `install_miniconda()`: This will install the Miniconda 4.9.2 distribution, using a version built for Python 3.7. Unlike Anaconda, this distribution only contains `python` and `conda`.
- `install_anaconda()`: This will install the Anaconda 2022.05 distribution, the most recent version built for Python 3.7 at the time of update. This contains [plenty of data science packages (link to current version docs)](https://docs.anaconda.com/anaconda/packages/py3.7_linux-64/).
- `install_miniconda()`: This will install the Miniconda 4.12.0 distribution, using a version built for Python 3.7. Unlike Anaconda, this distribution only contains `python` and `conda`.
- `install_miniforge()`: Like Miniconda, but built off `conda-forge` packages. The Miniforge distribution is officially provided by [conda-forge](https://github.com/conda-forge/miniforge) but I [forked and patched it](https://github.com/jaimergp/miniforge) so it's built for Python 3.7.
- `install_mambaforge()`: Like Miniforge, but with `mamba` included. The Mambaforge distribution is officially provided by [conda-forge](https://github.com/conda-forge/miniforge) but I [forked and patched it](https://github.com/jaimergp/miniforge) so it's built for Python 3.7.

Expand Down
10 changes: 5 additions & 5 deletions condacolab.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def install_miniconda(
prefix: os.PathLike = PREFIX, env: Dict[AnyStr, AnyStr] = None, run_checks: bool = True
):
"""
Install Miniconda 4.9.2 for Python 3.7.
Install Miniconda 4.12.0 for Python 3.7.
Parameters
----------
Expand All @@ -244,16 +244,16 @@ def install_miniconda(
Change to False to ignore checks and always attempt
to run the installation.
"""
installer_url = r"https://repo.anaconda.com/miniconda/Miniconda3-py37_4.9.2-Linux-x86_64.sh"
installer_url = r"https://repo.anaconda.com/miniconda/Miniconda3-py37_4.12.0-Linux-x86_64.sh"
install_from_url(installer_url, prefix=prefix, env=env, run_checks=run_checks)


def install_anaconda(
prefix: os.PathLike = PREFIX, env: Dict[AnyStr, AnyStr] = None, run_checks: bool = True
):
"""
Install Anaconda 2020.02, the last official version built
for Python 3.7.
Install Anaconda 2022.05, the latest version built
for Python 3.7 at the time of update.
Parameters
----------
Expand All @@ -274,7 +274,7 @@ def install_anaconda(
Change to False to ignore checks and always attempt
to run the installation.
"""
installer_url = r"https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh"
installer_url = r"https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh"
install_from_url(installer_url, prefix=prefix, env=env, run_checks=run_checks)


Expand Down

0 comments on commit 7c40534

Please sign in to comment.