-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dummy dependency problem during install of ansible-lint #1575
Comments
Add the following to [tool.pdm.resolution.overrides]
will-not-work-on-windows-try-from-wsl-instead = "0.1.0" |
Wonderful, thank you. |
Thanks for the fix. Unfortunately this does not work with Python 3.9 although |
Confirmed... $ pdm update
�� Lock failed
Unable to find a resolution because the following dependencies don't work on all Python versions defined by the project's `requires-python`: >=3.9.
python>=3.11,<4.0 (from <Candidate will-not-work-on-windows-try-from-wsl-instead@0.1.0 from https://pypi.org/simple/will-not-work-on-windows-try-from-wsl-instead/>)
To fix this, you can change the value of `requires-python` in pyproject.toml. For some damned reason https://pypi.org/project/will-not-work-on-windows-try-from-wsl-instead/ is a yanked release AND defined a |
Make sure you run commands with
-v
flag before pasting the output.Context
This is a follow up to the following issues:
ansible/ansible-lint#2712 the thing that started it all
But most recent release v6.10.0 ansible/ansible-lint#2807 drops
setup.cfg
(finally...), but the problem remains.ansible/ansible-lint#2816 the "pip works, we don't care about anything else".
python-poetry/poetry#7112 (comment) the poetry workaround
In short, ansible-lint decided to use a dummy/fake package (
will-not-work-on-windows-try-from-wsl-instead; platform_system == "Windows"
) to stop installation on that unsupported platform.edit. Feels related to #1535
Steps to reproduce
Also trying the poetry workaround by adding the
platform_system
then running
pdm install
yields the same results.Actual behavior
Package ansible-lint does not install.
Expected behavior
It unfortunately should, even with their horrendous dependency...
Environment Information
The text was updated successfully, but these errors were encountered: