conda-forge / sage-feedstock

A conda-smithy repository for sage.
BSD 3-Clause "New" or "Revised" License
7 stars 11 forks source link

This warning is not actually correct. #88

Open startakovsky opened 1 year ago

startakovsky commented 1 year ago

Solution to issue cannot be found in the documentation.

Issue

There is a warning that pops up that says that if there are issues running sage cli in the virtual environment, then install ipython in the virtual environment. Well, the error doesn't go away even when IPython is installed in the virtual environment.

Note that installing ipython happened like this, not using conda-forge but this higher priority channel...:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ipython-8.12.0             |  py310hca03da5_0         1.1 MB
    ------------------------------------------------------------
                                           Total:         1.1 MB

The following packages will be UPDATED:

  ca-certificates    conda-forge::ca-certificates-2022.12.~ --> pkgs/main::ca-certificates-2023.01.10-hca03da5_0

The following packages will be SUPERSEDED by a higher-priority channel:

  certifi            conda-forge/noarch::certifi-2022.12.7~ --> pkgs/main/osx-arm64::certifi-2022.12.7-py310hca03da5_0
  ipython            conda-forge/noarch::ipython-8.12.0-py~ --> pkgs/main/osx-arm64::ipython-8.12.0-py310hca03da5_0

Installed packages

name: myenv
channels:
  - conda-forge
dependencies:
  - sage
  - python=3.10
  - pkgs/main::ipython
  - jupyter
  - pip

Environment info

active environment : myenv
    active env location : /Users/steven/.pyenv/versions/anaconda3-2023.03/envs/myenv
            shell level : 2
       user config file : /Users/steven/.condarc
 populated config files : 
          conda version : 23.3.1
    conda-build version : 3.24.0
         python version : 3.10.10.final.0
       virtual packages : __archspec=1=arm64
                          __osx=12.6=0
                          __unix=0=0
       base environment : /Users/steven/.pyenv/versions/anaconda3-2023.03  (writable)
      conda av data dir : /Users/steven/.pyenv/versions/anaconda3-2023.03/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/osx-arm64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-arm64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/steven/.pyenv/versions/anaconda3-2023.03/pkgs
                          /Users/steven/.conda/pkgs
       envs directories : /Users/steven/.pyenv/versions/anaconda3-2023.03/envs
                          /Users/steven/.conda/envs
               platform : osx-arm64
             user-agent : conda/23.3.1 requests/2.28.2 CPython/3.10.10 Darwin/21.6.0 OSX/12.6
                UID:GID : 501:20
             netrc file : None
           offline mode : False
isuruf commented 1 year ago

What's the warning?

startakovsky commented 1 year ago

Sorry, as described in my original message, but here is a screenshot:

image
startakovsky commented 1 year ago

@isuruf Any updates here? Thanks!

isuruf commented 1 year ago

I don't know why this warning is there. @mkoeppe have you seen this before?

mkoeppe commented 1 year ago

Not sure if I have seen it interactively, but I have seen it many times in doctests. Never took the time to debug it...