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

Builds continue after solver failures #2

Closed
chrisburr opened this issue Jun 3, 2020 · 6 comments
Closed

Builds continue after solver failures #2

chrisburr opened this issue Jun 3, 2020 · 6 comments

Comments

@chrisburr
Copy link

When the solver fails a message is printed like below however the build continues regardless:

MAMBA failed to solve specs

, _spcs,

for channels

%s

The reported errors are:

 ['local', 'conda-forge', 'defaults'] Encountered problems while solving.
Problem: package davix-0.6.7-hfd78c64_0 requires libxml2 >=2.9.8,<2.10.0a0, but none of the providers can be installed
@wolfv
Copy link
Member

wolfv commented Jun 3, 2020

yep, I noticed that too :) will fix it today

@wolfv
Copy link
Member

wolfv commented Jun 3, 2020

raising a real RuntimeError now: https://github.com/TheSnakePit/boa/blob/6be7d4c7ef19e67a1e7aae2cf48be6a5280d0f8f/boa/cli/build.py#L191

with some nicely formatted error output.

Thanks for testing!

@wolfv wolfv closed this as completed Jun 3, 2020
@chrisburr
Copy link
Author

I think this has now broken builds with multiple outputs as it now errors saying the yet-to-be-built output doesn't exist.

(The fix in #3 seems to have worked 👍)

@wolfv
Copy link
Member

wolfv commented Jun 4, 2020

you're saying that master has another bug with multiple builds or that this broke a specific build for you because it's not continuing anymore?
Not completely getting that statement, sorry!

I tested builds with multiple outputs yesterday and it should be mostly fine... let me check again.

@chrisburr
Copy link
Author

Sorry, my fault for being excessively brief! I was building something like:

outputs:
  - name: A
  - name: B
    requirements:
        run:
            - A
  - name: C
    requirements:
        run:
            - A
            - B
  - name: D
    requirements:
        run:
            - A
            - B
            - C

which resulted in an error saying that A, B and C don't exist. Reverting 6be7d4c fixed the problem. I can make a reproducer recipe later today.

@wolfv
Copy link
Member

wolfv commented Jun 8, 2020

I can't reproduce this to be honest. are you sure that there is not an issue in your recipe?

martinRenou pushed a commit to martinRenou/boa that referenced this issue Aug 8, 2022
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

2 participants