Skip to content

Commit 1365071

Browse files
committed
docs: include pyodide-version in reordering
Signed-off-by: Henry Schreiner <[email protected]>
1 parent b92fc1a commit 1365071

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

docs/options.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ Platform-specific environment variables are also available:<br/>
12341234

12351235

12361236

1237-
### `CIBW_PYODIDE_VERSION` {: #pyodide-version}
1237+
### `pyodide-version` {: #pyodide-version toml env-var }
12381238

12391239
> Specify the Pyodide version to use for `pyodide` platform builds
12401240
@@ -1248,18 +1248,9 @@ This option is particularly useful for:
12481248
The available Pyodide versions are determined by the version of `pyodide-build` being used. You can list the compatible versions using the command `pyodide xbuildenv search --all` as described in the [Pyodide platform documentation](platforms.md#pyodide-choosing-a-version).
12491249

12501250
!!! tip
1251-
You can set the version of `pyodide-build` using the [`CIBW_DEPENDENCY_VERSIONS`](#dependency-versions) option.
1251+
You can set the version of `pyodide-build` using the [`dependency-versions`](#dependency-versions) option.
12521252

12531253
#### Examples
1254-
1255-
!!! tab examples "Environment variables"
1256-
1257-
```yaml
1258-
# Build Pyodide wheels using Pyodide version 0.27.6
1259-
CIBW_PYODIDE_VERSION: 0.27.6
1260-
1261-
# Build Pyodide wheels using a specific alpha release
1262-
CIBW_PYODIDE_VERSION: 0.28.0a2
12631254
```
12641255

12651256
!!! tab examples "pyproject.toml"
@@ -1274,6 +1265,16 @@ The available Pyodide versions are determined by the version of `pyodide-build`
12741265
pyodide-version = "0.28.0a2"
12751266
```
12761267

1268+
!!! tab examples "Environment variables"
1269+
1270+
```yaml
1271+
# Build Pyodide wheels using Pyodide version 0.27.6
1272+
CIBW_PYODIDE_VERSION: 0.27.6
1273+
1274+
# Build Pyodide wheels using a specific alpha release
1275+
CIBW_PYODIDE_VERSION: 0.28.0a2
1276+
1277+
12771278
## Testing
12781279

12791280
### `test-command` {: #test-command env-var toml}

0 commit comments

Comments
 (0)