emscripten-forge / recipes

Recipes to build the packages for the emscripten-forge distribution
BSD 3-Clause "New" or "Revised" License
57 stars 50 forks source link

(emscripten-forge channel) "package does not exist" #714

Closed michaelweinold closed 6 months ago

michaelweinold commented 1 year ago

...now that I was able to resolve https://github.com/emscripten-forge/recipes/issues/695, I can't seem to install certain packages from the emscripten-forge channel:

name: xeus-python-kernel
channels:
  - https://repo.mamba.pm/emscripten-forge
  - https://repo.mamba.pm/conda-forge
dependencies:
  - pandas=1.5.3 # https://beta.mamba.pm/channels/emscripten-forge/packages/pandas
  - numpy=1.25.2 # https://beta.mamba.pm/channels/emscripten-forge/packages/numpy
  - scipy=1.11.1 # https://beta.mamba.pm/channels/emscripten-forge/packages/scipy
  # BRIGHTWAY DEPENDENCIES (NOT PURE PYTHON)
  - peewee=3.17.0 # https://beta.mamba.pm/channels/emscripten-forge/packages/peewee
  - lxml=4.9.3 # https://beta.mamba.pm/channels/emscripten-forge/packages/lxml

returns

[LiteBuildApp] No archive (yet): xeus-python-demo-jupyterlite.tgz
[LiteBuildApp]     jupyter-lite.(json|ipynb): 0 files
/home/runner/micromamba/envs/build-env/lib/python3.12/site-packages/jupyterlite_core/addons/base.py:294: UserWarning: install libarchive-c for better perfomance when working with archives: No module named 'libarchive'
  return has_optional_dependency(
/home/runner/micromamba/envs/build-env/lib/python3.12/site-packages/jupyterlite_core/addons/translation.py:88: UserWarning: [lite] [translation] install `jupyterlab_server` to load translations: No module named 'jupyterlab_server'
  if not self.is_sys_prefix_ignored() and has_optional_dependency(
error    libmamba ZSTD decompression error: Unknown frame descriptor
error    libmamba Could not solve for environment specs
    The following packages are incompatible
    ├─ lxml 4.9.3**  does not exist (perhaps a typo or a missing channel);
    └─ peewee 3.17.0**  does not exist (perhaps a typo or a missing channel).
critical libmamba Could not solve for environment specs
DerThorsten commented 1 year ago

There is a handful of recipes which I did not manage to build right away when we switched from an old emscripten compiler to 3.1.45 (at the same time we also switched from python 3.10 to 3.11 ).

To give some context: When changing the emscripten compiler every package needs to be recompiled. I tried to do this by myself for every package, but had to stop when about 95% of the packages were done, because at some point we had to transition to the new emscripten / python versions and this update already took weeks of fulltime work :/ Also, we renamed the platform from emscripten-32 to emscripten-wasm32 when making this change. So if you want to see which packages are "actually" available you can have a look at the actual repodata.

So if a package is missing repodata but there is already a recipe, it might be enough to just bump the build number and cross the fingers and hope that it still builds.

Sorry for the inconvenience, and I hope I can help with bringing the missing packages back to life.

Greetings Thorsten

DerThorsten commented 1 year ago

so for peewee I see 3.16.3, so we probably just need to update the version, but If I remember correctly I had some problems compiling lxml which is currently missing

michaelweinold commented 1 year ago

Ah, I see - this is helpful to know, thank you! I will try to bump the build number for peewee. I didn't see an issue for lxml. Do you know what the blocker is in this case?

michaelweinold commented 6 months ago

Now that peewee has been updated in https://github.com/emscripten-forge/recipes/pull/990 and lxml has been updated in https://github.com/emscripten-forge/recipes/pull/955, I think I can close this. Thank you for your support!