Ich versuche, Airspeed Velocity für die Verwendung mit meinem Python-Projekt einzurichten. In anderen Setups, wie etwa Github-Workflows, sind die einzigen benötigten Build-Befehle:
"python -m pip install --upgrade pip",
"pip install .[dev] -v"
Aber das funktioniert nicht mit ASV. Ich habe Rust-PyO3-Erweiterungen und baue mit maturin (konfiguriert in pyproject.toml). Ich erhalte den Traceback:
· Creating environments
· Discovering benchmarks
·· Uninstalling from virtualenv-py3.13
·· Building c03e16a1 for virtualenv-py3.13...........
·· Installing c03e16a1 into virtualenv-py3.13
·· Failed to build the project and import the benchmark suite.
Dadurch wurde Folgendes in die asv.conf.json aufgenommen:
// To build the package using pyproject.toml (PEP518), uncomment the following lines
"build_command": [
"python -m pip install --upgrade pip",
"pip install .[dev] -v"
],
Konfigurieren Sie AirspeedVelocity für das Python-Paket mit PyO3 und Maturin ⇐ Python
-
- Similar Topics
- Replies
- Views
- Last post