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

Warn when conda_exe cannot be identified #743

Merged
merged 5 commits into from
Jan 8, 2024

Conversation

jaimergp
Copy link
Contributor

@jaimergp jaimergp commented Jan 7, 2024

Description

#474 introduced a regression when cross-building installers (as seen in napari/packaging#103). We are now trying to guess the type and version of the passed conda-standalone executable (which can be mamba), but we can't do so if the target platform is not the same as host (can't execute!). Instead of crashing with a traceback, we'll catch that exception and warn the user that "things might not work" but proceed anyway.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Jan 7, 2024
@jaimergp jaimergp marked this pull request as ready for review January 7, 2024 22:20
@jaimergp jaimergp requested a review from a team as a code owner January 7, 2024 22:20
@jaimergp jaimergp merged commit 784544f into conda:main Jan 8, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants