Skip to content

Commit 387b367

Browse files
author
David Robertson
committed
Debug: use pip list over poetry show
`poetry show` primarily describes the lockfile, and not the poetry-managed venv. (To convince yourself of this, try `poetry show`) in a clean checkout of synapse, before running a `poetry install`. For debugging we mainly want to see what the virtualenv contains, so use `pip list` instead. For completeness, `poetry show` does have some highlighting (falling back to warning markers when ANSI colouring is unavailable) which indicates when the virtualenv deviates from the lockfile. Its meaning isn't fully clear and I can't find a documentation reference for it.
1 parent aac14af commit 387b367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ runs:
9898
- name: Dump virtual environment
9999
run: |
100100
poetry env info
101-
poetry show
101+
poetry run pip list
102102
shell: bash

0 commit comments

Comments
 (0)