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 trying to installed ansible-lint n a uv-managed virtual environment, with uv add ansible-lint, uv will only installed the version 6.8.7 which seems to be the last version with a dependency tree that uv can resolve.
So I tried to force a more recent version by specifying the version in pyproject.toml (for example >=24.9.2), but in that case I get the following dependency tree solving error:
× No solution found when resolving dependencies for split (python_full_version == '3.11.*'):
╰─▶ Because will-not-work-on-windows-try-from-wsl-instead{platform_system == 'Windows'}==0.1.0 was yanked (reason: This package should not have
anything published) and only will-not-work-on-windows-try-from-wsl-instead{platform_system == 'Windows'}==0.1.0 is available, we can conclude that
all versions of will-not-work-on-windows-try-from-wsl-instead{platform_system == 'Windows'} are incompatible.
And because ansible-lint==24.9.2 depends on will-not-work-on-windows-try-from-wsl-instead{platform_system == 'Windows'} and only
ansible-lint<=24.9.2 is available, we can conclude that ansible-lint>=24.9.2 cannot be used.
And because dotfiles:dev depends on ansible-lint>=24.9.2 and your project depends on dotfiles:dev, we can conclude that your project's requirements
are unsatisfiable.
...but this platform flag seems to have no effect and I get the same error.
× No solution found when resolving dependencies for split (python_full_version == '3.11.*'):
╰─▶ Because will-not-work-on-windows-try-from-wsl-instead{platform_system == 'Windows'}==0.1.0 was yanked (reason: This package should not have
anything published) and only will-not-work-on-windows-try-from-wsl-instead{platform_system == 'Windows'}==0.1.0 is available, we can conclude that
all versions of will-not-work-on-windows-try-from-wsl-instead{platform_system == 'Windows'} are incompatible.
And because ansible-lint{sys_platform != 'win32'}==24.9.2 depends on will-not-work-on-windows-try-from-wsl-instead{platform_system == 'Windows'}
and only ansible-lint{sys_platform != 'win32'}<=24.9.2 is available, we can conclude that ansible-lint{sys_platform != 'win32'}>=24.9.2 is
incompatible.
And because dotfiles:dev depends on ansible-lint{sys_platform != 'win32'}>=24.9.2 and your project depends on dotfiles:dev, we can conclude that
your project's requirements are unsatisfiable.
The text was updated successfully, but these errors were encountered:
...but it's a solution using the uv proprietary section.
It would be great if the limitation with Windows was implemented for standard pyproject.toml files, as "ansible-lint>=24.9.2 ; sys_platform != 'Windows' is the PEP standard.
Environment: MacOS 15.0
Ansible version: 10.4.0
uv version: 0.4.15
When trying to installed ansible-lint n a uv-managed virtual environment, with
uv add ansible-lint
, uv will only installed the version 6.8.7 which seems to be the last version with a dependency tree that uv can resolve.So I tried to force a more recent version by specifying the version in
pyproject.toml
(for example>=24.9.2
), but in that case I get the following dependency tree solving error:I also tried the following in the
pyproject.toml
:...but this platform flag seems to have no effect and I get the same error.
The text was updated successfully, but these errors were encountered: