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

Choose Python version #19

Closed
flolbr opened this issue Nov 17, 2021 · 7 comments
Closed

Choose Python version #19

flolbr opened this issue Nov 17, 2021 · 7 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@flolbr
Copy link

flolbr commented Nov 17, 2021

Is there any way to easily specify the python version that will be used by the action ?

@JackMcKew
Copy link
Owner

Potentially you could pass an ARG to the base dockerfile to change the python/pyinstaller version

Souce dockerfile that is used by this project: https://hub.docker.com/r/cdrx/pyinstaller-windows

@squigjess
Copy link

Potentially you could pass an ARG to the base dockerfile

I'm not too familiar with GitHub workflows; how would one accomplish this?

@FlorianCassayre
Copy link

I'm confused as well; could you be more specific? Thanks in advance.

@sayyid5416
Copy link

sayyid5416 commented Dec 28, 2021

Yes, it is a serious issue, since action is failing because of different python versions.

image

@JackMcKew
Copy link
Owner

Unfortunately to set the python version through an ARG would include building the new image and pushing it somewhere else (ie, docker hub), so this might be a bit tricky

The way official python dockerfiles are to be built for each and every version which is out of the scope of this project

@JackMcKew
Copy link
Owner

The potential solution for this might be by running certain steps in bash to implement the different versions of Python: #17

@JackMcKew JackMcKew added enhancement New feature or request help wanted Extra attention is needed labels Mar 13, 2022
@JackMcKew
Copy link
Owner

Please try this: #34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants