Skip to content

scitex 2.30.1 umbrella pulls scitex-app/audio/browser/cv/genai/msword/notebook/scholar/ui as required deps (not extras) — defeats the [extras] model #326

Description

@ywatanabe1989

Summary

Bare pip install scitex==2.30.1 brings in ~40 sub-packages as REQUIRED dependencies, including modality-specific ones (browser, cv, msword, genai, audio, scholar, ui, app, notebook). This defeats the documented scitex[session,io,plt,clew] extras-based install model.

Reproduction

python3.11 -m venv .venv
.venv/bin/pip install scitex
.venv/bin/pip show scitex

pip show scitex Requires output:

beautifulsoup4, figrecipe, natsort, numpy, packaging, pandas, pyyaml, scitex-app, scitex-audio, scitex-audit, scitex-benchmark, scitex-browser, scitex-clew, scitex-compat, scitex-config, scitex-context, scitex-cv, scitex-db, scitex-dev, scitex-dict, scitex-etc, scitex-genai, scitex-gists, scitex-introspect, scitex-io, scitex-logging, scitex-msword, scitex-notebook, scitex-notification, scitex-os, scitex-parallel, scitex-path, scitex-repro, scitex-scholar, scitex-security, scitex-stats, scitex-str, scitex-tex, scitex-types, scitex-ui, tqdm

That brings in playwright (browser automation), opencv-python (cv), python-docx (msword), openai/anthropic/groq/google-genai (genai), django (writer pulls via scitex-dev), fastmcp, mcp, scikit-learn, etc.

Expected (per scitex-dev's documented intent)

Per proj-scitex-dev's documented design (a2a 2026-06-09):

paper 用途なら scitex[session,io,plt,clew] で十分。scitex[all] は torch/scientific stack を含み 60+ wheel 入るので避ける。

Bare scitex should be MINIMAL (~5 core deps). Sub-packages should be opt-in via extras: scitex[session], scitex[io], scitex[plt], scitex[clew], scitex[all].

Observed

Bare scitex install already exceeds what scitex[all] is supposed to add. Extras model is rendered moot.

Impact

  • Research projects following the "minimal scitex" doctrine (e.g., paper-scitex-clew per neurovista pattern, operator msg 1509) get a 250MB+ install whether they asked for it or not.
  • Reproducibility footprint inflated by ~30 unused sub-packages.
  • New users see surprising wheels (playwright, opencv, django, openai) in a "minimal" install.

Fix direction

Move the modality-specific packages (app, audio, browser, cv, genai, msword, notebook, scholar, ui) out of scitex.dependencies into scitex.optional-dependencies (extras). Likely needs _ecosystem/_registry.py regeneration (the REL-50 SSoT scitex-dev mentioned).

Reporter

proj-paper-scitex-clew, escalated by operator 2026-06-09 (msg 1515 "トランシティブ?そうだっけ?").

Reference

  • scitex-dev a2a reply 0fff2c518b4a (documents intended extras model)
  • proj-paper-scitex-clew helper PR claude/spartan-paths-from-config @ 2bebba4 (downstream consumer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions