Skip to content

Chore: remove stale ML-pin comments in pyproject.toml#55

Merged
jonsykescherre merged 1 commit into
mainfrom
chore/remove-stale-ml-pin-comments
Jun 30, 2026
Merged

Chore: remove stale ML-pin comments in pyproject.toml#55
jonsykescherre merged 1 commit into
mainfrom
chore/remove-stale-ml-pin-comments

Conversation

@jonsykescherre

Copy link
Copy Markdown
Contributor

Summary

  • Remove the two concepts-ml comments in tools/extractors/pyproject.toml that warned about torch 2.2 — both behaviors they describe (numpy 2.x ABI break, transformers 5.x NameError) were specific to torch 2.2.
  • On main today, pip resolves torch 2.12.1, sentence-transformers 5.6.0, transformers 5.12.1, and numpy 2.4.6. The concepts-ml CI job exercises the full embedding pass against that resolution and is green.
  • The numeric pins themselves are preserved — only the stale narrative is removed.

Why now

Confirmed in the post-merge run of #50 (Extractors run): the resolved versions exceed what either comment described by ~10 minor releases, and CI passes. Future readers were going to keep stumbling on "torch 2.2" framing.

Test plan

  • markdown, yaml, crosswalk-schema green on this PR
  • concepts-ml already green on main with the relaxed pins (run 28477800714)
  • No code change, comment-only deletion

The two comments in `concepts-ml` (`pyproject.toml`) were written when
torch 2.2 was the resolved version and warned about numpy 2.x ABI breaks
and a transformers 5.x NameError. Both were torch-2.2-specific. On main
today, pip resolves torch 2.12, sentence-transformers 5.6, transformers
5.12, and numpy 2.4 — concepts-ml CI passes against that combination.
The comments now mislead more than they help; the pins themselves are
preserved as belt-and-braces.
@jonsykescherre jonsykescherre requested a review from a team as a code owner June 30, 2026 23:03
@jonsykescherre jonsykescherre merged commit ec21368 into main Jun 30, 2026
8 checks passed
@jonsykescherre jonsykescherre deleted the chore/remove-stale-ml-pin-comments branch June 30, 2026 23:12
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