Provide pre-compiled Windows wheels on PyPI (build from sdist fails on missing libxml2)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- build-system
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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!
- Lenguaje dominante
- Rust
- Estrellas
- 3
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Issues similares
-
engine-rs P3 review-deferral wasm
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
maniator/verticopolis#1154 ·
Los mantenedores suelen responder en 1 día
-
FFMPEG_BIN/FFPROBE_BIN are always overridden, so a working system ffmpeg cannot be usedPosiblemente ocupada @Bilker1422 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Stremio/stremio-service#116 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
sims1253/ry#720 · 1 comentario ·
Los mantenedores suelen responder en 1 día