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

v1 recipe and channel_sources and priority #2226

Open
1 task done
bollwyvl opened this issue Jan 21, 2025 · 0 comments
Open
1 task done

v1 recipe and channel_sources and priority #2226

bollwyvl opened this issue Jan 21, 2025 · 0 comments
Labels

Comments

@bollwyvl
Copy link
Contributor

bollwyvl commented Jan 21, 2025

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

It appears channel_sources aren't taken into account during rattler-build:

conda-forge/jupyterlite-core-feedstock#46

# recipe/conda_build_config.yaml
channel_sources:
  - conda-forge/label/jupyterlab_alpha,conda-forge/label/notebook_alpha,conda-forge

channel_targets:
  - conda-forge jupyterlite_core_alpha
# conda-forge.yml
channel_priority: disabled  # probably not needed, but...

Yields:

 ╭─ Running python test(s)
 │
 │ ╭─ Testing with default python version
 │ │ 
 │ │ Resolving test environment:
 │ │   Platform: linux-64 [__unix=0=0, __linux=6.5.0=0, __glibc=2.34=0, __archspec=1=x86_64_v4]
 │ │   Channels: 
 │ │    - file:///tmp/.tmpsQV5ka/
 │ │    - file:///home/conda/feedstock_root/build_artifacts/
 │ │    - conda-forge
 │ │   Specs:
 │ │    - jupyterlite-core-with-lab ==0.6.0a0 hd5b2252_0
 │ │    - pip
 │ │
 │ ╰─────────────────── (took 0 seconds)
 │
 ╰─────────────────── (took 0 seconds)
Error: 
  × failed to setup test environment: Cannot solve the request because of:
  │ jupyterlite-core-with-lab ==0.6.0a0 hd5b2252_0 cannot be installed because
  │ there are no viable options:
  │ └─ jupyterlite-core-with-lab 0.6.0a0 would require
  │    └─ jupyterlab >=4.4.0a2,<4.5, for which no candidates were found.
  │ The following packages are incompatible
  │ └─ jupyterlite-core-with-lab ==0.6.0a0 hd5b2252_0 cannot be installed
  │ because there are no viable options:
  │    └─ jupyterlite-core-with-lab 0.6.0a0 is excluded because due to strict
  │ channel priority not using this option from: 'file:///home/conda/
  │ feedstock_root/build_artifacts/'
  │ 
  ╰─▶ Cannot solve the request because of: jupyterlite-core-with-lab ==0.6.0a0
      hd5b2252_0 cannot be installed because there are no viable options:
      └─ jupyterlite-core-with-lab 0.6.0a0 would require
         └─ jupyterlab >=4.4.0a2,<4.5, for which no candidates were found.
      The following packages are incompatible
      └─ jupyterlite-core-with-lab ==0.6.0a0 hd5b2252_0 cannot be installed
      because there are no viable options:
         └─ jupyterlite-core-with-lab 0.6.0a0 is excluded because due to
      strict channel priority not using this option from: 'file:///home/conda/
      feedstock_root/build_artifacts/'

Installed packages

azure

Environment info

azure
@bollwyvl bollwyvl added the bug label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant