Skip to content

chore: drop unused deps, move openpyxl to an extra, disable dead metrics gate - #7

Merged
thorwhalen merged 1 commit into
masterfrom
chore/cleanup-deps-and-metrics-gate
Sep 22, 2026
Merged

thorwhalen merged 1 commit into
masterfrom
chore/cleanup-deps-and-metrics-gate

Conversation

@thorwhalen

Copy link
Copy Markdown
Member

Summary

Two of the three cleanup items from #4 (items 1 and 3 — the smallest-blast-radius ones; item 2, removing 66 stale tracked docs/ files, left for explicit maintainer sign-off as the issue itself flagged):

  1. Unused dependency: py2store was declared in [project] dependencies but is never imported anywhere in focal/ (only appears in a README example fence) — dropped.
  2. openpyxl moved to an extra: it's a real (indirect, via pandas' xlsx engine) runtime need only for the optional xlsx codec path (extension_store.py's df_to_xlsx_bytes), so it belongs behind an extra rather than a hard dependency — moved to a new excel optional-dependencies group, matching how numpy/pandas are already optional (lazy-imported under suppress(ModuleNotFoundError)).
  3. Dead metrics gate disabled: [tool.wads.ci.metrics] was enabled = true pointing at .github/umpyre-config.yml, which doesn't exist — a degraded no-op. Disabled, matching the same fix already applied in i2mint/git2py.

No fleet dependents (fleet_dependents.json: focal -> []).

Test plan

  • wads ci-local: 8 passed, format/lint/build all green (3.10 + 3.12) — including with py2store/openpyxl absent from the environment.
  • gh pr checks --watch green before merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_011HSBVhDjRU4apSLcRkavv9

…ics gate

Three unrelated cleanup items from #4, all reversible/additive-metadata-only:

1. py2store was declared in [project] dependencies but is never imported
   anywhere in focal/ (only appears in README example fences) -- dropped.
2. openpyxl is a real (indirect, via pandas' xlsx engine) runtime need only
   for the optional xlsx codec path (extension_store.py's df_to_xlsx_bytes),
   so it belongs behind an extra rather than a hard dependency -- moved to
   a new [project.optional-dependencies] "excel" group, matching how
   numpy/pandas are already optional (lazy-imported under
   suppress(ModuleNotFoundError)).
3. [tool.wads.ci.metrics] was enabled=true pointing at
   .github/umpyre-config.yml, which does not exist -- a degraded no-op gate.
   Disabled, matching the same fix already applied in i2mint/git2py.

Not done here (left open in #4, still the biggest "removes something" item):
removing the 66 stale tracked docs/ files -- more visible/higher-blast-radius
than the two dependency-metadata edits above, left for explicit maintainer
sign-off as the issue itself flagged.

No fleet dependents (fleet_dependents.json: focal -> []).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@thorwhalen
thorwhalen merged commit 722de15 into master Sep 22, 2026
12 checks passed
@thorwhalen
thorwhalen deleted the chore/cleanup-deps-and-metrics-gate branch September 22, 2026 14:27
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.

1 participant