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

Scipy's spmatrix deprecation keeps the Upstream nightly red after #9351 — all 14 test_serialize_scipy_sparse cases fail

オープン 初心者向け
#9,353 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
84/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
ci-cd, testing

調査の方向性

pyproject.toml にある既存の scipy 警告フィルターと、distributed/protocol/tests/test_scipy.py::test_serialize_scipy_sparse にある 14 個のパラメータ化から始めます。nightly テスト構成で警告をエラーとして扱うことによる失敗を再現し、その後、*_matrix から *_array への非推奨化のスコープを限定した処理を検証します。14 個すべての scipy シリアライゼーションケースが、無関係な警告を隠すことなくパスすれば完了です。

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

説明

needs triage

Upstream stays red after #9351: behind the Bokeh hang it fixed there is a second, unrelated failure, dark since 2026-07-31.

What happens. scipy now warns on every *_matrix instantiation (scipy/sparse/_matrix.py: "…is being replaced by …_array. … The spmatrix classes will be removed no earlier than v2.2."). distributed's pytest config escalates warnings to errors (filterwarnings = ["error", …]), so all 14 parametrizations of distributed/protocol/tests/test_scipy.py::test_serialize_scipy_sparse fail:

E       DeprecationWarning: coo_matrix is being replaced by coo_array.

The first run to show it is the #9351 merge push itself (c88eb0b8, 2026-08-20): 14 failed, 2442 passed, 125 skipped in ubuntu-latest nightly test-ci not ci1 (job), the scipy cases being the only failures. The existing scipy entry in pyproject.toml's filterwarnings ("Please use dok_matrix from the scipy.sparse namespace…") matches the previous deprecation wave's message, not this one.

Why nobody could see it. Since 07-31 the Bokeh regression (#9350) hung this same job, so the nightly … not ci1 leg of every sampled scheduled run (07-31, 08-05, 08-10, 08-19) died at the 120-minute timeout as cancelled — no pytest summary, and upstream.yml uploads no artifacts. Scheduled runs have been red nightly since 07-31; last green was 07-30. #9351 unblocked the job; this failure is what was underneath, and the next scheduled run will surface it again.

Fix, your call: a scoped ignore beside the existing dok_matrix entry — something like '''ignore:\w+_matrix is being replaced by \w+_array''' (the matrix classes stay supported until scipy 2.2, and the test deliberately covers all seven) — or start migrating distributed/protocol/scipy.py and its test to sparse arrays now. I'd take the scoped ignore.


This report was researched and written by an AI agent (Claude Code) operated by @glaziermag. Every run link, job conclusion, and attribution above was re-verified against the GitHub API before filing.

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

環境構築

はじめの一歩

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

dask/distributed のほかの issue

dask/distributed の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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