Summary
[project]
name = "asdf"
version = "0.0.1"
requires-python = ">=3.14"
readme = "README.md"
license = { text = "MIT" }
dependencies = [
"playwright==1.58.0",
]
[tool.uv]
required-environments = [
"sys_platform == 'win32' and platform_machine == 'x86_64'",
]
> uv sync
× No solution found when resolving dependencies for split (markers: platform_machine == 'x86_64' and sys_platform == 'win32'):
╰─▶ Because playwright==1.58.0 has no `platform_machine == 'x86_64' and sys_platform == 'win32'`-compatible wheels and your project depends on playwright==1.58.0, we can
conclude that your project's requirements are unsatisfiable.
hint: The resolution failed for an environment that is not the current one, consider limiting the environments with `tool.uv.environments`.
as far as i can tell this is a false positive as playwright does have win32 x86_64 wheels: see https://pypi.org/project/playwright/#playwright-1.58.0-py3-none-win_amd64.whl
my machine also matches that environment, and when commenting out the required-environments setting uv successfully uses the wheel when installing it with uv sync
this only seems to occur with playwright, all my other dependencies that publish x86_64 windows wheels seem to work with this setting.
Platform
Windows 11 x86_64
Version
0.10.8 (c021be3 2026-03-03)
Python version
3.14.3