fix(deps): require reflex-base >= 0.9.12 in the packages that import its new API

Merged
MA
2mo ago
+10-5

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Changes To Core Features

What's wrong. #7121 split CommonTag out of Tag into reflex_base.components.tags, and the same release train added the reflex_base.vars.special module. Five component packages started importing those without raising their declared floor on reflex-base, so the metadata they published allows a reflex-base that has neither:

package (released)declaredneeds
reflex-components-core 0.9.10reflex-base >= 0.9.9>= 0.9.12
reflex-components-radix 0.9.10reflex-base >= 0.9.7>= 0.9.12
reflex-components-markdown 0.9.4reflex-base >= 0.9.0>= 0.9.12
reflex-components-gridjs 0.9.2reflex-base >= 0.9.0>= 0.9.12
reflex-components-recharts 0.9.4reflex-base >= 0.9.8>= 0.9.12

Who it hits. pip install reflex is fine — the umbrella package pins reflex-base >= 0.9.12.dev0 and drags a good version in. Anything that resolves the component packages without that constraint is not: an existing environment upgrading only reflex-components-core, a project depending on one of them directly, or a downstream distribution such as reflex-enterprise. Those get ImportError: cannot import name 'CommonTag' from 'reflex_base.components.tags' at import time (or a ModuleNotFoundError for reflex_base.vars.special on recharts).

Why CI only noticed now. scripts/check_min_deps.py compares pyright errors at the declared floor against the latest PyPI resolution and fails only on errors that are new at the floor. While reflex-base 0.9.12 was still unpublished, CommonTag was missing at both ends, so the errors cancelled out and the check passed. It went red on the first push after 0.9.12 reached PyPI — run 2797 (the release commit) passed, run 2799 failed with an identical source tree. A follow-up PR closes that blind spot so this is caught at PR time.

Verification

main is red for exactly these five packages; with this change they pass:

$ uv run python scripts/check_min_deps.py -j 5 \
    reflex-components-core reflex-components-radix reflex-components-markdown \
    reflex-components-gridjs reflex-components-recharts

  PASS               reflex-components-core
  PASS               reflex-components-gridjs
  PASS               reflex-components-markdown
  PASS               reflex-components-radix
  PASS               reflex-components-recharts

All 5 package(s) passed.

uv lock --check is unaffected — the workspace resolves these from local sources.

News fragments are included so the corrected metadata reaches users on the next release of each package.

šŸ¤– Generated with Claude Code

https://claude.ai/code/session_01RYkJBgnaybdNTyWLZVWmBm


Generated by Claude Code