From 39b1aece8ff93f9435c00e2708c5b3beb952f943 Mon Sep 17 00:00:00 2001 From: Fred Eisele Date: Fri, 21 Feb 2025 10:21:49 -0600 Subject: [PATCH 1/2] Update download.jsx to mention pixi While still under active development pixi-build should be mentioned. --- src/pages/download.jsx | 75 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 65 insertions(+), 10 deletions(-) diff --git a/src/pages/download.jsx b/src/pages/download.jsx index 9c1b83f14f..b6a71e1e72 100644 --- a/src/pages/download.jsx +++ b/src/pages/download.jsx @@ -8,7 +8,7 @@ export default function Home() { return (
@@ -16,28 +16,83 @@ export default function Home() { Download the conda-forge Installer

- Miniforge is the preferred conda-forge installer and includes conda, mamba, and their dependencies. + There are several conda-forge installers. +

+

+ Miniforge +

+

+ Miniforge is the preferred conda-forge installer. + It is used by the recommended scripts used for managing projects admitted into conda-forge. + Miniforge includes python, conda, mamba, micromamba, pip, and their dependencies. + It also configures the primary shell to be conda aware. + At present miniforge does not include pixi.

- If more packages are needed, use the conda install or mamba install command to install from the thousands of packages available in the conda-forge distribution. Isolated environments can be created with conda create or mamba create. + If more packages are needed, use the conda install or mamba install command + to install from the thousands of packages available in the conda-forge distribution. + Isolated environments can be created with conda create or mamba create.

-

+

Installation -

-

Basic installation instructions are available below. More detailed instructions are available at conda-forge/miniforge.

-

+

+

Basic installation instructions are available below. + More detailed instructions are available at + conda-forge/miniforge. +

+

Unix-like platforms (Mac OS & Linux) -

+

Download the installer and run bash Miniforge3-$(uname)-$(uname -m).sh

-

+

Windows -

+

Download and execute the Windows installer.

+ +

+ Pixi +

+

+ Pixi is also a conda-forge installer. + It is used by the recommended scripts used for managing projects admitted into conda-forge. + Pixi replaces conda, mamba, micromamba, pip, and their dependencies, and does not require python. + It also configures the primary shell to be conda aware. + At present miniforge does not include pixi. +

+

+ Pixi-build is still under active development including its use as a conda-forge installer. + The conda-forge project will have a pixi.toml file which will describe all the depencencies. + The pixi.toml file may be updated manually or via pixi commands, like pixi add. + The pixi.toml also defines the targets for publication, + conda-forge is one candidate target. + Thousands of packages available in the conda-forge distribution and thousands more from pypi. + Isolated managed project environments can be created with pixi init. +

+ +

+ Installation +

+

Basic installation instructions are available below. + More detailed instructions are available at + pixi.sh. +

+

+ Unix-like platforms (Mac OS & Linux) +

+

+ Download the installer and run curl -fsSL https://pixi.sh/install.sh | bash +

+

+ Windows +

+

+ Download the Windows installer and run powershell -ExecutionPolicy ByPass -c "irm -useb https://pixi.sh/install.ps1 | iex". +

From 13a6d2a65ce3552a1e580c9bb15e50698f529fc1 Mon Sep 17 00:00:00 2001 From: Fred Eisele Date: Fri, 21 Feb 2025 12:12:12 -0600 Subject: [PATCH 2/2] split the publication behavior from the installer behavior --- src/pages/download.jsx | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/src/pages/download.jsx b/src/pages/download.jsx index b6a71e1e72..c8d391ba50 100644 --- a/src/pages/download.jsx +++ b/src/pages/download.jsx @@ -23,7 +23,6 @@ export default function Home() {

Miniforge is the preferred conda-forge installer. - It is used by the recommended scripts used for managing projects admitted into conda-forge. Miniforge includes python, conda, mamba, micromamba, pip, and their dependencies. It also configures the primary shell to be conda aware. At present miniforge does not include pixi. @@ -59,19 +58,21 @@ export default function Home() {

Pixi is also a conda-forge installer. - It is used by the recommended scripts used for managing projects admitted into conda-forge. Pixi replaces conda, mamba, micromamba, pip, and their dependencies, and does not require python. It also configures the primary shell to be conda aware. At present miniforge does not include pixi.

- Pixi-build is still under active development including its use as a conda-forge installer. - The conda-forge project will have a pixi.toml file which will describe all the depencencies. - The pixi.toml file may be updated manually or via pixi commands, like pixi add. - The pixi.toml also defines the targets for publication, - conda-forge is one candidate target. + Pixi remains under active development. + As a conda-forge installer pixi is feature complete. Thousands of packages available in the conda-forge distribution and thousands more from pypi. - Isolated managed project environments can be created with pixi init. +

+

+ A pixi project has a pixi.toml file in which its package dependencies are specified. + These packages are available from repositories of which conda-forge is one. + An isolated managed project environment is created with pixi init. + The pixi.toml file may be updated manually. + It may also be upded via pixi commands, using commands like pixi add.

@@ -93,6 +94,15 @@ export default function Home() {

Download the Windows installer and run powershell -ExecutionPolicy ByPass -c "irm -useb https://pixi.sh/install.ps1 | iex".

+

+ Publishing (under development) +

+

+ When developing a conda derived project it is likely that it will need to be published. + The pixi.toml can define targets for publication, + conda-forge is one such target. + When properly configured the package can be published with pixi build. +