You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The version in pyproject.toml is still 0.1.0, but the code has advanced far past what's published on PyPI. Installing from PyPI gives a build that lacks the current producer/databento CLI:
The repo's src/cotdata/update.py defines --metadata, --require-final, --final-cutoff, --ingest-databento, --build-databento, --full, --check, --reconcile, --prices-yahoo, etc. — none of which exist in the PyPI 0.1.0 build. So anyone who follows the setup docs' pip install path gets a package that imports fine, reports version 0.1.0, and then errors on the documented commands.
Two compounding issues:
PyPI is stale — the published artifact predates the databento producer work (ADR-0006), the ingest hardening, and the --require-final price workflow.
The version was never bumped, so the stale PyPI build and a fresh editable clone install both report 0.1.0. The version string is useless for telling them apart — you have to inspect cotdata-update --help.
Consider a release checklist / CI gate so the PyPI version can't drift this far behind main again (e.g. fail CI if pyproject.toml version is unchanged when the CLI surface changes, or a tag-triggered publish workflow).
Problem
The version in
pyproject.tomlis still0.1.0, but the code has advanced far past what's published on PyPI. Installing from PyPI gives a build that lacks the current producer/databento CLI:The repo's
src/cotdata/update.pydefines--metadata,--require-final,--final-cutoff,--ingest-databento,--build-databento,--full,--check,--reconcile,--prices-yahoo, etc. — none of which exist in the PyPI 0.1.0 build. So anyone who follows the setup docs'pip installpath gets a package that imports fine, reports version0.1.0, and then errors on the documented commands.Two compounding issues:
--require-finalprice workflow.0.1.0. The version string is useless for telling them apart — you have to inspectcotdata-update --help.Impact
pip install "cotdata[norgate]"producer path is broken.pip install cotdataconsumer is pinned to long-obsolete code with no signal that they're behind.Proposed fix
pyproject.tomlto something clearly ahead of0.1.0(e.g.0.2.0), matching the current CLI surface.pip install cotdata/pip install "cotdata[norgate]"for the non-development cases, and drop the "PyPI is stale" warning.mainagain (e.g. fail CI ifpyproject.tomlversion is unchanged when the CLI surface changes, or a tag-triggered publish workflow).Repro
vs. an editable install from a current clone, which reports the same
0.1.0but has the full CLI.