Provide pre-compiled Windows wheels on PyPI (build from sdist fails on missing libxml2)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- build-system
Direzione di ricerca
Start with the libxml dependency used in src/xsd.rs and the build.rs panic 'Could not find libxml2' that the report quotes, to see how libxml2 is located on Windows. Then look at the build/release workflow that publishes to PyPI and find where wheels are built per platform. Done means a win_amd64 wheel is produced by that workflow and pip install oxml works on Windows without vcpkg or Visual Studio. Choosing between bundling libxml2 and a vcpkg setup in CI is a maintainer decision, so confirm it on the issue first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
Currently on PyPI (e.g., oxml==0.1.6), pre-compiled wheels are provided for:
- macOS (
macosx_11_0_arm64) - Linux (
manylinux_2_28_x86_64)
However, there are currently no pre-compiled wheels distributed for Windows (win_amd64).
Problem
When users run pip install oxml on a standard Windows environment:
pipfalls back to the source distribution (oxml-0.1.6.tar.gz).- The build invokes
maturinand Cargo to compile from source. - The internal dependency
libxml v0.3.21(used insrc/xsd.rs) attempts to findlibxml2headers/libraries. - On Windows environments without Visual Studio C++ build tools and
vcpkginstalled/configured for libxml2, the build aborts with:
vcpkg did not succeed in finding libxml2.
thread 'main' panicked at libxml-0.3.21\build.rs:81:5:
Could not find libxml2.
Request / Suggestion
Could you please add Windows (win_amd64) wheels to the build/release workflow (e.g., via maturin or cibuildwheel) when publishing to PyPI? Providing pre-compiled wheels would allow Windows users to install and use oxml out of the box without needing complex C++ / vcpkg build configurations. Thank you!
- Lingua principale
- Rust
- Stelle
- 3
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
AimesSoft/NipaPlay-Reload#1022 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ZcashFoundation/frost-tools#612 ·
-
[Request]: skills-managerAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
ScoopInstaller/Extras#19070 ·
I maintainer di solito rispondono entro 1 giorno
-
test: sim_zero_omega_tests race on shared temp-file names, so two pairs of tests fail at randomAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100