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 version change #82

Closed
isuruf opened this issue Mar 11, 2020 · 7 comments
Closed

Python version change #82

isuruf opened this issue Mar 11, 2020 · 7 comments

Comments

@isuruf
Copy link
Contributor

isuruf commented Mar 11, 2020

I don't have a reproducer where python version was upgraded, but here's an example

conda create -p /home/isuru/miniconda3/envs/py37 python=3.7
conda install opbeat -p /home/isuru/miniconda3/envs/py37 # this errors because opbeat need py<37
mamba install opbeat -p /home/isuru/miniconda3/envs/py37 # Downgrades python to 3.6

@SylvainCorlay
Copy link
Member

conda install opbeat -p /home/isuru/miniconda3/envs/py37 # this errors because opbeat need py<37
mamba install opbeat -p /home/isuru/miniconda3/envs/py37 # Downgrades python to 3.6

Thanks for submitting this. I presume that if the mamba behavior is to be considered incorrect, it means that some packages should special-cased to never be downgraded or upgraded unless explicitly required?

@isuruf
Copy link
Contributor Author

isuruf commented Mar 11, 2020

Yes, if mamba is to be a drop-in for conda.

@SylvainCorlay
Copy link
Member

Is it only python, or also other interpreters or packages?

@isuruf
Copy link
Contributor Author

isuruf commented Mar 11, 2020

I've no idea. Sorry.

@wolfv
Copy link
Member

wolfv commented Mar 11, 2020

It's only python as far as i am aware. This should be easy to fix by pinning python to the currently installed version.

@wolfv
Copy link
Member

wolfv commented Mar 29, 2020

this is fixed by pinning python if it's in the environment.

Release is out now (0.1.1) and going to be available on conda-forge soon!

@wolfv wolfv closed this as completed Mar 29, 2020
@isuruf
Copy link
Contributor Author

isuruf commented Mar 29, 2020

Thanks for fixing 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

3 participants