-
Hi guys, So I build using maturin dev -r on my local machine and the process was pretty seamless. However, when I needed the wheel to go on my server, it failed to install the wheel. So after trying to recreate it locally using the build command ERROR: test-0.4.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a supported wheel on this platform. Where am I going wrong? I have scoured the discussions and issues but can't seem to find something similar my current issue. Here are my specs: rustup show Default host: x86_64-unknown-linux-gnu
rustup home: /home/devs/.rustup
stable-x86_64-unknown-linux-gnu (default)
rustc 1.72.0 (5680fa18f 2023-08-23) ubuntu version: Ubuntu 20.04.6 LTS Cargo.toml[package]
name = "test"
version = "0.4.0"
edition = "2021"
[lib]
name = "test"
crate-type = ["cdylib"]
[dependencies]
pyo3 = "0.18.0"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0" pyproject.toml[build-system]
requires = ["maturin>=1.2.3"]
build-backend = "maturin"
[project]
name = "test"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
[tool.maturin]
features = ["pyo3/extension-module"] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I vaguely remember that |
Beta Was this translation helpful? Give feedback.
Pass
-i python3.8
, the defaultpython3
is probably 3.7 in these docker images with really old version of CentOS, see alsomaturin build --help
.