Skip to content

Depend on crucible-marketdata, and check its floor by that name - #28

Merged
mspinola merged 1 commit into
mainfrom
claude/pypi-dist-name
Aug 9, 2026
Merged

Depend on crucible-marketdata, and check its floor by that name#28
mspinola merged 1 commit into
mainfrom
claude/pypi-dist-name

Conversation

@mspinola

@mspinola mspinola commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Companion to mspinola/marketdata#9, which publishes that package as crucible-marketdatamarketdata on PyPI belongs to an unrelated, abandoned project.

A dependency names the distribution, so both the declared dep and check_dep_floors.py's INTERNAL set follow.

The floor check matters more here than the declaration does. It exists precisely because editable siblings install at whatever HEAD was checked out and pip never enforces the declared floor — so a name it does not recognise is a floor it silently stops checking. That is the failure this repo built the script to prevent.

The import name is unchanged, and nothing in this repo imports it anyway — cotmetrics does.

Verified in a clean venv

cot-analyzer: internal dependency floors OK
  cotdata 0.3.0 satisfies '>=0.1.0'
  crucible-marketdata 0.1.0 satisfies '>=0.1.0'
  cotmetrics 0.3.0 satisfies '>=0.3.0'

131 tests pass, ruff clean over src and tests.

Note on #27

#27 (server clone/install steps) is still open and touches the same file region in server-side/README.md. Merge #27 first; this one does not conflict with it, but the deploy instructions there say pip install -e ../marketdata, which stays correct — an editable install resolves by path, not by distribution name.

Land with mspinola/marketdata#9 and mspinola/cotmetrics#12 — the three are one change.


Generated by Claude Code

… by that name

marketdata publishes as `crucible-marketdata`, because `marketdata` on PyPI
belongs to an unrelated abandoned project. A dependency names the DISTRIBUTION,
so both the declared dep and check_dep_floors' INTERNAL set follow. The floor
check matters here more than the declaration does: it exists precisely because
editable siblings install at whatever HEAD was checked out and pip never
enforces the declared floor, and a name it does not recognise is a floor it
silently stops checking.

The import name is unchanged, and nothing in this repo imports it anyway —
cotmetrics does.

Verified in a clean venv: floors OK for all three, 131 tests pass, ruff clean.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jo4iovRfc2fzE9MwcLp7r2
@mspinola
mspinola merged commit d7d4c3e into main Aug 9, 2026
3 of 6 checks passed
@mspinola
mspinola deleted the claude/pypi-dist-name branch August 9, 2026 02:56
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