-
Notifications
You must be signed in to change notification settings - Fork 8
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
micromamba/conda compatibility mode cannot work before setting conda config --set add_pip_as_python_dependency false
#102
Comments
By the way, I still unable to restore environment with conda env create -p ./env --file environment.yml
but $ ls channel/linux-64/libexpat-2.6.4-h5888daf_0.conda
channel/linux-64/libexpat-2.6.4-h5888daf_0.conda and exist in $ grep 'libexpat' channel/linux-64/repodata.json
"libexpat-2.6.4-h5888daf_0.conda": {
"name": "libexpat",
"libexpat >=2.6.4,<3.0a0", I think this problem is from conda, because micromamba works. $ conda --version
conda 25.1.1
$ micromamba --version
2.0.5 |
this is a conda/micromamba skill issue tbh, imo it doesn't make any sense from a packaging perspective to have additional specific behavior for a single package to then include another package. you can work around this by either fixing your conda/micromamba configuration (as you mentioned) or by adding the only thing to be done here is to maybe mention this odd behavior of conda/mamba in the documentation
could you send me a reproducer |
Yes, I think remind users to set conda configuration or add
You need the reproducer that contains |
for the docs update, see #103
i couldn't reproduce your |
That's great, thank you. Sorry, I just try again and conda is work, too. |
Hello, I found micromamba compatibility mode cannot work, because conda will add pip as dependency of python by default, but pixi don't.
Steps to reproduce:
and then get the error
if you set
add_pip_as_python_dependency
config to conda, it will work as expect.conda config --set add_pip_as_python_dependency false
The document to this config is here, it is default to
True
.The text was updated successfully, but these errors were encountered: