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

CI: switch to micromamba #2758

Closed
wants to merge 19 commits into from
Closed

CI: switch to micromamba #2758

wants to merge 19 commits into from

Conversation

certik
Copy link
Contributor

@certik certik commented Jul 6, 2024

No description provided.

@certik certik mentioned this pull request Jul 6, 2024
@certik
Copy link
Contributor Author

certik commented Jul 6, 2024

It's weird that I had to fix a xonsh version. I think it's because old versions of packages were being cached, and the new versions do not work. The macOS error might also be caused by that. I am investigating just this cache issue in #2759.


- name: Install Linux / macOS Conda Packages
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
shell: bash -e -l {0}
run: conda install bison=3.4 nodejs=18
run: micromamba install bison=3.4 nodejs=18 xeus=1.0.1 nlohmann_json=3.9.1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason this line upgrades packages, destroying our "pins" from ci/environment.yml. We need to make micromamba to only install the new packages, without upgrading.

@certik
Copy link
Contributor Author

certik commented Jul 6, 2024

Failing macOS:

-- The C compiler identification is AppleClang 15.0.0.15000040
-- The CXX compiler identification is AppleClang 15.0.0.15000040
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode_15.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode_15.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /Users/runner/micromamba/envs/lp/lib/libz.a (found version "1.3.1")
-- Found LLVM 11.1.0
-- Using LLVMConfig.cmake in: /Users/runner/micromamba/envs/lp/lib/cmake/llvm
-- Found nlohmann_json: /Users/runner/micromamba/envs/lp/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found suitable version "3.9.1", minimum required is "3.2.0")
-- Found OpenSSL: /Users/runner/micromamba/envs/lp/lib/libcrypto.dylib (found version "1.1.1w")
-- Found RapidJSON: /Users/runner/micromamba/envs/lp/include

Working macOS:

-- The C compiler identification is AppleClang 15.0.0.15000040
-- The CXX compiler identification is AppleClang 15.0.0.15000040
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode_15.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode_15.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /Users/runner/miniconda3/envs/test/lib/libz.a (found version "1.2.13")
-- Found LLVM 11.1.0
-- Using LLVMConfig.cmake in: /Users/runner/miniconda3/envs/test/lib/cmake/llvm
-- Found nlohmann_json: /Users/runner/miniconda3/envs/test/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found suitable version "3.9.1", minimum required is "3.2.0")
-- Found OpenSSL: /Users/runner/miniconda3/envs/test/lib/libcrypto.dylib (found version "1.1.1s")
-- Found RapidJSON: /Users/runner/miniconda3/envs/test/include
-- Found MACHO: /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include

@certik
Copy link
Contributor Author

certik commented Jul 6, 2024

Failing versions:

  Name                           Version             Build                 Channel    
────────────────────────────────────────────────────────────────────────────────────────
  anyio                          4.4.0               pyhd8ed1ab_0          conda-forge
  appnope                        0.1.4               pyhd8ed1ab_0          conda-forge
  argon2-cffi                    23.1.0              pyhd8ed1ab_0          conda-forge
  argon2-cffi-bindings           21.2.0              py310h2aa6e3c_4       conda-forge
  arrow                          1.3.0               pyhd8ed1ab_0          conda-forge
  asttokens                      2.4.1               pyhd8ed1ab_0          conda-forge
  async-lru                      2.0.4               pyhd8ed1ab_0          conda-forge
  attrs                          23.2.0              pyh71513ae_0          conda-forge
  babel                          2.14.0              pyhd8ed1ab_0          conda-forge
  beautifulsoup4                 4.12.3              pyha770c72_0          conda-forge
  bison                          3.4                 h9aa5885_1            conda-forge
  bleach                         6.1.0               pyhd8ed1ab_0          conda-forge
  brotli-python                  1.1.0               py310h1253130_1       conda-forge
  bzip2                          1.0.8               h93a5062_5            conda-forge
  ca-certificates                2024.7.4            hf0a4a13_0            conda-forge
  cached-property                1.5.2               hd8ed1ab_1            conda-forge
  cached_property                1.5.2               pyha770c72_1          conda-forge
  certifi                        2024.6.2            pyhd8ed1ab_0          conda-forge
  cffi                           1.16.0              py310hdcd7c05_0       conda-forge
  charset-normalizer             3.3.2               pyhd8ed1ab_0          conda-forge
  colorama                       0.4.6               pyhd8ed1ab_0          conda-forge
  comm                           0.2.2               pyhd8ed1ab_0          conda-forge
  conda-suggest                  0.1.1               pyh9f0ad1d_0          conda-forge
  conda-suggest-conda-forge      2021.8.24           hf450f58_0            conda-forge
  cppzmq                         4.7.1               hcbf3157_2            conda-forge
  debugpy                        1.8.2               py310hcf9f62a_0       conda-forge
  decorator                      5.1.1               pyhd8ed1ab_0          conda-forge
  defusedxml                     0.7.1               pyhd8ed1ab_0          conda-forge
  entrypoints                    0.4                 pyhd8ed1ab_0          conda-forge
  exceptiongroup                 1.2.0               pyhd8ed1ab_2          conda-forge
  executing                      2.0.1               pyhd8ed1ab_0          conda-forge
  flex                           2.6.4               h1474e2a_1004         conda-forge
  fqdn                           1.5.1               pyhd8ed1ab_0          conda-forge
  h11                            0.14.0              pyhd8ed1ab_0          conda-forge
  h2                             4.1.0               pyhd8ed1ab_0          conda-forge
  hpack                          4.0.0               pyh9f0ad1d_0          conda-forge
  httpcore                       1.0.5               pyhd8ed1ab_0          conda-forge
  httpx                          0.27.0              pyhd8ed1ab_0          conda-forge
  hyperframe                     6.0.1               pyhd8ed1ab_0          conda-forge
  icu                            70.1                h6b3803e_0            conda-forge
  idna                           3.7                 pyhd8ed1ab_0          conda-forge
  importlib-metadata             8.0.0               pyha770c72_0          conda-forge
  importlib_metadata             8.0.0               hd8ed1ab_0            conda-forge
  importlib_resources            6.4.0               pyhd8ed1ab_0          conda-forge
  iniconfig                      2.0.0               pyhd8ed1ab_0          conda-forge
  ipykernel                      6.29.5              pyh57ce528_0          conda-forge
  ipython                        8.26.0              pyh707e725_0          conda-forge
  ipywidgets                     8.1.3               pyhd8ed1ab_0          conda-forge
  isoduration                    20.11.0             pyhd8ed1ab_0          conda-forge
  jedi                           0.19.1              pyhd8ed1ab_0          conda-forge
  jinja2                         3.1.4               pyhd8ed1ab_0          conda-forge
  json5                          0.9.25              pyhd8ed1ab_0          conda-forge
  jsonpointer                    3.0.0               py310hbe9552e_0       conda-forge
  jsonschema                     4.22.0              pyhd8ed1ab_0          conda-forge
  jsonschema-specifications      2023.12.1           pyhd8ed1ab_0          conda-forge
  jsonschema-with-format-nongpl  4.22.0              pyhd8ed1ab_0          conda-forge
  jupyter                        1.0.0               pyhd8ed1ab_10         conda-forge
  jupyter-lsp                    2.2.5               pyhd8ed1ab_0          conda-forge
  jupyter_client                 8.6.2               pyhd8ed1ab_0          conda-forge
  jupyter_console                6.6.3               pyhd8ed1ab_0          conda-forge
  jupyter_core                   5.7.2               py310hbe9552e_0       conda-forge
  jupyter_events                 0.10.0              pyhd8ed1ab_0          conda-forge
  jupyter_kernel_test            0.7.0               pyhd8ed1ab_0          conda-forge
  jupyter_server                 2.14.1              pyhd8ed1ab_0          conda-forge
  jupyter_server_terminals       0.5.3               pyhd8ed1ab_0          conda-forge
  jupyterlab                     4.2.3               pyhd8ed1ab_0          conda-forge
  jupyterlab_pygments            0.3.0               pyhd8ed1ab_1          conda-forge
  jupyterlab_server              2.27.2              pyhd8ed1ab_0          conda-forge
  jupyterlab_widgets             3.0.11              pyhd8ed1ab_0          conda-forge
  libblas                        3.9.0               22_osxarm64_openblas  conda-forge
  libcblas                       3.9.0               22_osxarm64_openblas  conda-forge
  libcxx                         17.0.6              h0812c0d_3            conda-forge
  libffi                         3.4.2               h3422bc3_5            conda-forge
  libgfortran                    5.0.0               13_2_0_hd922786_3     conda-forge
  libgfortran5                   13.2.0              hf226fd6_3            conda-forge
  libiconv                       1.17                h0d3ecfb_2            conda-forge
  liblapack                      3.9.0               22_osxarm64_openblas  conda-forge
  libllvm11                      11.1.0              hfa12f05_5            conda-forge
  libopenblas                    0.3.27              openmp_h6c19121_0     conda-forge
  libsodium                      1.0.18              h27ca646_1            conda-forge
  libsqlite                      3.46.0              hfb93653_0            conda-forge
  libuv                          1.44.2              hb547adb_1            conda-forge
  libzlib                        1.3.1               hfb2fe0b_1            conda-forge
  llvm-openmp                    18.1.8              hde57baf_0            conda-forge
  llvm-tools                     11.1.0              hfa12f05_5            conda-forge
  llvmdev                        11.1.0              hfa12f05_5            conda-forge
  m4                             1.4.18              h642e427_1001         conda-forge
  markupsafe                     2.1.5               py310hd125d64_0       conda-forge
  matplotlib-inline              0.1.7               pyhd8ed1ab_0          conda-forge
  mistune                        3.0.2               pyhd8ed1ab_0          conda-forge
  nbclient                       0.10.0              pyhd8ed1ab_0          conda-forge
  nbconvert                      7.16.4              hd8ed1ab_1            conda-forge
  nbconvert-core                 7.16.4              pyhd8ed1ab_1          conda-forge
  nbconvert-pandoc               7.16.4              hd8ed1ab_1            conda-forge
  nbformat                       5.10.4              pyhd8ed1ab_0          conda-forge
  ncurses                        6.5                 hb89a1cb_0            conda-forge
  nest-asyncio                   1.6.0               pyhd8ed1ab_0          conda-forge
  ninja                          1.12.1              h420ef59_0            conda-forge
  nlohmann_json                  3.9.1               hbdafb3b_1            conda-forge
  nodejs                         18.12.1             haa6f3e8_0            conda-forge
  notebook                       7.2.1               pyhd8ed1ab_0          conda-forge
  notebook-shim                  0.2.4               pyhd8ed1ab_0          conda-forge
  numpy                          2.0.0               py310h52bbd9b_0       conda-forge
  openssl                        1.1.1w              h53f4e23_0            conda-forge
  overrides                      7.7.0               pyhd8ed1ab_0          conda-forge
  packaging                      24.1                pyhd8ed1ab_0          conda-forge
  pandoc                         3.2.1               hce30654_0            conda-forge
  pandocfilters                  1.5.0               pyhd8ed1ab_0          conda-forge
  parso                          0.8.4               pyhd8ed1ab_0          conda-forge
  pexpect                        4.9.0               pyhd8ed1ab_0          conda-forge
  pickleshare                    0.7.5               py_1003               conda-forge
  pip                            24.0                pyhd8ed1ab_0          conda-forge
  pkgutil-resolve-name           1.3.10              pyhd8ed1ab_1          conda-forge
  platformdirs                   4.2.2               pyhd8ed1ab_0          conda-forge
  pluggy                         1.5.0               pyhd8ed1ab_0          conda-forge
  prometheus_client              0.20.0              pyhd8ed1ab_0          conda-forge
  prompt-toolkit                 3.0.47              pyha770c72_0          conda-forge
  prompt_toolkit                 3.0.47              hd8ed1ab_0            conda-forge
  psutil                         6.0.0               py310ha6dd24b_0       conda-forge
  ptyprocess                     0.7.0               pyhd3deb0d_0          conda-forge
  pure_eval                      0.2.2               pyhd8ed1ab_0          conda-forge
  pycparser                      2.22                pyhd8ed1ab_0          conda-forge
  pygments                       2.18.0              pyhd8ed1ab_0          conda-forge
  pyobjc-core                    10.3.1              py310h4b7648a_0       conda-forge
  pyobjc-framework-cocoa         10.3.1              py310h4b7648a_0       conda-forge
  pyperclip                      1.9.0               pyh534df25_0          conda-forge
  pysocks                        1.7.1               pyha2e5f31_6          conda-forge
  pytest                         8.2.2               pyhd8ed1ab_0          conda-forge
  python                         3.10.8              hf452327_0_cpython    conda-forge
  python-dateutil                2.9.0               pyhd8ed1ab_0          conda-forge
  python-fastjsonschema          2.20.0              pyhd8ed1ab_0          conda-forge
  python-json-logger             2.0.7               pyhd8ed1ab_0          conda-forge
  python_abi                     3.10                4_cp310               conda-forge
  pytz                           2024.1              pyhd8ed1ab_0          conda-forge
  pyyaml                         6.0.1               py310h2aa6e3c_1       conda-forge
  pyzmq                          26.0.3              py310h16e08c9_0       conda-forge
  qtconsole-base                 5.5.2               pyha770c72_0          conda-forge
  qtpy                           2.4.1               pyhd8ed1ab_0          conda-forge
  rapidjson                      1.1.0.post20240409  h00cdb27_1            conda-forge
  re2c                           3.1                 h13dd4ca_0            conda-forge
  readline                       8.2                 h92ec313_1            conda-forge
  referencing                    0.35.1              pyhd8ed1ab_0          conda-forge
  requests                       2.32.3              pyhd8ed1ab_0          conda-forge
  rfc3339-validator              0.1.4               pyhd8ed1ab_0          conda-forge
  rfc3986-validator              0.1.1               pyh9f0ad1d_0          conda-forge
  rpds-py                        0.18.1              py310h947b723_0       conda-forge
  send2trash                     1.8.3               pyh31c8845_0          conda-forge
  setproctitle                   1.3.3               py310h2aa6e3c_0       conda-forge
  setuptools                     70.1.1              pyhd8ed1ab_0          conda-forge
  six                            1.16.0              pyh6c4a22f_0          conda-forge
  sniffio                        1.3.1               pyhd8ed1ab_0          conda-forge
  soupsieve                      2.5                 pyhd8ed1ab_1          conda-forge
  stack_data                     0.6.2               pyhd8ed1ab_0          conda-forge
  terminado                      0.18.1              pyh31c8845_0          conda-forge
  tinycss2                       1.3.0               pyhd8ed1ab_0          conda-forge
  tk                             8.6.13              h5083fa2_1            conda-forge
  toml                           0.10.2              pyhd8ed1ab_0          conda-forge
  tomli                          2.0.1               pyhd8ed1ab_0          conda-forge
  tornado                        6.4.1               py310ha6dd24b_0       conda-forge
  tqdm                           4.66.4              pyhd8ed1ab_0          conda-forge
  traitlets                      5.14.3              pyhd8ed1ab_0          conda-forge
  types-python-dateutil          2.9.0.20240316      pyhd8ed1ab_0          conda-forge
  typing-extensions              4.12.2              hd8ed1ab_0            conda-forge
  typing_extensions              4.12.2              pyha770c72_0          conda-forge
  typing_utils                   0.1.0               pyhd8ed1ab_0          conda-forge
  tzdata                         2024a               h0c530f3_0            conda-forge
  uri-template                   1.3.0               pyhd8ed1ab_0          conda-forge
  urllib3                        2.2.2               pyhd8ed1ab_1          conda-forge
  wcwidth                        0.2.13              pyhd8ed1ab_0          conda-forge
  webcolors                      24.6.0              pyhd8ed1ab_0          conda-forge
  webencodings                   0.5.1               pyhd8ed1ab_2          conda-forge
  websocket-client               1.8.0               pyhd8ed1ab_0          conda-forge
  wheel                          0.43.0              pyhd8ed1ab_1          conda-forge
  widgetsnbextension             4.0.11              pyhd8ed1ab_0          conda-forge
  xeus                           1.0.1               hcbf3157_2            conda-forge
  xonsh                          0.16.0              py310hbe9552e_0       conda-forge
  xtl                            0.7.7               h2ffa867_0            conda-forge
  xz                             5.2.6               h57fd34a_0            conda-forge
  yaml                           0.2.5               h3422bc3_2            conda-forge
  zeromq                         4.3.5               hebf3989_1            conda-forge
  zipp                           3.19.2              pyhd8ed1ab_0          conda-forge
  zlib                           1.3.1               hfb2fe0b_1            conda-forge
  zstandard                      0.22.0              py310hd9c37c8_1       conda-forge
  zstd                           1.5.6               hb46c0d2_0            conda-forge

good versions:

# packages in environment at /Users/runner/miniconda3/envs/test:
#
# Name                    Version                   Build  Channel
anyio                     3.6.2              pyhd8ed1ab_0    conda-forge
appnope                   0.1.3              pyhd8ed1ab_0    conda-forge
argon2-cffi               21.3.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0          py310h90acd4f_3    conda-forge
asttokens                 2.1.0              pyhd8ed1ab_0    conda-forge
attrs                     22.1.0             pyh71513ae_1    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
beautifulsoup4            4.11.1             pyha770c72_0    conda-forge
bison                     3.4                  h2e338ed_1    conda-forge
bleach                    5.0.1              pyhd8ed1ab_0    conda-forge
bzip2                     1.0.8                h0d85af4_4    conda-forge
ca-certificates           2022.9.24            h033912b_0    conda-forge
cffi                      1.15.1          py310ha78151a_2    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
conda-suggest             0.1.1              pyh9f0ad1d_0    conda-forge
conda-suggest-conda-forge 2021.8.24            h694c41f_0    conda-forge
cppzmq                    4.7.1                hf09c4ce_2    conda-forge
debugpy                   1.6.3           py310h7a76584_1    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
exceptiongroup            1.0.4              pyhd8ed1ab_0    conda-forge
executing                 1.2.0              pyhd8ed1ab_0    conda-forge
flex                      2.6.4             hcc69e7b_1004    conda-forge
flit-core                 3.8.0              pyhd8ed1ab_0    conda-forge
gettext                   0.21.1               h8a4c099_0    conda-forge
glib                      2.74.1               hbc0c0cd_1    conda-forge
glib-tools                2.74.1               hbc0c0cd_1    conda-forge
gst-plugins-base          1.21.1               h37e1711_1    conda-forge
gstreamer                 1.21.1               h1d18e73_1    conda-forge
icu                       70.1                 h96cf925_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
importlib-metadata        5.0.0              pyha770c72_1    conda-forge
importlib_resources       5.10.0             pyhd8ed1ab_0    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
ipykernel                 6.17.1             pyh736e0ef_0    conda-forge
ipython                   8.6.0              pyhd1c38e8_1    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                8.0.2              pyhd8ed1ab_1    conda-forge
jedi                      0.18.1             pyhd8ed1ab_2    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jpeg                      9e                   hac89ed1_2    conda-forge
jsonschema                4.17.0             pyhd8ed1ab_0    conda-forge
jupyter                   1.0.0           py310h2ec42d9_7    conda-forge
jupyter_client            7.4.7              pyhd8ed1ab_0    conda-forge
jupyter_console           6.4.4              pyhd8ed1ab_0    conda-forge
jupyter_core              5.0.0           py310h2ec42d9_0    conda-forge
jupyter_kernel_test       0.4.4              pyhd8ed1ab_0    conda-forge
jupyter_server            1.23.2             pyhd8ed1ab_0    conda-forge
jupyterlab_pygments       0.2.2              pyhd8ed1ab_0    conda-forge
jupyterlab_widgets        3.0.3              pyhd8ed1ab_0    conda-forge
krb5                      1.19.3               hb49756b_0    conda-forge
libblas                   3.9.0           16_osx64_openblas    conda-forge
libcblas                  3.9.0           16_osx64_openblas    conda-forge
libclang                  15.0.5          default_h20dc2f0_0    conda-forge
libclang13                15.0.5          default_hc4b5f92_0    conda-forge
libcxx                    14.0.6               hccf4f1f_0    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libffi                    3.4.2                h0d85af4_5    conda-forge
libgfortran               5.0.0           9_5_0_h97931a8_26    conda-forge
libgfortran5              11.3.0              h082f757_26    conda-forge
libglib                   2.74.1               h4c723e1_1    conda-forge
libiconv                  1.17                 hac89ed1_0    conda-forge
liblapack                 3.9.0           16_osx64_openblas    conda-forge
libllvm11                 11.1.0               h8fb7429_5    conda-forge
libllvm15                 15.0.5               h7001e86_0    conda-forge
libogg                    1.3.4                h35c211d_1    conda-forge
libopenblas               0.3.21          openmp_h429af6e_3    conda-forge
libopus                   1.3.1                hc929b4f_1    conda-forge
libpng                    1.6.38               ha978bb4_0    conda-forge
libpq                     14.5                 h50fae06_1    conda-forge
libsodium                 1.0.18               hbcb3906_1    conda-forge
libsqlite                 3.40.0               ha978bb4_0    conda-forge
libuv                     1.44.2               hac89ed1_0    conda-forge
libvorbis                 1.3.7                h046ec9c_0    conda-forge
libxml2                   2.10.3               hb9e07b5_0    conda-forge
libzlib                   1.2.13               hfd90126_4    conda-forge
llvm-openmp               15.0.5               h61d9ccf_0    conda-forge
llvm-tools                11.1.0               h8fb7429_5    conda-forge
llvmdev                   11.1.0               h8fb7429_5    conda-forge
m4                        1.4.18            haf1e3a3_1001    conda-forge
markupsafe                2.1.1           py310h90acd4f_2    conda-forge
matplotlib-inline         0.1.6              pyhd8ed1ab_0    conda-forge
mistune                   2.0.4              pyhd8ed1ab_0    conda-forge
mysql-common              8.0.31               h7ebae80_0    conda-forge
mysql-libs                8.0.31               hc37e033_0    conda-forge
nbclassic                 0.4.8              pyhd8ed1ab_0    conda-forge
nbclient                  0.7.0              pyhd8ed1ab_0    conda-forge
nbconvert                 7.2.5              pyhd8ed1ab_0    conda-forge
nbconvert-core            7.2.5              pyhd8ed1ab_0    conda-forge
nbconvert-pandoc          7.2.5              pyhd8ed1ab_0    conda-forge
nbformat                  5.7.0              pyhd8ed1ab_0    conda-forge
ncurses                   6.3                  h96cf925_1    conda-forge
nest-asyncio              1.5.6              pyhd8ed1ab_0    conda-forge
ninja                     1.11.0               h1b54a9f_0    conda-forge
nlohmann_json             3.9.1                he49afe7_1    conda-forge
nodejs                    18.12.1              h3591b89_0    conda-forge
notebook                  6.5.2              pyha770c72_1    conda-forge
notebook-shim             0.2.2              pyhd8ed1ab_0    conda-forge
nspr                      4.32                 hcd9eead_1    conda-forge
nss                       3.78                 ha8197d3_0    conda-forge
numpy                     1.23.4          py310h1b7c290_1    conda-forge
openssl                   1.1.1s               hfd90126_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandoc                    2.19.2               h694c41f_1    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
pcre2                     10.40                h1c4e4bc_0    conda-forge
pexpect                   4.8.0              pyh1a96a4e_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pip                       22.3.1             pyhd8ed1ab_0    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_0    conda-forge
platformdirs              2.5.2              pyhd8ed1ab_1    conda-forge
pluggy                    1.0.0              pyhd8ed1ab_5    conda-forge
ply                       3.11                       py_1    conda-forge
prometheus_client         0.15.0             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.32             pyha770c72_0    conda-forge
prompt_toolkit            3.0.32               hd8ed1ab_0    conda-forge
psutil                    5.9.4           py310h90acd4f_0    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pygments                  2.13.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyperclip                 1.8.2              pyhd8ed1ab_2    conda-forge
pyqt                      5.15.7          py310hdd03f62_2    conda-forge
pyqt5-sip                 12.11.0         py310h415000c_2    conda-forge
pyrsistent                0.19.2          py310h90acd4f_0    conda-forge
pytest                    7.2.0              pyhd8ed1ab_2    conda-forge
python                    3.10.6          ha7b0be1_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-fastjsonschema     2.16.2             pyhd8ed1ab_0    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pyzmq                     24.0.1          py310hf615a82_1    conda-forge
qt-main                   5.15.6               he0d2461_1    conda-forge
qtconsole                 5.4.0              pyhd8ed1ab_0    conda-forge
qtconsole-base            5.4.0              pyha770c72_0    conda-forge
qtpy                      2.3.0              pyhd8ed1ab_0    conda-forge
rapidjson                 1.1.0             hb1e8313_1002    conda-forge
re2c                      2.2                  he49afe7_0    conda-forge
readline                  8.1.2                h3899abd_0    conda-forge
send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
setproctitle              1.3.2           py310h90acd4f_1    conda-forge
setuptools                65.5.1             pyhd8ed1ab_0    conda-forge
sip                       6.7.4           py310h7a76584_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
sniffio                   1.3.0              pyhd8ed1ab_0    conda-forge
soupsieve                 2.3.2.post1        pyhd8ed1ab_0    conda-forge
sqlite                    3.40.0               h9ae0607_0    conda-forge
stack_data                0.6.1              pyhd8ed1ab_0    conda-forge
terminado                 0.17.0             pyhd1c38e8_0    conda-forge
tinycss2                  1.2.1              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h5dbffcc_0    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
tornado                   6.2             py310h90acd4f_1    conda-forge
tqdm                      4.64.1             pyhd8ed1ab_0    conda-forge
traitlets                 5.5.0              pyhd8ed1ab_0    conda-forge
typing_extensions         4.4.0              pyha770c72_0    conda-forge
tzdata                    2022f                h191b570_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
websocket-client          1.4.2              pyhd8ed1ab_0    conda-forge
wheel                     0.38.4             pyhd8ed1ab_0    conda-forge
widgetsnbextension        4.0.3              pyhd8ed1ab_0    conda-forge
xeus                      1.0.1                hf09c4ce_2    conda-forge
xonsh                     0.13.3          py310h2ec42d9_1    conda-forge
xtl                       0.7.4                h940c156_0    conda-forge
xz                        5.2.6                h775f41a_0    conda-forge
zeromq                    4.3.4                he49afe7_1    conda-forge
zipp                      3.10.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               hfd90126_4    conda-forge
zstd                      1.5.2                hfa58983_4    conda-forge

@certik
Copy link
Contributor Author

certik commented Jul 6, 2024

Here are the packages in conda info, there are still some slight differences:

List of packages in environment: "/Users/runner/micromamba/envs/lp"

  Name                           Version             Build                 Channel    
────────────────────────────────────────────────────────────────────────────────────────
  anyio                          4.4.0               pyhd8ed1ab_0          conda-forge
  appnope                        0.1.4               pyhd8ed1ab_0          conda-forge
  argon2-cffi                    23.1.0              pyhd8ed1ab_0          conda-forge
  argon2-cffi-bindings           21.2.0              py310h2aa6e3c_4       conda-forge
  arrow                          1.3.0               pyhd8ed1ab_0          conda-forge
  asttokens                      2.4.1               pyhd8ed1ab_0          conda-forge
  async-lru                      2.0.4               pyhd8ed1ab_0          conda-forge
  attrs                          23.2.0              pyh71513ae_0          conda-forge
  babel                          2.14.0              pyhd8ed1ab_0          conda-forge
  beautifulsoup4                 4.12.3              pyha770c72_0          conda-forge
  bison                          3.4                 h9aa5885_1            conda-forge
  bleach                         6.1.0               pyhd8ed1ab_0          conda-forge
  brotli-python                  1.1.0               py310h1253130_1       conda-forge
  bzip2                          1.0.8               h93a5062_5            conda-forge
  ca-certificates                2024.7.4            hf0a4a13_0            conda-forge
  cached-property                1.5.2               hd8ed1ab_1            conda-forge
  cached_property                1.5.2               pyha770c72_1          conda-forge
  prompt_toolkit                 3.0.47              hd8ed1ab_0            conda-forge
  psutil                         6.0.0               py310ha6dd24b_0       conda-forge
  ptyprocess                     0.7.0               pyhd3deb0d_0          conda-forge
  pure_eval                      0.2.2               pyhd8ed1ab_0          conda-forge
  pycparser                      2.22                pyhd8ed1ab_0          conda-forge
  pygments                       2.18.0              pyhd8ed1ab_0          conda-forge
  pyobjc-core                    10.3.1              py310h4b7648a_0       conda-forge
  pyobjc-framework-cocoa         10.3.1              py310h4b7648a_0       conda-forge
  pyperclip                      1.9.0               pyh534df25_0          conda-forge
  pysocks                        1.7.1               pyha2e5f31_6          conda-forge
  pytest                         7.2.0               pyhd8ed1ab_2          conda-forge
  python                         3.10.8              hf452327_0_cpython    conda-forge
  python-dateutil                2.9.0               pyhd8ed1ab_0          conda-forge
  python-fastjsonschema          2.20.0              pyhd8ed1ab_0          conda-forge
  python-json-logger             2.0.7               pyhd8ed1ab_0          conda-forge
  python_abi                     3.10                4_cp310               conda-forge
  pytz                           2024.1              pyhd8ed1ab_0          conda-forge
  pyyaml                         6.0.1               py310h2aa6e3c_1       conda-forge
  pyzmq                          26.0.3              py310h16e08c9_0       conda-forge
  qtconsole-base                 5.5.2               pyha770c72_0          conda-forge
  qtpy                           2.4.1               pyhd8ed1ab_0          conda-forge
  rapidjson                      1.1.0.post20240409  h00cdb27_1            conda-forge
  re2c                           2.2                 hbdafb3b_0            conda-forge
  readline                       8.2                 h92ec313_1            conda-forge
  referencing                    0.35.1              pyhd8ed1ab_0          conda-forge
  requests                       2.32.3              pyhd8ed1ab_0          conda-forge
  rfc3339-validator              0.1.4               pyhd8ed1ab_0          conda-forge
  rfc3986-validator              0.1.1               pyh9f0ad1d_0          conda-forge
  rpds-py                        0.18.1              py310h947b723_0       conda-forge
  send2trash                     1.8.3               pyh31c8845_0          conda-forge
  setproctitle                   1.3.3               py310h2aa6e3c_0       conda-forge
  setuptools                     70.1.1              pyhd8ed1ab_0          conda-forge
  six                            1.16.0              pyh6c4a22f_0          conda-forge
  sniffio                        1.3.1               pyhd8ed1ab_0          conda-forge
  soupsieve                      2.5                 pyhd8ed1ab_1          conda-forge
  stack_data                     0.6.2               pyhd8ed1ab_0          conda-forge
  terminado                      0.18.1              pyh31c8845_0          conda-forge
  tinycss2                       1.3.0               pyhd8ed1ab_0          conda-forge
  tk                             8.6.13              h5083fa2_1            conda-forge
  toml                           0.10.2              pyhd8ed1ab_0          conda-forge
  tomli                          2.0.1               pyhd8ed1ab_0          conda-forge
  tornado                        6.4.1               py310ha6dd24b_0       conda-forge
  tqdm                           4.66.4              pyhd8ed1ab_0          conda-forge
  traitlets                      5.14.3              pyhd8ed1ab_0          conda-forge
  types-python-dateutil          2.9.0.20240316      pyhd8ed1ab_0          conda-forge
  typing-extensions              4.12.2              hd8ed1ab_0            conda-forge
  typing_extensions              4.12.2              pyha770c72_0          conda-forge
  typing_utils                   0.1.0               pyhd8ed1ab_0          conda-forge
  tzdata                         2024a               h0c530f3_0            conda-forge
  uri-template                   1.3.0               pyhd8ed1ab_0          conda-forge
  urllib3                        2.2.2               pyhd8ed1ab_1          conda-forge
  wcwidth                        0.2.13              pyhd8ed1ab_0          conda-forge
  webcolors                      24.6.0              pyhd8ed1ab_0          conda-forge
  webencodings                   0.5.1               pyhd8ed1ab_2          conda-forge
  websocket-client               1.8.0               pyhd8ed1ab_0          conda-forge
  wheel                          0.43.0              pyhd8ed1ab_1          conda-forge
  widgetsnbextension             4.0.11              pyhd8ed1ab_0          conda-forge
  xeus                           1.0.1               hcbf3157_2            conda-forge
  xonsh                          0.13.3              py310hbe9552e_1       conda-forge
  xtl                            0.7.4               hc021e02_0            conda-forge
  xz                             5.2.6               h57fd34a_0            conda-forge
  yaml                           0.2.5               h3422bc3_2            conda-forge
  zeromq                         4.3.5               hebf3989_1            conda-forge
  zipp                           3.19.2              pyhd8ed1ab_0          conda-forge
  zlib                           1.2.13              hfb2fe0b_6            conda-forge
  zstandard                      0.19.0              py310h07fcf8c_2       conda-forge
  zstd                           1.5.2               h4f39d0f_7            conda-forge

@certik certik changed the title CI: switch to micromamba, update xeus CI: switch to micromamba Jul 6, 2024
@certik
Copy link
Contributor Author

certik commented Jul 6, 2024

@Vipul-Cariappa this PR is now pretty minimal. The switch to micromamba makes the macOS test fail. We have to compare package versions, there are still some differences, although quite minor now. All the major packages are now the same.

@Vipul-Cariappa Vipul-Cariappa mentioned this pull request Jul 8, 2024
@Vipul-Cariappa
Copy link
Contributor

I believe -1 in 8 bits would be represented as 0b11111111, and that is 255 in 32 bits. I believe the type cast is not working properly then?
error msg in CI is: https://github.com/lcompilers/lpython/actions/runs/9822076236/job/27118447847?pr=2758#step:10:376

@Vipul-Cariappa
Copy link
Contributor

@certik, I don't have a macOS based computer, could you please try this and give me the output in interactive mode.

>>> i8(-1)
-1

@certik
Copy link
Contributor Author

certik commented Jul 8, 2024

I don't have a macOS either right now. I commented out the failing tests, let's see if this is the only issue.

@certik
Copy link
Contributor Author

certik commented Jul 8, 2024

@Vipul-Cariappa everything passes finally. I am now testing these changes in your jupyter PR: #2763.

@certik
Copy link
Contributor Author

certik commented Jul 8, 2024

Fixed in #2764.

@certik certik closed this Jul 8, 2024
@certik certik deleted the ci_mamba branch July 8, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants