Skip to content

Commit

Permalink
Update maturin version in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed May 24, 2023
1 parent 7a7694b commit 14ea4d9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ maturin supports building through `pyproject.toml`. To use it, create a `pyproje

```toml
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
```

Expand All @@ -223,7 +223,7 @@ For a non-manylinux build with cffi bindings you could use the following:

```toml
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"

[tool.maturin]
Expand Down
2 changes: 1 addition & 1 deletion guide/src/bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ maturin automatically detects pyo3 bindings when it's added as a dependency in `
pyo3 bindings has `Py_LIMITED_API`/abi3 support, enable the `abi3` feature of the `pyo3` crate to use it:

```toml
pyo3 = { version = "0.14", features = ["abi3"] }
pyo3 = { version = "0.18", features = ["abi3"] }
```

You may additionally specify a minimum Python version by using the `abi3-pyXX`
Expand Down
2 changes: 1 addition & 1 deletion guide/src/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ You need to add `maturin` to `build-system` section of `pyproject.toml` to use i

```toml
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
```

Expand Down
4 changes: 2 additions & 2 deletions guide/src/distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Maturin supports building through `pyproject.toml`. To use it, create a `pyproje

```toml
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
```

Expand All @@ -22,7 +22,7 @@ For a non-manylinux build with cffi bindings you could use the following:

```toml
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"

[tool.maturin]
Expand Down
2 changes: 1 addition & 1 deletion guide/src/sphinx.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ properly configured it to build source distributions, for example a minimal conf

```toml
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
```

Expand Down
4 changes: 2 additions & 2 deletions guide/src/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ and enable the `extension-module` feature of pyo3.

```toml
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"

[tool.maturin]
Expand Down Expand Up @@ -111,7 +111,7 @@ build-backend (Python supports a number of build-backends since [PEP

```toml
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
```

Expand Down

0 comments on commit 14ea4d9

Please sign in to comment.