-
Notifications
You must be signed in to change notification settings - Fork 49
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
Installing latest ipython release (8.24.0) causes conda validation error: 'emscripten' is not a valid Platform #927
Comments
Pinging @DerThorsten because I see that you've been working on the ipython recipe lately. Do you have any insight? |
the plattform was renamed to |
I believe everything I'm using is up to date, and I see |
can you try to use micromamba instead of conda. With micromamba you can just specify |
a
actually, the issue is in the rattler-build which writes the wrong platform to the packages. |
Terrific! Thanks so much @DerThorsten! |
For information: I just got the same error after trying to build locally JupyterLite's xeus-python-demo. First in my usual mamba forge install. After which my mambaforge got broken: any attempt to install a new package or create a new environment resulted in a `'emscripten' is not a valid Platform. I then started with a fresh Help appreciated! Linux Ubuntu 22.04. log(base) ➜ xeus-python-demo git:(main) ✗ mamba env create -f build-environment.yml Channels: - conda-forge - defaults Platform: linux-64 Collecting package metadata (repodata.json): done Solving environment: done==> WARNING: A newer version of conda exists. <== Please update conda by running
Downloading and Extracting Packages: Preparing transaction: done To activate this environment, use$ conda activate build-envTo deactivate an active environment, use$ conda deactivate(base) ➜ xeus-python-demo git:(main) ✗ conda activate build-env static:jupyter-lite.json Looking for: [] Preparing transaction: done To activate this environment, use
To deactivate an active environment, use
Looking for: ['xeus-python', 'ipycanvas'] https://repo.mamba.pm/emscripten-forge/emscripte.. Checked 1.4s Prefix: /tmp/tmp_ba11u06/env/envs/xeus-python-kernel Updating specs:
Package Version Build Channel Size
Summary: Install: 34 packages Total download: 34MB ───────────────────────────────────────────────────────────────────────────────────────────────────── wcwidth 32.7kB @ 96.9kB/s 0.3s >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
environment variables:
populated config files : /opt/miniforge3/.condarc An unexpected error has occurred. Conda has prepared the above report. Example: conda --no-plugins install Alternatively, you can set the CONDA_NO_PLUGINS environment variable on Example: CONDA_NO_PLUGINS=true conda install [LiteBuildApp] ERROR | [lite] [post_build] [jupyterlite-xeus] [ERR] Command '['/opt/miniforge3/condabin/mamba', 'install', '--yes', '--prefix', PosixPath('/tmp/tmp_ba11u06/env/envs/xeus-python-kernel'), '-c', 'https://repo.mamba.pm/emscripten-forge', '-c', 'conda-forge', 'xeus-python', 'ipycanvas']' returned non-zero exit status 1. conda activate base Looking for: ['tqdm'] warning libmamba Could not parse mod/etag header Pinned packages:
Transaction Prefix: /opt/miniforge3 Updating specs:
Package Version Build Channel Size
Summary: Upgrade: 3 packages Total download: 0 B ───────────────────────────────────────────────────────────────────── Confirm changes: [Y/n] >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
environment variables:
populated config files : /opt/miniforge3/.condarc An unexpected error has occurred. Conda has prepared the above report. Example: conda --no-plugins install Alternatively, you can set the CONDA_NO_PLUGINS environment variable on Example: CONDA_NO_PLUGINS=true conda install |
For the record: a |
Good news: upgrading conda to 24.7.1 which contains conda/conda#13962 resolved the issue!
|
Hi all,
First off, thank you so much for all your work. We're using emscripten-forge in combination with voici with great success.
In the last week or two my voici builds started to fail with the error message below after the following command is executed (inside voici build).
After this error, all of my
conda install
andconda create
commands start to fail (even in different environments). I tried reinstalling conda as well as updating to the latest version of conda (24.4 as of writing).Troubleshooting
I added a print line at
package_cache_data.py:123
(which isself._make_single_record(base_name)
according to the traceback above) and found that this validation error is triggered whenbase_name="ipython-8.24.0-py311h43c7e2a_1"
. That made me think that perhaps the latest emscripten-forge release of ipython is buggy so I tried pinning ipython to 8.23.0 and that fixed the issue.TLDR: Installing ipython 8.24.0 causes
conda.auxlib.exceptions.ValidationError: 'emscripten' is not a valid Platform
. Installing ipython 8.23.0 works ok.Thanks in advance.
The text was updated successfully, but these errors were encountered: