Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exceptions not raised from conda-build #95

Open
2 tasks done
jaimergp opened this issue Dec 15, 2022 · 3 comments
Open
2 tasks done

Exceptions not raised from conda-build #95

jaimergp opened this issue Dec 15, 2022 · 3 comments
Labels
severity::3 major; broken functionality with a workaround source::contributor created by a frequent contributor type::bug describes erroneous operation, use severity::* to classify the type

Comments

@jaimergp
Copy link
Contributor

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

Under some circumstances, conda-libmamba-solver cannot parse the libmamba exceptions correctly and raises with message "None", which is not useful.

I saw this yesterday with a conda-build run that resulted in conflicts due to a messy local CONDA_BLD_PATH (plenty of competing and outdated packages that should not exist), so it's difficult to reproduce.

I might still be able to cause a conflict we can analyze.

Conda Info

active environment : base
    active env location : /Users/jrodriguez/.local/anaconda
            shell level : 1
       user config file : /Users/jrodriguez/.condarc
 populated config files : /Users/jrodriguez/.local/anaconda/.condarc
                          /Users/jrodriguez/.condarc
          conda version : 22.11.1
    conda-build version : 3.23.3
         python version : 3.9.15.final.0
       virtual packages : __archspec=1=arm64
                          __osx=11.2.3=0
                          __unix=0=0
       base environment : /Users/jrodriguez/.local/anaconda  (writable)
      conda av data dir : /Users/jrodriguez/.local/anaconda/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /Users/jrodriguez/.local/anaconda/pkgs
                          /Users/jrodriguez/.conda/pkgs
       envs directories : /Users/jrodriguez/.local/anaconda/envs
                          /Users/jrodriguez/.conda/envs
               platform : osx-arm64
             user-agent : conda/22.11.1 requests/2.28.1 CPython/3.9.15 Darwin/20.3.0 OSX/11.2.3 solver/libmamba conda-libmamba-solver/22.8.1 libmambapy/1.0.0
                UID:GID : 501:20
             netrc file : None
           offline mode : False

Conda Config

==> ~/.local/anaconda/.condarc <==
channels:
  - conda-forge

==> ~/.condarc <==
add_pip_as_python_dependency: False
auto_update_conda: False
channel_priority: strict
channels:
  - conda-forge
show_channel_urls: True
experimental_solver: libmamba

Conda list

# packages in environment at ~/.local/anaconda:
#
# Name                    Version                   Build  Channel
alabaster                 0.7.12                     py_0    conda-forge
anaconda-client           1.8.0              pyhd8ed1ab_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
appnope                   0.1.3              pyhd8ed1ab_0    conda-forge
astroid                   2.8.5                    pypi_0    pypi
attrs                     22.1.0             pyh71513ae_1    conda-forge
babel                     2.10.3             pyhd8ed1ab_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                pyhd8ed1ab_3    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
beautifulsoup4            4.11.1             pyha770c72_0    conda-forge
black                     21.6b0                   pypi_0    pypi
blinker                   1.4                      pypi_0    pypi
brotlipy                  0.7.0           py39h02fc5c5_1005    conda-forge
bzip2                     1.0.8                h3422bc3_4    conda-forge
c-ares                    1.18.1               h3422bc3_0    conda-forge
ca-certificates           2022.12.7            h4653dfc_0    conda-forge
cachecontrol              0.12.12            pyhd8ed1ab_1    conda-forge
cachy                     0.3.0              pyhd8ed1ab_1    conda-forge
cctools                   973.0.1             hcbb26d4_11    conda-forge
cctools_osx-arm64         973.0.1             hef52d2f_11    conda-forge
certifi                   2022.12.7          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1           py39h7e6b969_1    conda-forge
chardet                   5.1.0            py39h2804cbe_0    conda-forge
charset-normalizer        2.0.7                    pypi_0    pypi
cleo                      0.8.1              pyhd8ed1ab_2    conda-forge
click                     8.1.3           unix_pyhd8ed1ab_2    conda-forge
clikit                    0.6.2              pyh9f0ad1d_0    conda-forge
cloudpickle               1.6.0                    pypi_0    pypi
clyent                    1.2.2                      py_1    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
conda                     22.9.0.post109+b5f52ee62           dev_0    <develop>
conda-build               3.23.3           py39h2804cbe_0    conda-forge
conda-libmamba-solver     22.12.0            pyhd8ed1ab_0    conda-forge
conda-package-handling    2.0.2              pyh38be061_0    conda-forge
conda-package-streaming   0.7.0              pyhd8ed1ab_1    conda-forge
conda-tree                1.0.5              pyhd8ed1ab_0    conda-forge
crashtest                 0.3.1              pyhd8ed1ab_0    conda-forge
cryptography              38.0.4           py39he2a39a8_0    conda-forge
curl                      7.86.0               h1c293e1_1    conda-forge
dataclasses               0.8                pyhc8e2a94_3    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
distlib                   0.3.6              pyhd8ed1ab_0    conda-forge
docutils                  0.19             py39h2804cbe_1    conda-forge
doit                      0.33.1                   pypi_0    pypi
expat                     2.5.0                hb7217d7_0    conda-forge
filelock                  3.8.2              pyhd8ed1ab_0    conda-forge
fmt                       9.1.0                hffc8910_0    conda-forge
gettext                   0.21.1               h0186832_0    conda-forge
git                       2.39.0          pl5321hd6a5f80_0    conda-forge
glob2                     0.7                        py_0    conda-forge
grayskull                 0.8.3                      py_0    conda-forge
html5lib                  1.1                pyh9f0ad1d_0    conda-forge
icu                       70.1                 h6b3803e_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
imagesize                 1.4.1              pyhd8ed1ab_0    conda-forge
importlib-metadata        5.1.0              pyha770c72_0    conda-forge
iniconfig                 1.1.1                    pypi_0    pypi
ipython                   7.24.1           py39h32adebf_0    conda-forge
isort                     5.10.1                   pypi_0    pypi
jarowinkler               1.2.0            py39h6e3512e_0    conda-forge
jedi                      0.18.2             pyhd8ed1ab_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jsonschema                3.2.0              pyhd8ed1ab_3    conda-forge
jupyter_core              5.1.0            py39h2804cbe_0    conda-forge
keyring                   21.2.1           py39h2804cbe_4    conda-forge
krb5                      1.19.3               he492e65_0    conda-forge
lazy-object-proxy         1.6.0                    pypi_0    pypi
ld64                      609                 h619f069_11    conda-forge
ld64_osx-arm64            609                 h7167370_11    conda-forge
libarchive                3.5.2                hdd7f49f_3    conda-forge
libblas                   3.9.0           16_osxarm64_openblas    conda-forge
libcblas                  3.9.0           16_osxarm64_openblas    conda-forge
libcurl                   7.86.0               h1c293e1_1    conda-forge
libcxx                    14.0.6               h2692d47_0    conda-forge
libedit                   3.1.20191231         hc8eb9b7_2    conda-forge
libev                     4.33                 h642e427_1    conda-forge
libffi                    3.4.2                h3422bc3_5    conda-forge
libgfortran               5.0.0           11_3_0_hd922786_26    conda-forge
libgfortran5              11.3.0              hdaf2cc0_26    conda-forge
libiconv                  1.17                 he4db4b2_0    conda-forge
liblapack                 3.9.0           16_osxarm64_openblas    conda-forge
liblief                   0.12.3               hb7217d7_0    conda-forge
libllvm13                 13.0.1               hfd59cb2_2    conda-forge
libllvm14                 14.0.6               hf6e71e7_1    conda-forge
libmamba                  1.0.0                hf129fa0_2    conda-forge
libmambapy                1.0.0            py39hb4c1959_2    conda-forge
libnghttp2                1.47.0               h519802c_1    conda-forge
libopenblas               0.3.21          openmp_hc731615_3    conda-forge
libsolv                   0.7.22               h1280f1d_0    conda-forge
libsqlite                 3.40.0               h76d750c_0    conda-forge
libssh2                   1.10.0               h7a5bd25_3    conda-forge
libxml2                   2.10.3               h87b0503_0    conda-forge
libzlib                   1.2.13               h03a7124_4    conda-forge
linkify-it-py             1.0.1                    pypi_0    pypi
livereload                2.6.3                    pypi_0    pypi
llvm-openmp               15.0.6               h7cfbb63_0    conda-forge
lockfile                  0.12.2                     py_1    conda-forge
lxml                      4.6.3                    pypi_0    pypi
lz4-c                     1.9.3                hbdafb3b_1    conda-forge
lzo                       2.10              h642e427_1000    conda-forge
macfsevents               0.8.1                    pypi_0    pypi
mako                      1.1.4                    pypi_0    pypi
mamba                     1.0.0            py39ha55b623_2    conda-forge
markdown                  3.3.4                    pypi_0    pypi
markdown-it-py            1.1.0                    pypi_0    pypi
markupsafe                2.1.1            py39h02fc5c5_2    conda-forge
matplotlib-inline         0.1.6              pyhd8ed1ab_0    conda-forge
mccabe                    0.6.1                    pypi_0    pypi
mdit-py-plugins           0.2.8                    pypi_0    pypi
menuinst                  1.4.20.dev156+g1d997d3           dev_0    <develop>
msgpack-python            1.0.4            py39haaf3ac1_1    conda-forge
mypy_extensions           0.4.3            py39h2804cbe_6    conda-forge
myst-parser               0.15.2                   pypi_0    pypi
natsort                   7.1.1                    pypi_0    pypi
nbformat                  5.7.0              pyhd8ed1ab_0    conda-forge
ncurses                   6.3                  h07bb92c_1    conda-forge
networkx                  2.8.8              pyhd8ed1ab_0    conda-forge
nikola                    8.1.3                    pypi_0    pypi
numpy                     1.23.5           py39hefdcf20_0    conda-forge
openssl                   3.0.7                h03a7124_1    conda-forge
packaging                 20.9               pyh44b312d_0    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
pastel                    0.2.1              pyhd8ed1ab_0    conda-forge
patch                     2.7.6             h27ca646_1002    conda-forge
pathspec                  0.8.1                    pypi_0    pypi
pcre2                     10.40                hb34f9b4_0    conda-forge
pep517                    0.13.0             pyhd8ed1ab_0    conda-forge
perl                      5.32.1          2_h9b22ae9_perl5    conda-forge
pexpect                   4.8.0              pyh1a96a4e_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
piexif                    1.1.3                    pypi_0    pypi
pillow                    8.3.2                    pypi_0    pypi
pip                       21.1.2             pyhd8ed1ab_0    conda-forge
pkginfo                   1.9.2              pyhd8ed1ab_0    conda-forge
platformdirs              2.4.0                    pypi_0    pypi
pluggy                    1.0.0              pyhd8ed1ab_5    conda-forge
poetry                    1.1.7            py39h2804cbe_0    conda-forge
poetry-core               1.0.8            py39h2804cbe_1    conda-forge
progressbar2              4.2.0              pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.36             pyha770c72_0    conda-forge
psutil                    5.9.4            py39h02fc5c5_0    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
py                        1.11.0                   pypi_0    pypi
py-lief                   0.12.3           py39h23fbdae_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycosat                   0.6.4            py39h02fc5c5_1    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pygments                  2.13.0             pyhd8ed1ab_0    conda-forge
pylev                     1.4.0              pyhd8ed1ab_0    conda-forge
pylint                    2.11.1                   pypi_0    pypi
pyopenssl                 22.1.0             pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyhd8ed1ab_1    conda-forge
pyrsistent                0.14.11          py39h46acfd9_2    conda-forge
pyrss2gen                 1.1                      pypi_0    pypi
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
pytest                    7.1.3                    pypi_0    pypi
pytest-qt                 4.1.0                    pypi_0    pypi
python                    3.9.15          hea58f1e_0_cpython    conda-forge
python-build              0.8.0              pyhd8ed1ab_0    conda-forge
python-dateutil           2.8.1                    pypi_0    pypi
python-fastjsonschema     2.16.2             pyhd8ed1ab_0    conda-forge
python-libarchive-c       4.0              py39h2804cbe_2    conda-forge
python-utils              3.4.5              pyhd8ed1ab_0    conda-forge
python_abi                3.9                      3_cp39    conda-forge
pytz                      2022.6             pyhd8ed1ab_0    conda-forge
pyyaml                    6.0              py39h02fc5c5_5    conda-forge
rapidfuzz                 2.13.6           py39h23fbdae_0    conda-forge
readline                  8.1.2                h46ed386_0    conda-forge
regex                     2021.4.4                 pypi_0    pypi
reproc                    14.2.3               h3422bc3_0    conda-forge
reproc-cpp                14.2.3               hbdafb3b_0    conda-forge
requests                  2.26.0                   pypi_0    pypi
requests-toolbelt         0.9.1                      py_0    conda-forge
ripgrep                   13.0.0               h65448a5_2    conda-forge
ruamel-yaml               0.17.16                  pypi_0    pypi
ruamel.yaml               0.17.21          py39h02fc5c5_2    conda-forge
ruamel.yaml.clib          0.2.7            py39h02fc5c5_1    conda-forge
ruamel.yaml.jinja2        0.2.4                      py_1    conda-forge
ruamel_yaml               0.15.80         py39h02fc5c5_1008    conda-forge
setuptools                65.5.1             pyhd8ed1ab_0    conda-forge
shellingham               1.5.0              pyhd8ed1ab_0    conda-forge
shyaml                    0.6.2              pyhd3deb0d_0    conda-forge
sigtool                   0.1.3                h44b9a77_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
soupsieve                 2.3.2.post1        pyhd8ed1ab_0    conda-forge
sphinx                    4.2.0                    pypi_0    pypi
sphinx-argparse           0.3.1                    pypi_0    pypi
sphinx-autobuild          2021.3.14                pypi_0    pypi
sphinx-rtd-theme          1.0.0                    pypi_0    pypi
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    2.0.0              pyhd8ed1ab_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-plantuml    0.21                     pypi_0    pypi
sphinxcontrib-programoutput 0.17                     pypi_0    pypi
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.5              pyhd8ed1ab_2    conda-forge
sqlite                    3.40.0               h2229b38_0    conda-forge
stdlib-list               0.8.0              pyhd8ed1ab_0    conda-forge
tapi                      1100.0.11            he4954df_0    conda-forge
tk                        8.6.12               he1e0b03_0    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
tomlkit                   0.11.6             pyha770c72_0    conda-forge
toolz                     0.12.0             pyhd8ed1ab_0    conda-forge
tornado                   6.1                      pypi_0    pypi
tqdm                      4.64.1             pyhd8ed1ab_0    conda-forge
traitlets                 5.7.1              pyhd8ed1ab_0    conda-forge
typed-ast                 1.5.4            py39h02fc5c5_1    conda-forge
typing                    3.10.0.0           pyhd8ed1ab_0    conda-forge
typing_extensions         4.4.0              pyha770c72_0    conda-forge
tzdata                    2022g                h191b570_0    conda-forge
uc-micro-py               1.0.1                    pypi_0    pypi
unidecode                 1.2.0                    pypi_0    pypi
urllib3                   1.26.13            pyhd8ed1ab_0    conda-forge
virtualenv                20.17.1          py39h2804cbe_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.38.4             pyhd8ed1ab_0    conda-forge
wrapt                     1.13.3                   pypi_0    pypi
xz                        5.2.6                h57fd34a_0    conda-forge
yaml                      0.2.5                h3422bc3_2    conda-forge
yaml-cpp                  0.7.0                hb7217d7_2    conda-forge
yapsy                     1.12.2                   pypi_0    pypi
zipp                      3.11.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               h03a7124_4    conda-forge
zstandard                 0.19.0           py39h1334381_1    conda-forge
zstd                      1.5.2                h8128057_4    conda-forge

Additional Context

No response

@jaimergp jaimergp added the type::bug describes erroneous operation, use severity::* to classify the type label Dec 15, 2022
@jezdez jezdez added source::contributor created by a frequent contributor severity::3 major; broken functionality with a workaround labels Jan 24, 2023
@jezdez jezdez modified the milestones: TBD, 23.3.0 Jan 30, 2023
@jaimergp
Copy link
Contributor Author

Blocked by #194

@jezdez
Copy link
Member

jezdez commented Jan 26, 2024

@jaimergp Did this get resolved by now?

@jaimergp
Copy link
Contributor Author

I haven't been able to reproduce again. It depended on some weird corrupt state of my local conda-build cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity::3 major; broken functionality with a workaround source::contributor created by a frequent contributor type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: Todo
Status: No status
Development

No branches or pull requests

2 participants