Skip to content

Depend on crucible-marketdata, the distribution name - #12

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

Depend on crucible-marketdata, the distribution name#12
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-marketdata because marketdata on PyPI is an unrelated, abandoned project (marketData 0.2.0, last released 2020-04-19 — PyPI normalises both to the same name).

A dependency names the distribution, so this has to follow. Left as marketdata>=0.1.0 it would either fail to resolve against the editable sibling or — worse — succeed by fetching a stranger's 2020 module.

The import is untouched. Every call site still says import marketdata, which is the whole reason the distribution was renamed rather than the package.

Verified in a clean venv, and that mattered

My working venv had a stale marketdata dist-info sitting beside the new crucible-marketdata, so pip check passed on a leftover and proved nothing:

crucible-marketdata 0.1.0   /workspace/marketdata
marketdata          0.1.0   /workspace/marketdata     ← stale, from before the rename

From scratch, only crucible-marketdata installs, import marketdata resolves, and 238 tests pass. Ruff clean.

Land with mspinola/marketdata#9 and mspinola/cot-analyzer#28 — the three are one change.


Generated by Claude Code

marketdata publishes as `crucible-marketdata` because `marketdata` on PyPI is an
unrelated, abandoned project. A dependency names the DISTRIBUTION, so this had
to follow: left as `marketdata>=0.1.0` it would either fail to resolve against
the editable sibling or, worse, succeed by fetching a stranger's 2020 module.

The import is untouched. Every call site still says `import marketdata`, which
is the whole reason the distribution was renamed instead of the package.

Verified in a clean venv rather than the working one. The working venv had a
stale `marketdata` dist-info beside the new `crucible-marketdata`, so `pip
check` passed on a leftover and proved nothing; from scratch, only
crucible-marketdata installs, `import marketdata` resolves, and 238 tests pass.

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