Giter Club home page Giter Club logo

Comments (9)

jaimergp avatar jaimergp commented on May 30, 2024

Thanks for the report!

The libmamba solver relies on libmamba's internal repodata fetching routines, so if it's not supported by that library, we might error out badly. We saw this already with s3:// channels, but I guess there are more cases out there.

I am thinking we might need to provide a fallback mechanism to rely on conda's repodata fetching mechanism if libmamba's failed. It might be cause some overhead, but it should work. One challenge will be how to test things for settings like yours (on-prem stuff), but we'll get there.

I'll keep you posted!

from conda-libmamba-solver.

azawalich avatar azawalich commented on May 30, 2024

from conda-libmamba-solver.

jaimergp avatar jaimergp commented on May 30, 2024

On a second look, I do see that the log file mentions the solver doing its work. That means the repodata was successfully loaded by libmamba and a solution was indeed calculated! I think what's going on has to do with the "check for updates" conda code that runs after the solver has done its work, but before the transaction object is generated so the packages are downloaded / linked.

What happens if you run the same command but with the following env var:

CONDA_NOTIFY_OUTDATED_CONDA=false conda install ...

The next release of conda-libmamba-solver won't rely on conda internals for this update-detection logic, but for now let's see if you can work around the issue with the above approach!

from conda-libmamba-solver.

jezdez avatar jezdez commented on May 30, 2024

Just checking in, is this still happening with the latest release of conda-libmamba-solver?

from conda-libmamba-solver.

jaimergp avatar jaimergp commented on May 30, 2024

Technically we default back to conda for non-standard channels, but I can't test against that on-prem-nexus-protocol :/

from conda-libmamba-solver.

jezdez avatar jezdez commented on May 30, 2024

This should be solved (?) by #65

from conda-libmamba-solver.

jaimergp avatar jaimergp commented on May 30, 2024

With #65 all networking happens via conda, so this shouldn't happen, and if it does, it will also affect conda with solver=classic.

It could also be linked to #146.

I am inclined to close with #168, but please feel free to reopen if it still happens once the new version is out.

from conda-libmamba-solver.

jezdez avatar jezdez commented on May 30, 2024

Agreed, it would obviously be great to get feedback once 23.3.0 is out. Thank you!

from conda-libmamba-solver.

jezdez avatar jezdez commented on May 30, 2024

Closing via #168

from conda-libmamba-solver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.