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

New topological sort doesn't break python <-> pip cycle correctly #2609

Closed
2 tasks done
wolfv opened this issue Jun 20, 2023 · 2 comments · Fixed by #2613
Closed
2 tasks done

New topological sort doesn't break python <-> pip cycle correctly #2609

wolfv opened this issue Jun 20, 2023 · 2 comments · Fixed by #2613

Comments

@wolfv
Copy link
Member

wolfv commented Jun 20, 2023

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

How did you install Mamba?

Other (please describe)

Search tried in issue tracker

yes

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

Not applicable

Describe your issue

The new topological search doesn't break the pip <-> python cycle properly, and thus installs pip before python. This breaks on Windows, as the Scripts folder does not exist before installing python, and then the entrypoint creation fails.

On Unix it will also fail to compile the .py files to .pyc (python is invoked for that).

mamba info / micromamba info

No response

Logs

No response

environment.yml

No response

~/.condarc

No response

@AntoinePrv
Copy link
Member

How does libsolv knows how to break this cycle?

@AntoinePrv
Copy link
Member

Not related to #2546 but leaving open since cycles are not taken into the implementation of topological sort.

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 a pull request may close this issue.

2 participants