ContinuumIO / anaconda-issues

Anaconda issue tracking
648 stars 224 forks source link

"The following packages will be DOWNGRADED" but according to the version number, they are actually "UPGRADED". #13368

Open ladyrick opened 7 months ago

ladyrick commented 7 months ago

Checklist

Impacted product

What happened?

When I conda install python=3.12 from python3.11.5, conda shows many packages will be DOWNGRADED. But IMO, take "boltons 23.0.0-py311h06a4308_0 --> 23.0.0-py312h06a4308_0" for example, it should be called "UPGRADED". Because "23.0.0-py312h06a4308_0" is obviously larger than "23.0.0-py311h06a4308_0".

The following packages will be DOWNGRADED:

  boltons                            23.0.0-py311h06a4308_0 --> 23.0.0-py312h06a4308_0 
  brotli-python                       1.0.9-py311h6a678d5_7 --> 1.0.9-py312h6a678d5_7 
  certifi                          2024.2.2-py311h06a4308_0 --> 2024.2.2-py312h06a4308_0 
  cffi                               1.16.0-py311h5eee18b_0 --> 1.16.0-py312h5eee18b_0 
  conda                              24.3.0-py311h06a4308_0 --> 24.3.0-py312h06a4308_0 
  conda-content-tru~                  0.2.0-py311h06a4308_0 --> 0.2.0-py312h06a4308_0 
  conda-package-han~                  2.2.0-py311h06a4308_0 --> 2.2.0-py312h06a4308_0 
  conda-package-str~                  0.9.0-py311h06a4308_0 --> 0.9.0-py312h06a4308_0 
  cryptography                       42.0.5-py311hdda0065_0 --> 42.0.5-py312hdda0065_0 
  distro                              1.8.0-py311h06a4308_0 --> 1.8.0-py312h06a4308_0 
  idna                                  3.4-py311h06a4308_0 --> 3.4-py312h06a4308_0 
  jsonpatch                            1.33-py311h06a4308_0 --> 1.33-py312h06a4308_0 
  libmambapy                          1.5.8-py311h2dafd23_1 --> 1.5.8-py312h2dafd23_1 
  menuinst                            2.0.2-py311h06a4308_0 --> 2.0.2-py312h06a4308_0 
  packaging                            23.2-py311h06a4308_0 --> 23.2-py312h06a4308_0 
  pip                                23.3.1-py311h06a4308_0 --> 23.3.1-py312h06a4308_0 
  platformdirs                       3.10.0-py311h06a4308_0 --> 3.10.0-py312h06a4308_0 
  pluggy                              1.0.0-py311h06a4308_1 --> 1.0.0-py312h06a4308_1 
  pycosat                             0.6.6-py311h5eee18b_0 --> 0.6.6-py312h5eee18b_0 
  pyopenssl                          24.0.0-py311h06a4308_0 --> 24.0.0-py312h06a4308_0 
  pysocks                             1.7.1-py311h06a4308_0 --> 1.7.1-py312h06a4308_0 
  requests                           2.31.0-py311h06a4308_1 --> 2.31.0-py312h06a4308_1 
  ruamel.yaml                       0.17.21-py311h5eee18b_0 --> 0.17.21-py312h5eee18b_0 
  setuptools                         68.2.2-py311h06a4308_0 --> 68.2.2-py312h06a4308_0 
  tqdm                               4.65.0-py311h92b7b1e_0 --> 4.65.0-py312he106c6f_0 
  truststore                          0.8.0-py311h06a4308_0 --> 0.8.0-py312h06a4308_0 
  urllib3                             2.1.0-py311h06a4308_1 --> 2.1.0-py312h06a4308_1 
  wheel                              0.41.2-py311h06a4308_0 --> 0.41.2-py312h06a4308_0 
  zstandard                          0.19.0-py311h5eee18b_0 --> 0.19.0-py312h5eee18b_0 

Expected behavior or outcome

The following packages will be UPGRADED:
...

Conda info

active environment : base
    active env location : /home/xxxxxx/.miniconda3
            shell level : 1
       user config file : /home/xxxxxx/.condarc
 populated config files : 
          conda version : 24.3.0
    conda-build version : not installed
         python version : 3.11.5.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=x86_64_v3
                          __conda=24.3.0=0
                          __glibc=2.28=0
                          __linux=5.4.119=0
                          __unix=0=0
       base environment : /home/xxxxxx/.miniconda3  (writable)
      conda av data dir : /home/xxxxxx/.miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/xxxxxx/.miniconda3/pkgs
                          /home/xxxxxx/.conda/pkgs
       envs directories : /home/xxxxxx/.miniconda3/envs
                          /home/xxxxxx/.conda/envs
               platform : linux-64
             user-agent : conda/24.3.0 requests/2.31.0 CPython/3.11.5 Linux/5.4.119-19.0009.28 tencentos/3.1 glibc/2.28 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8
                UID:GID : 1001:1001
             netrc file : None
           offline mode : False

Conda config

No response

Conda list

No response

Additional information

No response