Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use maturin v1.0.0-beta.5 with PEP 704 (.venv) support #7782

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ If you want a bleeding edge release or maximal performance you should compile **
This can be done by going through the following steps in sequence:

1. Install the latest [Rust compiler](https://www.rust-lang.org/tools/install)
2. Install [maturin](https://maturin.rs/): `pip install maturin`
2. Install [maturin](https://maturin.rs/): `pip install maturin==v1.0.0-beta.5`
3. Choose any of:
- Fastest binary, very long compile times:
```sh
Expand Down
2 changes: 1 addition & 1 deletion examples/python_rust_compiled_function/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin==v1.0.0-beta.5"]
build-backend = "maturin"

[project]
Expand Down
4 changes: 2 additions & 2 deletions py-polars/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ requirements: .venv ## Install/refresh all project requirements

.PHONY: build
build: .venv ## Compile and install Polars for development
@unset CONDA_PREFIX && source $(VENV_BIN)/activate && maturin develop
@unset CONDA_PREFIX && maturin develop

.PHONY: build-release
build-release: .venv ## Compile and install a faster Polars binary
@unset CONDA_PREFIX && source $(VENV_BIN)/activate && maturin develop --release
@unset CONDA_PREFIX && maturin develop --release

.PHONY: fmt
fmt: .venv ## Run autoformatting and linting
Expand Down
2 changes: 1 addition & 1 deletion py-polars/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin==v1.0.0-beta.5"]
build-backend = "maturin"

[project]
Expand Down
2 changes: 1 addition & 1 deletion py-polars/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ connectorx==0.3.2a2; python_version >= '3.8' # Latest full release is broken -

# Tooling
hypothesis==6.68.2
maturin==0.14.10
maturin==v1.0.0-beta.5
pytest==7.2.0
pytest-cov==4.0.0
pytest-xdist==3.2.0
Expand Down