damnever / pigar

:coffee: A tool to generate requirements.txt for Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)
https://damnever.github.io/pigar/
BSD 3-Clause "New" or "Revised" License
1.64k stars 90 forks source link

Pigar 2.0.2 fails when running on github actions through poetry #134

Closed h3llrais3r closed 1 year ago

h3llrais3r commented 1 year ago

I'm running pigar via poetry in a bash shell on windows. I'm doing the same on my github action to be sure to have the same output as on my local machine. Running it on my local machine doesn't cause any problems. However, when running on github actions, it complains that paths are not on the same drive...

Python seems to be available at C drive, while project is available on D drive while running pigar from venv within project folder...

You can check it here: https://github.com/h3llrais3r/Auto-Subliminal/actions/runs/3679534191/jobs/6224099590

image

Command inside the script to run pigar:

image

damnever commented 1 year ago

pip install pigar==2.0.3 may have fixed this issue.

Feel free to reopen this issue.

h3llrais3r commented 1 year ago

Thanks will test and provide feedback.

h3llrais3r commented 1 year ago

Github actions runs fine now: https://github.com/h3llrais3r/Auto-Subliminal/actions/runs/3702327630/jobs/6272480181 image

Thanks!