Skip to content

Honor OPENVAX_DATA_CACHE, add pyensembl dirs and --offline (v2.38.0) - #546

Merged
iskandr merged 1 commit into
mainfrom
feat/openvax-cache-offline-dirs-545
Nov 23, 2026
Merged

iskandr merged 1 commit into
mainfrom
feat/openvax-cache-offline-dirs-545

Conversation

@iskandr

@iskandr iskandr commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Closes #545.

Summary

  • Adopt datacache>=1.34.0,<2.0.0.
  • Honor OPENVAX_DATA_CACHE as a shared fallback behind PYENSEMBL_CACHE_DIR ($OPENVAX_DATA_CACHE/pyensembl) while keeping existing platform cache directories unchanged.
  • Add pyensembl dirs [--json] to report the resolved cache root, why it resolved there (origin/detail), offline status, and per-subdirectory disk usage without creating directories or touching the network.
  • Add --offline CLI flag (and honor OPENVAX_OFFLINE / DATACACHE_OFFLINE) to fail fast with a clean CLI error on remote download attempts while serving local caches, and honor OPENVAX_NO_PROGRESS / DATACACHE_NO_PROGRESS via datacache.should_show_progress.
  • Bump version to 2.38.0 with RELEASE_NOTES.md.

Verification

  • ./lint.sh passes (ruff + mypy)
  • ./test.sh passes (1191 tests, 94% coverage)
  • ./docs.sh passes (27 pages, 2509 internal links)

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 93.629% (-0.04%) from 93.667% — feat/openvax-cache-offline-dirs-545 into main

@iskandr
iskandr merged commit b1b3392 into main Nov 23, 2026
9 checks passed
@iskandr
iskandr deleted the feat/openvax-cache-offline-dirs-545 branch November 23, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Honor OPENVAX_DATA_CACHE fallback, global OPENVAX_OFFLINE, and unified cache location reporting

2 participants