Drop datashader from packaging and install docs
還沒有人認領這個 Issue。
評估
- 難度
- 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 內容生成。
描述
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.0line fromsetup.cfg(theexamplesextra). - Make sure
matplotlib(and any colormap source the notebooks now rely on) is present in the appropriate extra. - Remove the
datashaderrow fromdocs/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
- 平均合併
- 3 天 8 小時
- 30 天內合併 PR
- 5
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
xarray-contrib/xarray-spatial 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 68/100
xarray-contrib/xarray-spatial#3726 ·
-
api area:surface bug severity:medium sweep-api-consistency
難度 2/5 1-3 小時 新手友好度 82/100
xarray-contrib/xarray-spatial#3712 ·
-
難度 1/5 1 小時以內 新手友好度 88/100
xarray-contrib/xarray-spatial#3710 ·
-
bug
難度 1/5 1-3 小時 新手友好度 88/100
xarray-contrib/xarray-spatial#3707 ·
-
area:surface documentation user-guide-example
難度 2/5 1-3 小時 新手友好度 72/100
xarray-contrib/xarray-spatial#3464 ·
查看 xarray-contrib/xarray-spatial 的全部 Issue
相似的 Issue
-
[Bug] @deck.gl/arcgis dist import resolves to unpublished @deck.gl/core source path (9.3.11, 9.4.0)未關閉
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
workflow: a tick's dispatch counts as 'only this step', and no review self-grants a round unattended未關閉workflow
難度 2/5 1-3 小時 新手友好度 85/100
kristofdegrave/homeassistant-smart-charging#1505 ·
維護者通常 1 天內回覆
-
metadata submission
難度 2/5 1-3 小時 新手友好度 82/100
-
bug
難度 2/5 1-3 小時 新手友好度 65/100
canonical/content-cache-operator#163 · 1 則留言 ·
維護者通常 1 天內回覆
-
[submission]未關閉submission
難度 1/5 1 小時以內 新手友好度 65/100
leanprover/lean-eval-submissions#1852 ·
維護者通常 1 天內回覆