-
Notifications
You must be signed in to change notification settings - Fork 163
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
CI: switch to micromamba #2758
Conversation
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. |
.github/workflows/CI.yml
Outdated
|
||
- 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 |
There was a problem hiding this comment.
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.
Failing macOS:
Working macOS:
|
Failing versions:
good versions:
|
Here are the packages in conda info, there are still some slight differences:
|
@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. |
I believe -1 in 8 bits would be represented as |
@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 |
I don't have a macOS either right now. I commented out the failing tests, let's see if this is the only issue. |
@Vipul-Cariappa everything passes finally. I am now testing these changes in your jupyter PR: #2763. |
Fixed in #2764. |
No description provided.