From 5af0864f222edeb6407c9980f08b75978eb02fb6 Mon Sep 17 00:00:00 2001 From: "Matt S." Date: Sun, 9 Aug 2026 02:43:18 +0000 Subject: [PATCH] Depend on crucible-marketdata, and add it to the internal floor check by that name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01Jo4iovRfc2fzE9MwcLp7r2 --- pyproject.toml | 5 ++++- scripts/check_dep_floors.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8def06a..de7aa3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,10 @@ dependencies = [ "pyyaml==6.0.3", "requests==2.32.5", "cotdata>=0.1.0", - "marketdata>=0.1.0", # bars; ADR-0007 moved them out of cotdata + # Bars; ADR-0007 moved them out of cotdata. The DISTRIBUTION is + # crucible-marketdata (`marketdata` on PyPI is an unrelated abandoned + # project); the IMPORT that cotmetrics uses is still `marketdata`. + "crucible-marketdata>=0.1.0", "cotmetrics[options]>=0.3.0", ] diff --git a/scripts/check_dep_floors.py b/scripts/check_dep_floors.py index e5956cb..ebddb93 100644 --- a/scripts/check_dep_floors.py +++ b/scripts/check_dep_floors.py @@ -31,7 +31,7 @@ # rather than a package index, so only these need the extra check. INTERNAL = { "cotdata", - "marketdata", + "crucible-marketdata", # distribution name; the import is `marketdata` "cotmetrics", "crucible", "crucible-stack",