Open gennaro-tedesco opened 2 years ago
@gennaro-tedesco I could see this issue was opened a year ago but I ran into the same issue. Could you please share with me how you overcame it?
Could you please share with me how you overcame it?
I didn't overcome it: I switched to another package manager.
Thanks for your response. @gennaro-tedesco Which package manager did you use, is it easy to integrate? I have been looking for hours and hours for a solution, I don't mind alternative
About the action workflow I ended up using installations in docker containers; about the more general question about package managers another alternative is poetry: whether or not it is easier to integrate with GitHub actions, I don't know.
I am using
action-pipenv
in conjunction with actions/setup-python, but it seems that the correct python version is not detected. In particular consider the following excerpt of an action workflow file (only responsible parts are indicated):using a Pipfile of the form
This generates the error
However, if instead I manually install
pipenv
without making use ofaction-pipenv
, the correct python version is indeed detected.Could this be because the actions install
pipenv
by making use of a generic python image (and if so, why not installingpipenv
making use of the available python versions already installed on the instances)?