Skip to content
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

Provide better information about poetry command failure #96

Closed
usedbytes opened this issue Sep 13, 2023 · 0 comments · Fixed by #98
Closed

Provide better information about poetry command failure #96

usedbytes opened this issue Sep 13, 2023 · 0 comments · Fixed by #98
Labels
bug Something isn't working

Comments

@usedbytes
Copy link

It looks like if poetry fails for any reason, you just get:

tox-poetry-installer: Project does not use Poetry for env management, skipping installation of locked dependencies

This makes it really difficult to see what's going on. #1 seems to have changed this handling to just blindly capture all errors. If some indication of what went wrong could be provided, that would be very useful.

In my case, the problem was my poetry config wasn't compatible with v1.4.2, but outside of tox I'm using v1.6.1 - so tox-poetry-installer was using v1.4.2, failing on the invalid config, and deciding "does not use Poetry for env management"

@enpaul enpaul added the bug Something isn't working label Sep 13, 2023
enpaul added a commit that referenced this issue Aug 13, 2024
@enpaul enpaul closed this as completed in f3ae242 Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants