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

Paths in conda-meta/*.json files are not normalized in Windows #3781

Open
3 tasks done
jaimergp opened this issue Jan 28, 2025 · 0 comments · May be fixed by #3787
Open
3 tasks done

Paths in conda-meta/*.json files are not normalized in Windows #3781

jaimergp opened this issue Jan 28, 2025 · 0 comments · May be fixed by #3787
Assignees
Labels
type::bug Something isn't working where::windows Windows-specific issues

Comments

@jaimergp
Copy link
Contributor

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

Anaconda default channels

  • I do NOT use the Anaconda default channels (pkgs/* etc.)

How did you install Mamba?

Micromamba

Search tried in issue tracker

conda list normalized

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

I do not have this problem with Conda, just with Mamba

Describe your issue

Environments created with micromamba exhibit different conda-meta/*.json files than environments created with conda. This causes behavioral differences in conda list. See conda-forge/conda-forge-ci-setup-feedstock#362 for more details.

The gist is that the files and _path fields in a conda-meta/*.json file is expected to be slash normalized in Windows. See this test file for an example.

mamba info / micromamba info

libmamba version : 2.0.5
     micromamba version : 2.0.5
           curl version : libcurl/8.8.0-DEV Schannel zlib/1.3.1
     libarchive version : libarchive 3.7.2 zlib/1.3.1 liblzma/5.6.2 bz2lib/1.0.8 liblz4/1.9.4 libzstd/1.5.6
       envs directories : C:\Users\JaimeRodriguez-Guerr\micromamba\envs
          package cache : C:\Users\JaimeRodriguez-Guerr\micromamba\pkgs
                          C:\Users\JaimeRodriguez-Guerr\.mamba\pkgs
                          C:\Users\JaimeRodriguez-Guerr\AppData\Roaming\.mamba\pkgs
            environment : C:\Users\JaimeRodriguez-Guerr\.pixi\envs\micromamba (active)
           env location : C:\Users\JaimeRodriguez-Guerr\.pixi\envs\micromamba
      user config files : C:\Users\JaimeRodriguez-Guerr\.mambarc
 populated config files : C:\Users\JaimeRodriguez-Guerr\.condarc
       virtual packages : __win=10.0.22631=0
                          __archspec=1=x86_64
               channels :
       base environment : C:\Users\JaimeRodriguez-Guerr\micromamba
               platform : win-64

Logs

environment.yml

channels:
- conda-forge
dependencies:
- conda-smithy

~/.condarc

channels: []
show_channel_urls: true
auto_update_conda: false
add_pip_as_python_dependency: false
channel_priority: strict
report_errors: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug Something isn't working where::windows Windows-specific issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants