Giter Club home page Giter Club logo

Comments (6)

jaimergp avatar jaimergp commented on May 29, 2024 1

Confirmed it fixes this one. I'll need to assess whether this impacts other tests, though. I'll keep you posted!

from conda-libmamba-solver.

wolfv avatar wolfv commented on May 29, 2024

I think if we set the subprio here to the same values it might just work:

https://github.com/mamba-org/mamba/blob/d039d6dc1d0c8e0c11b0835dc061192e8e8f051c/mamba/utils.py#L160-L164

from conda-libmamba-solver.

wolfv avatar wolfv commented on May 29, 2024

e.g. currently the arch subdir has "subprio 1" while the noarch one has "subprio 0" which apparently is wrong :)

from conda-libmamba-solver.

jezdez avatar jezdez commented on May 29, 2024

@jaimergp Remind me, did we fix this in conda-libmamba-solver?

from conda-libmamba-solver.

jaimergp avatar jaimergp commented on May 29, 2024

I think we did. I am on my phone but you can check the mamba_utils.py file for the subprio block. I think I did leave a comment.

from conda-libmamba-solver.

jezdez avatar jezdez commented on May 29, 2024

Yep, this is the place:

if has_priority:
# NOTE: -- this is the whole reason we are vendoring this file --
# We are patching this from 0 to 1, starting with mamba 0.19
# Otherwise, test_create::test_force_remove fails :shrug:
subpriority = 1
else:
subpriority = subprio_index
subprio_index -= 1

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.