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

Python 3.10 fails #28

Open
eelcovv opened this issue Jan 8, 2023 · 0 comments
Open

Python 3.10 fails #28

eelcovv opened this issue Jan 8, 2023 · 0 comments

Comments

@eelcovv
Copy link

eelcovv commented Jan 8, 2023

Installing python 3.10 fails as it is seen as 3.1. My task looks like:


- name: Create a conda environment
  conda:
    name: python
    version: 3.10
    environment: py310
    executable: "{{ mamba_prefix }}/bin/mamba"
    state: present

give the warning:

[WARNING]: The value "3.1" (type float) was converted to "'3.1'" (type string). If this does not look like what you expect, quote the
entire value to ensure it does not change.

Apparently 3.10 is converted to 3.1 and that version is unknown and it fails after thta.

If I put quotes around 3.10 like "3.10" then it works, however, the version is not read and just python 3.9 is installed.

Any idea how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant