Comments (2)
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.
@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)
- Scheduled upstream tests failed HOT 1
- Can't add additional packages to enviornment created from lock file HOT 3
- Scheduled tests failed HOT 1
- Scheduled tests failed HOT 1
- Scheduled tests failed HOT 1
- libmamba solver doesn't match when uninstalling with wildcard HOT 2
- Scheduled tests failed HOT 1
- [DX] Update `bashrc.sh` to be compatible with libmamba v2
- Scheduled tests failed HOT 1
- conda `fetch_latest_path` interface may still read repodata into memory HOT 2
- PluginError: Error while loading conda plugins from entrypoints: libarchive.so.19: cannot open shared object file: No such file or directory HOT 1
- `conda update --all` is not idempotent HOT 1
- Scheduled tests failed HOT 1
- `conda update --all` is not idempotent HOT 7
- Support for build_number in MatchSpec HOT 6
- PackagesNotFoundError listing more than missing package HOT 8
- Installing packages in different order gives totally different versions HOT 4
- Scheduled tests failed
- Error "No module named pip" with Python2.7 HOT 4
- libmamba picks a build for the wrong Python version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conda-libmamba-solver.