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

Use Python3.7 on conda base environment when using mamba #7773

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

humitos
Copy link
Member

@humitos humitos commented Dec 21, 2020

Mamba 0.1.0 is the latest version that supports Python2 (which is our default in
the conda environment --as we use miniconda2) while the current stable version
is 0.7.6

Using the older version of mamba is causing different resolution issues and
making the build to fail.

Environment still can be created with python2 or python3 versions.

See mamba-org/mamba#640 for more context.

Mamba 0.1.0 is the latest version that supports Python2 (which is our default in
the conda environment --as we use miniconda2) while the current stable version
is 0.7.6

Using the older version of mamba is causing different resolution issues and
making the build to fail.

Environment still can be created with python2 or python3 versions.

See mamba-org/mamba#640 for more context.
@humitos humitos requested a review from a team December 21, 2020 17:21
Copy link
Member

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New tools always add additional support overhead :( This is a simple change, but I really wish this stuff wasn't so fiddly.

@humitos humitos merged commit 276298f into master Dec 21, 2020
@humitos humitos deleted the humitos/mamba-python37 branch December 21, 2020 18:16
@wolfv
Copy link

wolfv commented Dec 21, 2020

Thanks @humitos!

@ericholscher the underlying problem is that Miniconda 2 ships Python 2.7 and that's deprecated.
Conda & Mamba have some special handling to keep the (minor) Python version so the base-environment Python 2.7 stays untouched.

I see no reason for readthedocs to not switch to Miniconda 3 (that would come with Python 3.7).
There are also no recent conda versions released for Python 2.7 afaik.

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

Successfully merging this pull request may close these issues.

3 participants