Mergedholoviz/datashader#15453.6Kstars
ci: Stop downloading the unused NYC taxi CSV
By Mohd Maaz Khan, merged by hoxbro into holoviz/datashader on 19 Oct 2026
Conversation
maaz7409opened this pull request on 16 Oct 2026description.mdAuthor Description
Running
pixi run download-data(also part ofpixi run setup-dev) fetches a 432 MB zip from S3 and unpacks a 1.5 GBexamples/data/nyc_taxi.csv. Nothing in the repo reads that file any more: since #1462 the examples load the taxi data throughhvsampledata, which the same script already downloads (hvs.download("nyc_taxi_remote")), and no test, benchmark or notebook refers tonyc_taxi.csv.The same download runs in CI, because
holoviz_tasks/pixi-installrunsdownload-databy default in the test and docs jobs (only the build jobs turn it off). For example, every unit, core and benchmark job of 38878999117 logs "Downloading NYC Taxi Data 1 of 1".This PR removes the
pyct.cmd.fetch_data()call fromscripts/download_data.py.examples/datasets.ymlstays, becausedatashader.fetch_data()still falls back to the copy shipped inside the package. That function was deprecated in 0.19.0 (#1462), and its warning says it will be removed in 0.20, sodatasets.ymlcan be deleted in the same change that removes it. Existing local copies of the CSV aren't touched.It also adds
scripts/**to thecodepaths-filter intest.yaml. Every test job runsdownload_data.pywhile setting up its environment, but withoutscripts/in the filter, a PR that only changes the script skips the unit, core, benchmark and example jobs, so CI wouldn't have run this change at all.Reproduce: run
python scripts/download_data.pywith an empty cache (XDG_CACHE_HOME=$(mktemp -d)) and noexamples/data/nyc_taxi.csv:main: also downloads the zip and writes the 1,510,609,630-byte csv (28.7 s here).- this PR: downloads only the geodatasets (60 MB) and
hvsampledata(253 MB) files the notebooks use, and nothing new appears inexamples/data/.
I also ran
pre-commit run --all-files(all hooks pass),zizmorontest.yaml(no findings), and the getting-started introduction notebook, which uses the taxi data, without the CSV present (3/3 cells pass).AI Disclosure
Tool & Model: Claude Code + Opus 5.5 (high) Usage: Traced which data the download script fetches and what still uses it, ran the script and the taxi notebook before and after, checked the CI logs.
- I have tested all AI-generated content in my PR.
- I take responsibility for all AI-generated content in my PR.
Checklist
- Tests are Passing.
hoxbrocommented on 19 Oct 2026Member Thank you.
I think you could make the AI output a little less verbose. These changes could have been explained in 1 to 2 sentences.
hoxbroreviewed on 19 Oct 2026
.github/workflows/test.yamlline 68
@@ -65,6 +65,7 @@ jobs: code: - 'datashader/**' - 'examples/**'+ - 'scripts/**'
hoxbrocommented on 19 Oct 2026Member I don't want to run test CI when doing a change in scripts as it also have unrelated files. I understand why you did it for this change though.
maaz7409commented on 19 Oct 2026Author Thank you.
I think you could make the AI output a little less verbose. These changes could have been explained in 1 to 2 sentences.
Okay sure, will keep this mind.
hoxbromerged this pull request on 19 Oct 2026
Copied from GitHub when this site was built; comments by bots are left out.