Skip to content

fix(deps): close public extras under [all] (PS-221) - #158

Open
ywatanabe1989 wants to merge 1 commit into
developfrom
fix/close-extras-all-ps221
Open

fix(deps): close public extras under [all] (PS-221)#158
ywatanabe1989 wants to merge 1 commit into
developfrom
fix/close-extras-all-ps221

Conversation

@ywatanabe1989

Copy link
Copy Markdown
Collaborator

PS-221 public-extra-not-closed-under-all (severity E, blocking).

Before: 26 findings. After: 0.

The dev and docs extras are public but were absent from all, so pip install scitex-io[all] silently under-installed 26 requirements — a user runs the documented "give me everything" install and still lacks the feature.

Fixed by closure-by-inclusion using the self-referencing form, which cannot drift when a referenced extra changes. This matches the shape already shipped by scitex-genai and scitex-stats on develop.

The old comment claimed a self-reference "fails to resolve during editable installs". That constraint applies to a self-reference inside [dev] (still enumerated literally here), not to [all]; scitex-genai and scitex-stats ship the self-referencing all today. Comment corrected accordingly.

No source changes; pyproject.toml only. Verified with scitex-dev ecosystem audit-project scitex-io --rule PS-221 (0 findings) and an uv build --sdist metadata build.

The `dev` and `docs` extras were public but absent from `all`, so
`pip install scitex-io[all]` silently under-installed 26 requirements.
Close by inclusion via the self-referencing form, matching scitex-genai
and scitex-stats.
@ywatanabe1989

Copy link
Copy Markdown
Collaborator Author

CI attribution (not caused by this PR):

pytest-matrix is red on 1 failed, 2540 passed. The single failure is the audit-conformance gate reporting 3 errors — PS-202 / PS-204 (src/scitex_io/_linter has no mirror dir; test__linter_plugin.py and test__linter_rules.py are orphan tests).

Control: running audit-project against a pristine origin/develop checkout (no changes) reports 32 errors — the same 3 PS-202/PS-204 plus the 26 PS-221 this PR removes. So this PR takes the count 29 → 3 and introduces nothing.

The remaining 3 are pre-existing structural debt from the _linter reorganisation and are out of scope here.

sphinx and import-smoke pass.

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