Drop datashader from packaging and install docs

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
matplotlib, python

調査の方向性

Wait until the listed source, benchmark, notebook, and example issues are complete, then inspect the examples extra in setup.cfg and the dependency table in docs/source/getting_started/installation.rst. Remove the remaining datashader entries, ensure the stated plotting dependency is covered, and verify a clean examples install, the xrspatial import, and the specified grep command.

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

説明

enhancement infrastructure

Reason or Problem

datashader is currently listed under the examples extra in setup.cfg. Once the source code, user-guide notebooks, and example notebooks no longer import it, the dependency declaration should go away so a fresh pip install xarray-spatial[examples] no longer pulls datashader.

This is the closing step of the wider effort to remove datashader as a dependency. xarray-spatial's own rasterize() (xrspatial/rasterize.py, available as arr.xrs.rasterize(...)) covers the vector-rasterization use cases, and matplotlib covers the visualization use cases.

Proposal

  • Remove the datashader >= 0.15.0 line from setup.cfg (the examples extra).
  • Make sure matplotlib (and any colormap source the notebooks now rely on) is present in the appropriate extra.
  • Remove the datashader row from docs/source/getting_started/installation.rst.

Done when

  • A clean environment installs xarray-spatial without datashader, and python -c "import xrspatial" succeeds.
  • grep -rn datashader xrspatial/ setup.cfg docs/source/getting_started/ returns nothing.

The only datashader references left in the repo after this are the comparison benchmark and the historical-credit prose, both kept on purpose.

Blocked by

This must land last, after every issue below, otherwise [examples] users lose datashader while the notebooks still import it.

Source and benchmark:

  • #3451 Remove canvas_like and datashader references from source code
  • #3452 Guard the datashader import in the rasterizer benchmark

User-guide notebooks:

  • #3453 surface
  • #3454 proximity
  • #3455 focal
  • #3456 zonal
  • #3457 classification
  • #3458 multispectral
  • #3459 fire
  • #3460 pathfinding

Example notebooks and script:

  • #3461 Pathfinding_Austin_Road_Network
  • #3462 pharmacy-deserts
  • #3463 classification-methods
  • #3464 animated_hillshade.py
主要言語
Python
スター
972
フォーク
92
平均マージ
2日 12時間
マージ済み PR(30日)
7

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

xarray-contrib/xarray-spatial のほかの issue

xarray-contrib/xarray-spatial の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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