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

Robostack-humble channel not mirroring correctly #3136

Open
2 tasks done
TedVanderfeen opened this issue Feb 14, 2025 · 2 comments
Open
2 tasks done

Robostack-humble channel not mirroring correctly #3136

TedVanderfeen opened this issue Feb 14, 2025 · 2 comments

Comments

@TedVanderfeen
Copy link

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

pixi init robostack
cd robostack

Modify pixi.toml with the following configuration:

[project]
name = "robostack"
version = "0.1.0"
description = "Development environment for RoboStack ROS packages"
authors = ["Your Name <[email protected]>"]
channels = ["https://fast.prefix.dev/conda-forge"]
platforms = ["linux-64", "win-64", "osx-64", "osx-arm64", "linux-aarch64"]

[target.win-64.dependencies]
#vs2022_win-64 = "*" #Uncomment if using Visual Studio 2022

[dependencies]
python = "==3.11"
compilers = "*"
cmake = "*"
pkg-config = "*"
make = "*"
ninja = "*"

[environments]
noetic = { features = ["noetic"] }
humble = { features = ["humble"] }
jazzy = { features = ["jazzy"] }

#noetic
[feature.noetic]
channels = ["https://prefix.dev/robostack-staging"]

[feature.noetic.dependencies]
ros-noetic-desktop = "*"
catkin_tools = "*"
rosdep = "*"

#humble
[feature.humble]
channels = ["https://prefix.dev/robostack-humble"]

[feature.humble.dependencies]
ros-humble-desktop = "*"
colcon-common-extensions = "*"
rosdep = "*"

#jazzy
[feature.jazzy]
channels = ["https://prefix.dev/robostack-jazzy"]

[feature.jazzy.dependencies]
ros-jazzy-desktop = "*"
colcon-common-extensions = "*"
rosdep = "*"
pixi install
pixi shell -e humble -v

Issue description

I'm currently updating the documentation (RoboStack/robostack.github.io#73) for https://github.com/RoboStack/ to include install steps for Pixi and the new robostack-(distribution) channels. But it looks like there's an issue with the https::/prefix.dev/robostack-humble channel. I get the following error upon invoking pixi shell -e humble -v. Tested on both Linux/WSL and windows to the same effect.

ted@SCYTHE-PH:~/robostack$ pixi shell -e humble -v
 INFO pixi::environment: verifying prefix location is unchanged, with prefix file: /home/ted/robostack/.pixi/envs/conda-meta/pixi_env_prefix
 INFO pixi::lock_file::update: the lock-file is up-to-date
 INFO pixi::lock_file::update: Updating prefix
    download & extract   [00:00:01] [━━━━━━━━━━━━━━━━━━━━]      0 B @ 0 B/s    pyqt-builder
    installing packages  [00:00:01] [━━━━━━━━━━━━━━━━━━━━]     1/1                                                      Error:
  × failed to fetch pyqt-builder-1.13.0-py_2.tar.bz2
  ╰─▶ HTTP status client error (404 Not Found) for url (https://conda.anaconda.org/robostack-humble/noarch/pyqt-
      builder-1.13.0-py_2.tar.bz2)

ros-humble-desktop installs fine when grabbing files from https:://prefix.dev/robostack-staging, and also installs correctly into a mamba environment from the conda channel robostack-humble.

Expected behavior

Expect the environment to grab all dependencies without issues.

@traversaro
Copy link
Contributor

I am not super-familiar with how channels are overridden in features, but if feature-specific channels overrides the project specific one, perhaps we should have channels = ["https://fast.prefix.dev/conda-forge", "https://prefix.dev/robostack-humble"] under [feature.humble]? However, if jazzy works fine perhaps this is not the problem.

@ruben-arts
Copy link
Contributor

We were able to reproduce, there seems to be indeed a mirror issue on prefix.dev. We'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants