Repository navigation
robotics 追加機能の pyarrow を 26 未満に固定する - #291
Merged
Merged
Conversation
pyarrow 26 から NumPy 2.0 以上が必須になり、NumPy 1.26 の環境では pyarrow の読み込みに失敗するため。 NumPy 1.x への対応をやめるときに上限を外す。 refs fastlabel/fastlabel-application#11945
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
robotics 追加機能の pyarrow を 26 未満に固定しました。
2026-10-09 に公開された pyarrow 26.0.0 から NumPy 2.0 以上が必須になりました(Apache Arrow 26.0.0 Release の「Require numpy 2.0」)。このSDKは NumPy 1.26 にも対応しているため、NumPy 1.26 の環境に robotics 付きで入れると pyarrow 26 が入り、LeRobot 形式の取り込みで pyarrow の読み込みに失敗します。pyarrow 26 はパッケージの依存情報に NumPy の下限を書いていないため、pip はこの組み合わせを止めません。
CI でも NumPy 1.26 と Python 3.11 / 3.12 の組み合わせが同じ理由で落ちており、main でも同様です(#290 で発覚)。
対応内容
>=18.0.0,<26にしたNumPy 2 系の利用者も pyarrow 25 までになりますが、NumPy の版で条件を分けた指定はできないため、一律に上限を付けています。
Closes fastlabel/fastlabel-application#11945
動作確認
CI の全組み合わせが通ることで確認します。
work in fastlabel-application