Giter Club home page Giter Club logo

Comments (2)

beenje avatar beenje commented on May 30, 2024 1

I ran into the same issue:

$ conda create -y -n myapp python=3.10 flask
$ conda list -n myapp | grep flask
flask                     2.2.2              pyhd8ed1ab_0    conda-forge

$ conda update -n myapp --quiet  --solver classic flask
# All requested packages already installed.

$ conda update -n myapp --quiet  --solver libmamba flask
The following packages will be DOWNGRADED:

  flask                                  2.2.2-pyhd8ed1ab_0 --> 2.2.1-pyhd8ed1ab_0

This is with conda 22.11.1 and conda-libmamba-solver 22.12.0

from conda-libmamba-solver.

costrouc avatar costrouc commented on May 30, 2024

@beenje that is a really helpful example. I was able to reproduce. To help here are the libsolve instructions which might help to resolve. I've been spending some time trying to better understand the logic that https://github.com/conda/conda-libmamba-solver/blob/main/conda_libmamba_solver/solver.py#L332 does which is the state presented to libsolve.

conda create -y -n myapp python=3.10 flask
task: INSTALL 256
 - flask
 - python=3.10
$ conda list -n myapp | grep flask
flask                     2.2.3              pyhd8ed1ab_0    conda-forge
$  conda update -n myapp --quiet  --solver libmamba flask

Stage 1

USERINSTALLED 2560
 - conda-forge/noarch::flask==2.2.3=pyhd8ed1ab_0
 - conda-forge/linux-64::python==3.10.9=he550d4f_0_cpython
 - conda-forge/linux-64::ca-certificates==2022.12.7=ha878542_0
 - conda-forge/linux-64::openssl==3.1.0=h0b41bf4_0
task: UPDATE | ESSENTIAL 131840
 - flask!=2.2.3
 - conda-forge/linux-64::python==3.10.9=he550d4f_0_cpython
 - ca-certificates
 - openssl
The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    flask-2.2.2                |     pyhd8ed1ab_0          74 KB  conda-forge
    ------------------------------------------------------------
                                           Total:          74 KB

The following packages will be DOWNGRADED:

  flask                                  2.2.3-pyhd8ed1ab_0 --> 2.2.2-pyhd8ed1ab_0 

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.