Skip to content

README: one badge row, one ecosystem section, and a link to the book repository - #68

Merged
stefan-jansen merged 3 commits into
mainfrom
docs/uniform-readme-header
Dec 4, 2026
Merged

stefan-jansen merged 3 commits into
mainfrom
docs/uniform-readme-header

Conversation

@stefan-jansen

Copy link
Copy Markdown
Contributor

Three badges in three different orders, two licence colours, three licence link targets, and hand-written Python ranges. ml4t-models badged 3.12+ while its classifiers stop at 3.14. The ecosystem section appeared under three titles at three depths and was absent from ml4t-data and ml4t-live, and none of the six linked the book repository that sends them their readers.

Every README now opens with the same four badges in the same order:

  • CI from ci.yml on main. All six render CI - passing, checked today.
  • PyPI version, unchanged.
  • Python versions from img.shields.io/pypi/pyversions, which reads the classifiers PyPI publishes. It renders 3.12 | 3.13 | 3.14 | 3.15 for ml4t-data and 3.12 | 3.13 | 3.14 for this one where that is what the classifiers say, so it cannot drift from them again.
  • Monthly downloads from pepy.tech. img.shields.io/pypi/dm answered rate limited by upstream service on three consecutive requests, so it is not usable.

The licence badge is gone from the row. GitHub already shows the licence in the About panel, and the README keeps its licence link.

Then the same ecosystem section in the same place in all six: the workflow image, a table of all six libraries with the current one marked and the other five linked to their repositories, the shared contracts in ml4t-specs, and the book repository. The image alt text now describes the workflow instead of naming the diagram.

Also pins the development interpreter. requires-python is >=3.12 with no upper bound, so uv builds a fresh .venv on CPython 3.15; torch publishes no 3.15 wheel, the [deep] extra cannot install, and eleven test modules fail to collect with No module named torch. .python-version holds 3.14, where all 466 tests collect.

The underlying inconsistency is left alone: requires-python admits 3.15 while the classifiers stop at 3.14, and the same is true of ml4t-backtest. Capping requires-python would also block a reader who wants the non-deep models on 3.15, so which way that goes is a packaging decision.

…repository

The six library READMEs carried three badges in three different orders, two licence
colours, three licence link targets, and hand-written Python ranges: this one badged
3.12+ while its classifiers stop at 3.14. The ecosystem section appeared under three
titles at three depths, and not one of the six linked the book repository that sends
them their readers.

The README now opens with the same four badges in the same order as its siblings -
CI, PyPI version, Python versions, monthly downloads - followed by the same ecosystem
section: the workflow image, a table of all six libraries with the current one marked,
the shared contracts in ml4t-specs, and the book repository. The Python badge reads
img.shields.io/pypi/pyversions, which takes the range from the classifiers PyPI
publishes and cannot drift from them again.

Also pins the development interpreter. requires-python is '>=3.12' with no upper
bound, so uv builds a fresh .venv on CPython 3.15; torch publishes no 3.15 wheel, the
[deep] extra cannot install, and eleven test modules fail to collect with
'No module named torch'. .python-version holds 3.14, where all 466 tests collect.
Copilot AI balanced review requested due to automatic review settings December 2, 2026 20:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@stefan-jansen
stefan-jansen merged commit f942ab0 into main Dec 4, 2026
46 of 48 checks passed
@stefan-jansen
stefan-jansen deleted the docs/uniform-readme-header branch December 4, 2026 21:49
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.

2 participants