mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #1639] Unable to install Python Poetry packages #814
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#814
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AndrewRiggs-Atkins on GitHub (Feb 20, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1639
Bug report info
Command used with act
Describe issue
When running the below command, it is expected that the Python packages defined in a local
.tomlfile are installed using Poetry.I can confirm the following (works/doesn't work):
python3 -m pip install poetrypython3 -m poetry export --without-hashes --with dev --format=requirements.txt > requirements.txtpython3 -m pip install -r ./requirements.txtpython3 -m poetry installLink to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response
@AndrewRiggs-Atkins commented on GitHub (Feb 20, 2023):
Solution below:
@mammo0 commented on GitHub (Feb 22, 2023):
Hello,
I had the same problem.
At least for me only the
--no-ansiflag was necessary to make thepoetry installcommand working again.@AndrewRiggs-Atkins did you find out what is the root cause for this problem?
@AndrewRiggs-Atkins commented on GitHub (Feb 22, 2023):
Though its seemingly impossible to debug due to a lack of useful error messages, I believe it is likely due to how Poetry prints out the installation logs for each package. You are correct that the additional flags aren't required though.
@mammo0 commented on GitHub (Feb 22, 2023):
Thanks for your quick response.
I think this issue should be kept open, because other tools that use a similar output mechanism like Poetry could be also affected.
@dodgyrabbit commented on GitHub (Feb 26, 2023):
Thank you for this post! Been struggling for the last few hours trying to figure this out.
--no-ansisolved this problem.@alvis commented on GitHub (Mar 14, 2023):
@AndrewRiggs-Atkins Thank you so much for providing the solution. It took me a few hour figuring out what went wrong in the script as there is no any useful message :/