Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Provide pre-compiled Windows wheels on PyPI (build from sdist fails on missing libxml2)

オープン
#7 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, rust
領域
build-system

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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:

  1. pip falls back to the source distribution (oxml-0.1.6.tar.gz).
  2. The build invokes maturin and Cargo to compile from source.
  3. The internal dependency libxml v0.3.21 (used in src/xsd.rs) attempts to find libxml2 headers/libraries.
  4. On Windows environments without Visual Studio C++ build tools and vcpkg installed/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!

主要言語
Rust
スター
3
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。