You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When resolving transformers, the marker expressions on the forks are non-sensical:
DEBUG Splitting resolution on opencv-python over numpy
DEBUG Pre-fork split universal took 0.017s
DEBUG Solving split python_version >= '3.12' and platform_machine == 'aarch64' and platform_system == 'Darwin' and platform_system == 'Linux'
DEBUG Split python_version >= '3.12' and platform_machine == 'aarch64' and platform_system == 'Darwin' and platform_system == 'Linux' took 1.075s
DEBUG Solving split python_version == '3.9' and platform_machine == 'arm64' and platform_system == 'Darwin'
DEBUG Split python_version == '3.9' and platform_machine == 'arm64' and platform_system == 'Darwin' took 0.270s
platform_system == 'Darwin' and platform_system == 'Linux' is ∅, i.e. those split can never be reached, and the union of the splits is not universal.
I've tried to minimize is a bit, but the problem did not occur when using uv pip install --universal or when using direct dependencies with `tool.uv.source, i.e. i think it needs some previous (dummy?) splits, and hence the half-done MRE:
Use this pyproject.toml, edit the overrides to point to two dummy projects. opencv-python splits, foo is our reporter.
Run this on a 64-bit x86 machine or edit the marker to something else that's your machine but excluded in the lock markers. Run uv lock -v. In the lockfile we find
When resolving transformers, the marker expressions on the forks are non-sensical:
platform_system == 'Darwin' and platform_system == 'Linux'
is ∅, i.e. those split can never be reached, and the union of the splits is not universal.I've tried to minimize is a bit, but the problem did not occur when using
uv pip install --universal
or when using direct dependencies with `tool.uv.source, i.e. i think it needs some previous (dummy?) splits, and hence the half-done MRE:Use this pyproject.toml, edit the overrides to point to two dummy projects.
opencv-python
splits,foo
is our reporter.Run this on a 64-bit x86 machine or edit the marker to something else that's your machine but excluded in the lock markers. Run
uv lock -v
. In the lockfile we findand anyio 4.4.0, missing our constraint! It looks like we're only solving for a subset of markers in this case.
The marker on opencv-python -> numpy also looks wrong:
The text was updated successfully, but these errors were encountered: