[BUG]: preparation.lock install fails on macOS
Maintainers usually reply within 1 day
@darshith2527-sketch is already working on this.
Since Nov 22, 2026.
- #368 by @darshith2527-sketch — open
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- build-system, machine-learning
Research direction
Read CONTRIBUTING.md and inspect requirements/preparation.lock, especially the markupsafe hashes and torch==2.14.0+cpu entry. Reproduce the failure with the issue's venv and pip install commands on macOS, then check how platform-specific requirements are represented while keeping Linux installation intact. Done when the documented install succeeds on macOS and Linux, or CONTRIBUTING.md clearly states that macOS is unsupported.
Written by the indexing model from the issue text.
Description
I was setting things up on my Mac (Apple Silicon, Python 3.12.14, pip 26.3) using the steps in CONTRIBUTING.md and the install fails. Looks like two separate problems.
The first is markupsafe. The lock only has hashes for the Linux and Windows wheels (Windows got added in #318), so pip rejects the Mac wheel:
markupsafe==3.0.3 from https://download.pytorch.org/whl/markupsafe-3.0.3-cp312-cp312-macosx_11_0_arm64.whl:
Expected sha256 26a5784ded40c9e318cfc2bdb30fe164bdb8665ded9cd64d500a34fb42067b1c
or d6dd0be5b5b189d31db7cda48b91d7e0a9795f31430b7f271219ab30f1d3ac9d
Got 1872df69a4de6aead3491198eaf13810b565bdbeec3ae2dc8780f14458ec73ce
1872df... matches the hash PyPI lists for that file, so nothing's wrong with the download, it just isn't in the lock. I went through the rest of the packages and they all have their Mac hashes. markupsafe is the only one missing.
The second is torch. I added the markupsafe hash to a local copy of the lock to see how far it gets, and it stops at:
ERROR: Could not find a version that satisfies the requirement torch==2.14.0+cpu (from versions: ... 2.14.0, 2.14.1, 2.15.0)
ERROR: No matching distribution found for torch==2.14.0+cpu
There's no +cpu build of torch for Mac. On Mac the wheel is just 2.14.0.
Steps to reproduce:
uv venv --seed -p 3.12 venv
source venv/bin/activate
python -m pip install --require-hashes -r requirements/preparation.lock
A fix that leaves Linux alone could be a Mac-only torch line (torch==2.14.0 ; sys_platform == "darwin") plus the missing markupsafe hash. I'd rather not regenerate the whole lock, since rebuild_prep.sh depends on it. And if Mac isn't meant to be supported here, it'd help to say so in CONTRIBUTING.
Happy to put up a PR if that approach works for you.
- Dominant language
- Python
- Stars
- 27
- Forks
- 72
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 45
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/OpenVerifiableLLM
-
[BUG]: ovl.py verify --weights crashes with AttributeError on checkpoint .pt filesPossibly taken @Anurag1428 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AOSSIE-Org/OpenVerifiableLLM#387 · 1 comment ·
Maintainers usually reply within 1 day
-
[BUG]: verify_segment accepts empty, wrong-phase, or non-positive fork exclusions as MATCHPossibly taken @Arnav0107 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OpenVerifiableLLM#385 · 3 comments ·
Maintainers usually reply within 1 day
-
[BUG]: Forked runs omit timestamps for inherited chain entriesPossibly taken @pavithra-r06 claimed this 9 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AOSSIE-Org/OpenVerifiableLLM#334 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
[BUG]: review_ckpt.py passes a run that has .pt files no chain entry coversPossibly taken @arshil42 claimed this 9 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AOSSIE-Org/OpenVerifiableLLM#332 · 4 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
[BUG]: DigiCert timestamp verification fails on Windows because system_ca() ignores Windows CA bundlesPossibly taken @pavithra-r06 claimed this 9 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AOSSIE-Org/OpenVerifiableLLM#290 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in AOSSIE-Org/OpenVerifiableLLM
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
bad-antics/lateralus-lang#1140 ·
Maintainers usually reply within 4 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 3 days
-
fixture good first issue help wanted vendor:cisco
Difficulty 1/5 1-3 hours Newbie friendliness 85/100