Drop datashader from packaging and install docs
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 45/100
- Tipo di issue
- Refactoring
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Tranquilla
- Stack tecnologico
- matplotlib, python
- Ambito
- build-system, documentation
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 972
- Fork
- 92
- Merge medio
- 2g 12h
- PR unite (30g)
- 7
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di xarray-contrib/xarray-spatial
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
xarray-contrib/xarray-spatial#3726 ·
-
api area:surface bug severity:medium sweep-api-consistency
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
xarray-contrib/xarray-spatial#3712 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
xarray-contrib/xarray-spatial#3710 ·
-
benchmarks: cupy branch in get_xr_dataarray never raises NotImplementedError on non-GPU hosts Apertabug
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
xarray-contrib/xarray-spatial#3707 ·
-
area:surface documentation user-guide-example
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
xarray-contrib/xarray-spatial#3464 ·
Tutte le issue di xarray-contrib/xarray-spatial
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
zostera/django-bootstrap4#894 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
use-agent-os/agent-os#3276 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
NousResearch/hermes-agent#117848 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
zilliztech/memsearch#759 ·