Konfigurieren Sie AirspeedVelocity für das Python-Paket mit PyO3 und MaturinPython

Python-Programme
Guest
 Konfigurieren Sie AirspeedVelocity für das Python-Paket mit PyO3 und Maturin

Post by Guest »

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"
],

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post
  • Der Befehl pyo3-maturin veröffentlichen
    by Anonymous » » in Python
    0 Replies
    16 Views
    Last post by Anonymous
  • Die Python-Version kann beim Ausführen von Rost-Analyzer und Pyo3 auf WSL nicht festgelegt werden
    by Anonymous » » in Python
    0 Replies
    15 Views
    Last post by Anonymous
  • Interoperabilität zwischen zwei Kisten mit `pyo3' -Bindungen
    by Anonymous » » in Python
    0 Replies
    8 Views
    Last post by Anonymous
  • Wie baue ich Modulhierarchie mit Pyo3 auf?
    by Anonymous » » in Python
    0 Replies
    12 Views
    Last post by Anonymous
  • Pyo3 multiple `wrap` gefunden
    by Guest » » in Python
    0 Replies
    15 Views
    Last post by Guest