From cfc9ff0f3fb2da346ebe9e9784e0287a0727cb52 Mon Sep 17 00:00:00 2001 From: prsabahrami Date: Wed, 2 Apr 2025 12:22:48 -0400 Subject: [PATCH] refactor: change section header from [project] to [workspace] in multiple TOML files --- docs/source_files/pixi_tomls/activation.toml | 2 +- docs/source_files/pixi_tomls/lots_of_channels.toml | 2 +- docs/source_files/pixi_tomls/main_pixi.toml | 2 +- docs/source_files/pixi_tomls/multi-environment-py-envs.toml | 2 +- docs/source_files/pixi_tomls/multi-environment-simple.toml | 2 +- docs/source_files/pixi_tomls/pytorch-conda-forge-envs.toml | 2 +- docs/source_files/pixi_tomls/pytorch-conda-forge.toml | 2 +- docs/source_files/pixi_tomls/pytorch-from-pytorch-channel.toml | 2 +- docs/source_files/pixi_tomls/pytorch-pypi-envs.toml | 2 +- docs/source_files/pixi_tomls/pytorch-pypi.toml | 2 +- docs/source_files/pixi_tomls/simple_pixi.toml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/source_files/pixi_tomls/activation.toml b/docs/source_files/pixi_tomls/activation.toml index 072a9c3fff..7824cca418 100644 --- a/docs/source_files/pixi_tomls/activation.toml +++ b/docs/source_files/pixi_tomls/activation.toml @@ -1,4 +1,4 @@ -[project] +[workspace] channels = [] name = "activation" platforms = ["linux-64", "win-64"] diff --git a/docs/source_files/pixi_tomls/lots_of_channels.toml b/docs/source_files/pixi_tomls/lots_of_channels.toml index 41dae2174c..2f4acebfb6 100644 --- a/docs/source_files/pixi_tomls/lots_of_channels.toml +++ b/docs/source_files/pixi_tomls/lots_of_channels.toml @@ -1,4 +1,4 @@ -[project] +[workspace] name = "lots_of_channels" platforms = [] # --8<-- [start:project_channels_long] diff --git a/docs/source_files/pixi_tomls/main_pixi.toml b/docs/source_files/pixi_tomls/main_pixi.toml index 11550c5064..3e474a7cb7 100644 --- a/docs/source_files/pixi_tomls/main_pixi.toml +++ b/docs/source_files/pixi_tomls/main_pixi.toml @@ -1,4 +1,4 @@ -[project] +[workspace] # --8<-- [start:project_name] name = "project-name" # --8<-- [end:project_name] diff --git a/docs/source_files/pixi_tomls/multi-environment-py-envs.toml b/docs/source_files/pixi_tomls/multi-environment-py-envs.toml index 829b35d110..8da5c88e6f 100644 --- a/docs/source_files/pixi_tomls/multi-environment-py-envs.toml +++ b/docs/source_files/pixi_tomls/multi-environment-py-envs.toml @@ -1,4 +1,4 @@ -[project] +[workspace] channels = ["https://prefix.dev/conda-forge"] name = "pixi" platforms = ["linux-64", "win-64", "osx-64", "osx-arm64", "linux-aarch64"] diff --git a/docs/source_files/pixi_tomls/multi-environment-simple.toml b/docs/source_files/pixi_tomls/multi-environment-simple.toml index 0be8b2d671..386fd437bb 100644 --- a/docs/source_files/pixi_tomls/multi-environment-simple.toml +++ b/docs/source_files/pixi_tomls/multi-environment-simple.toml @@ -1,4 +1,4 @@ -[project] +[workspace] channels = ["https://prefix.dev/conda-forge"] name = "pixi" platforms = ["linux-64", "win-64", "osx-64", "osx-arm64", "linux-aarch64"] diff --git a/docs/source_files/pixi_tomls/pytorch-conda-forge-envs.toml b/docs/source_files/pixi_tomls/pytorch-conda-forge-envs.toml index 4c3a29f0e2..e14fac2374 100644 --- a/docs/source_files/pixi_tomls/pytorch-conda-forge-envs.toml +++ b/docs/source_files/pixi_tomls/pytorch-conda-forge-envs.toml @@ -1,5 +1,5 @@ # --8<-- [start:use-envs] -[project] +[workspace] channels = ["https://prefix.dev/conda-forge"] name = "pytorch-conda-forge" platforms = ["linux-64"] diff --git a/docs/source_files/pixi_tomls/pytorch-conda-forge.toml b/docs/source_files/pixi_tomls/pytorch-conda-forge.toml index 63f124c839..9de3767e90 100644 --- a/docs/source_files/pixi_tomls/pytorch-conda-forge.toml +++ b/docs/source_files/pixi_tomls/pytorch-conda-forge.toml @@ -1,5 +1,5 @@ # --8<-- [start:minimal] -[project] +[workspace] channels = ["https://prefix.dev/conda-forge"] name = "pytorch-conda-forge" platforms = ["linux-64", "win-64"] diff --git a/docs/source_files/pixi_tomls/pytorch-from-pytorch-channel.toml b/docs/source_files/pixi_tomls/pytorch-from-pytorch-channel.toml index d1ce93e9ec..23bd53b480 100644 --- a/docs/source_files/pixi_tomls/pytorch-from-pytorch-channel.toml +++ b/docs/source_files/pixi_tomls/pytorch-from-pytorch-channel.toml @@ -1,5 +1,5 @@ # --8<-- [start:minimal] -[project] +[workspace] name = "pytorch-from-pytorch-channel" # `main` is not free! It's a paid channel for organizations over 200 people. channels = ["main", "nvidia", "pytorch"] diff --git a/docs/source_files/pixi_tomls/pytorch-pypi-envs.toml b/docs/source_files/pixi_tomls/pytorch-pypi-envs.toml index 8bb1bbf350..ee4f10d136 100644 --- a/docs/source_files/pixi_tomls/pytorch-pypi-envs.toml +++ b/docs/source_files/pixi_tomls/pytorch-pypi-envs.toml @@ -1,5 +1,5 @@ # --8<-- [start:multi-env] -[project] +[workspace] channels = ["https://prefix.dev/conda-forge"] name = "pytorch-pypi-envs" platforms = ["linux-64", "win-64"] diff --git a/docs/source_files/pixi_tomls/pytorch-pypi.toml b/docs/source_files/pixi_tomls/pytorch-pypi.toml index 6265146f9c..288285249e 100644 --- a/docs/source_files/pixi_tomls/pytorch-pypi.toml +++ b/docs/source_files/pixi_tomls/pytorch-pypi.toml @@ -1,5 +1,5 @@ # --8<-- [start:minimal] -[project] +[workspace] channels = ["https://prefix.dev/conda-forge"] name = "pytorch-pypi" platforms = ["osx-arm64", "linux-64", "win-64"] diff --git a/docs/source_files/pixi_tomls/simple_pixi.toml b/docs/source_files/pixi_tomls/simple_pixi.toml index 6aa5197422..d7d041eb82 100644 --- a/docs/source_files/pixi_tomls/simple_pixi.toml +++ b/docs/source_files/pixi_tomls/simple_pixi.toml @@ -1,6 +1,6 @@ # --8<-- [start:project] -[project] +[workspace] channels = ["conda-forge"] name = "project-name" platforms = ["linux-64"]