-
Notifications
You must be signed in to change notification settings - Fork 19
Upgrade to 0.9.0 results in package is excluded by strict repo priority
#148
Comments
...potentially due to
(which was added to the readme recently). @martinRenou, is there a reason you're restricting installs to |
I see you closed the issue, did you find the reason for this error?
As long as the package is either no-arch or built for the emscripten platform, you should be able to install packages from any channel. Note that most jupyterlite/xeus-python maintainers don't maintain anything else than conda-forge or emscripten-forge. |
We added the
This is what we had in the
even though the packages are all
error. I closed the issue because I only later read this part of the documentation:
Thereby assuming our packages (at the time) not being on the |
It seems that our adding the was solved by an upgrade of
If I use either this syntax:
or this syntax:
in the |
This may be a combination of a bug on jupyterlite-xeus-python and a wrong order of channels for you. Can you try applying the changes from #149 in your jupyterlite-xeus-python and using the following environment file: name: xeus-python-kernel
channels:
- https://conda.anaconda.org/conda-forge/label/bw2io_dev
- https://conda.anaconda.org/conda-forge/label/bw2data_dev
- https://conda.anaconda.org/conda-forge/label/bw2calc_dev
- https://repo.mamba.pm/emscripten-forge # check packages at https://beta.mamba.pm/channels
- https://conda.anaconda.org/conda-forge
- nodefaults
dependencies:
# DATA SCIENCE
- pandas
- numpy
# PLOTTING
- matplotlib
# BRIGHTWAY DEPENDENCIES (NOT PURE PYTHON)
- peewee # required by Brightway, loaded from emscripten-forge
- lxml # required by Brightway, loaded from emscripten-forge
# BRIGHTWAY CORE
- bw2io=0.9.dev21 # https://anaconda.org/conda-forge/bw2io/files
- bw2data=4.0.dev21 # https://anaconda.org/conda-forge/bw2data/files
- bw2calc=2.0.dev13 # https://anaconda.org/conda-forge/bw2calc/files |
...just tried to
|
I think this is what's wrong: conda-forge/bw2calc-feedstock#14 bw2calc should probably be noarch, am I correct saying it's pure Python? |
It's pure Python, but I think we have multiple platforms because we have to use different linear algebra solvers on different platforms (@cmutel knows more about this). Despite this, I erroneously assumed a But this seems not to be the case. |
Not being no-arch, the package cannot be installed on the emscripten-32 platform for xeus-python to use it. That is why it's complaining for it not being available. If your package is pure-python, it should specify |
Ok, understood - as I mentioned, I was under the assumption that we were providing a and hope this resolves the issue. Thanks! |
@martinRenou, we resolved the issue with
Why can't the package be loaded? It's available as |
cc. @wolfv @DerThorsten it looks like the pysocks recipe depends on a variable named |
Related conda documentation: Will we need to replace the I also saw that @martinRenou and @DerThorsten created a drop-in replacement for the requests library (altough likely for different reasons): |
Thank you for the assistance in this issue - since it was originally opened related to the error
These seem now all related to the JupterLite infrastructure rather than our packages. The upside is that we'll likely be able to use Pyodide 0.24.0 (as soon as it is released) to avoid all of these. |
Description
Upgrading to
xeus-python-kernel>0.9.0
breaks the build process of our site, throwing this error:Full Output
Reproduce
For a working version, compare branch
main
of our repo.For the broken version, compare branch
environment_upgrade
branch of our repo.build-environment.yml
(this breaks the site build):build-environment.yml
(this works fine):environment.yml
:Expected behavior
Site build completes successfully.
Context
0.1.1
Version 16.6 (18615.3.12.11.2)
Browser Output
The text was updated successfully, but these errors were encountered: