Repository navigation
README: one badge row, one ecosystem section, and a link to the book repository - #68
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three badges in three different orders, two licence colours, three licence link targets, and hand-written Python ranges.
ml4t-modelsbadged3.12+while its classifiers stop at 3.14. The ecosystem section appeared under three titles at three depths and was absent fromml4t-dataandml4t-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.ymlonmain. All six renderCI - passing, checked today.img.shields.io/pypi/pyversions, which reads the classifiers PyPI publishes. It renders3.12 | 3.13 | 3.14 | 3.15forml4t-dataand3.12 | 3.13 | 3.14for this one where that is what the classifiers say, so it cannot drift from them again.img.shields.io/pypi/dmansweredrate limited by upstream serviceon 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-pythonis>=3.12with no upper bound, souvbuilds a fresh.venvon CPython 3.15; torch publishes no 3.15 wheel, the[deep]extra cannot install, and eleven test modules fail to collect withNo module named torch..python-versionholds 3.14, where all 466 tests collect.The underlying inconsistency is left alone:
requires-pythonadmits 3.15 while the classifiers stop at 3.14, and the same is true ofml4t-backtest. Cappingrequires-pythonwould also block a reader who wants the non-deep models on 3.15, so which way that goes is a packaging decision.