-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Poetry cannot install [email protected]
#7112
Comments
Hello @davidmehren, what fin swimmer |
Nope, poetry understands this and doesn't try to install the nonexisting dependency on other platforms than Windows. However, poetry is designed to resolve dependencies for all platforms (and generate a universal lock file). Since ansible-lint defines that
Then, you can lock on any platform (even on Windows) and install ansible-lint on any platform but Windows. |
Nice workaround @radoering 👍 |
poetry is behaving exactly correctly, and radoering has offered a workaround that should be completely satisfactory. This can be closed. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option) and have included the output below.Issue
Poetry cannot install
[email protected]
. To reproduce, create a new project withpoetry init
and try to add the package:This has been reported (ansible/ansible-lint#2730) over at ansible-lint, but closed as a poetry issue, hence I'm reporting it here again.
I'm guessing that Poetry does not correctly understand the line
will-not-work-on-windows-try-from-wsl-instead; platform_system=="Windows"
in ansible-lints setup.cfg and tries to install the nonexisting dependency even when not running on Windows.The text was updated successfully, but these errors were encountered: