Dependency Conflict in micro-ROS Zephyr Setup Due to docutils Version Incompatibility
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- build-system, tooling
Hướng nghiên cứu
Bắt đầu từ src/micro_ros_setup/config/zephyr/generic/create.sh, khoảng dòng 70, và xem xét việc cài đặt các dependency được create_firmware_ws.sh zephyr sử dụng. Tái hiện bằng ros2 run micro_ros_setup create_firmware_ws.sh zephyr trong container Docker Humble hoặc trên Ubuntu 22.04. Hoàn thành khi firmware workspace được tạo mà không xảy ra xung đột giữa docutils và sphinx-rtd-theme.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Dependency Conflict in micro-ROS Zephyr Setup Due to docutils Version Incompatibility
-
Hardware description: N/A (not hardware specific)
-
RTOS: Zephyr
-
Installation type:
micro_ros_setup -
Version or commit hash: a146e83
-
Python version: Python 3.10.12
-
OS: Ubuntu 22.04.5 LTS
Steps to reproduce the issue
- Follow the micro-ROS Zephyr setup instructions.
- Run the following command to create a firmware workspace:
ros2 run micro_ros_setup create_firmware_ws.sh zephyr - The script fails with a
docutilsversion conflict.
Expected behavior
The firmware workspace should be created without any dependency conflicts.
Actual behavior
The script fails with the following error due to an incompatibility between sphinx-rtd-theme and the installed version of docutils:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
sphinx-rtd-theme 0.5.2 requires docutils<0.17, but you have docutils 0.17.1 which is incompatible.
Additional information
I was able to resolve the issue by modifying the create.sh file in src/micro_ros_setup/config/zephyr/generic/ at line 70:
pip install --force-reinstall docutils==0.16 Sphinx==4.2.0
This forces the installation of a compatible version of docutils and prevents pip from installing docutils 0.17.1. To fix the issue permanently, I suggest adding this change to the official create.sh script to ensure compatibility with sphinx-rtd-theme 0.5.2.
I tested this issue both in my local environment (Ubuntu 22.04.5 LTS) and in the official Humble Docker container. The issue was reproducible in both setups.
The full logs are available if needed, but they are quite lengthy.
- Ngôn ngữ chính
- Shell
- Star
- 509
- Fork
- 183
- Merge trung bình
- 22 giờ 26 phút
- Pull request đã merge (30 ngày)
- 7
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của micro-ROS/micro_ros_setup
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
micro-ROS/micro_ros_setup#837 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
micro-ROS/micro_ros_setup#814 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
micro-ROS/micro_ros_setup#809 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
micro-ROS/micro_ros_setup#808 · 2 bình luận ·
-
sensor msgs dependencies Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
micro-ROS/micro_ros_setup#806 ·
Tất cả issue của micro-ROS/micro_ros_setup
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
huggingface/Repo2RLEnv#163 · 1 bình luận ·
-
setup tools wizard offers no GitHub auth path, and setup summary doesn't recognize `gh` CLI auth Đang mởarea/auth comp/cli P3 tool/skills type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NousResearch/hermes-agent#121131 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
bradcypert/plum#53 ·
-
tmp_watchgod.sh exceeds the 1000-line cap; the Zone A guard helpers are a clean extraction seam Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
WingedGuardian/GENesis-AGI#2301 ·