You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution to issue cannot be found in the documentation.
I checked the documentation.
Issue
As requested during the ros2-distro-mutex==0.6.* PR, I prepare a small script to check if we rebuilt all packages:
importrequests# List of architectures to checkarchitectures= ['linux-64', 'linux-aarch64', 'osx-64', 'osx-arm64', 'win-64']
# Define the target ros2-distro-mutex versiontarget_mutex_version='0.6.* humble_*'# Function to process packages and determine compatibilitydefprocess_packages(packages, package_compatibility):
forpackage_filename, package_infoinpackages.items():
# Check if the package name starts with 'ros-humble'package_name=package_info.get('name', '')
ifpackage_name.startswith('ros-humble'):
# Initialize the compatibility status if not already doneifpackage_namenotinpackage_compatibility:
package_compatibility[package_name] =False# Check if the package has a dependency on ros2-distro-mutexif'depends'inpackage_info:
fordependencyinpackage_info['depends']:
ifdependency.startswith('ros2-distro-mutex'):
# Extract the version specifier from the dependencyifdependency.endswith(target_mutex_version):
package_compatibility[package_name] =True# Iterate over each architectureforarchinarchitectures:
print(f"Checking architecture: {arch}")
# URL of the repodata.json file for the robostack-staging channelrepodata_url=f'https://conda.anaconda.org/robostack-staging/{arch}/repodata.json'try:
# Fetch the repodata.json fileresponse=requests.get(repodata_url)
response.raise_for_status()
repodata=response.json()
# Initialize a dictionary to track package compatibilitypackage_compatibility= {}
# Process packages in 'packages' and 'packages.conda' sectionsprocess_packages(repodata.get('packages', {}), package_compatibility)
process_packages(repodata.get('packages.conda', {}), package_compatibility)
# Identify packages with no compatible buildsincompatible_packages= [pkgforpkg, is_compatibleinpackage_compatibility.items() ifnotis_compatible]
# Print the list of packages with no compatible buildsifincompatible_packages:
print("Packages with no builds compatible with ros2-distro-mutex==0.6.0:")
forpkginincompatible_packages:
print(f" - {pkg}")
else:
print("All packages are compatible with ros2-distro-mutex==0.6.0.")
exceptrequests.exceptions.RequestExceptionase:
print(f"Failed to fetch repodata for {arch}: {e}")
print() # Add a newline for better readability between architectures
the results are:
traversaro@IITBMP014LW012:~/pixiws/processconda$ python3 test_all.py
Checking architecture: linux-64
Packages with no builds compatible with ros2-distro-mutex==0.6.0:
- ros-humble-octomap
- ros-humble-visp
- ros-humble-turtle-tf2-py
- ros-humble-turtle-tf2-cpp
- ros-humble-ros-ign
- ros-humble-moveit-ros-perception
- ros-humble-moveit-runtime
- ros-humble-plotjuggler
- ros-humble-plotjuggler-msgs
- ros-humble-plotjuggler-ros
- ros-humble-realsense2-description
- ros-humble-libg2o
Checking architecture: linux-aarch64
Packages with no builds compatible with ros2-distro-mutex==0.6.0:
- ros-humble-octomap
- ros-humble-urdfdom-py
Checking architecture: osx-64
Packages with no builds compatible with ros2-distro-mutex==0.6.0:
- ros-humble-octomap
- ros-humble-plotjuggler-msgs
Checking architecture: osx-arm64
Packages with no builds compatible with ros2-distro-mutex==0.6.0:
- ros-humble-octomap
- ros-humble-plotjuggler-msgs
Checking architecture: win-64
Packages with no builds compatible with ros2-distro-mutex==0.6.0:
- ros-humble-ros-gz-bridge
- ros-humble-octomap
- ros-humble-qt-gui-cpp
- ros-humble-ros-gz-interfaces
- ros-humble-ros-ign-interfaces
- ros-humble-rqt-gui-cpp
- ros-humble-ros-gz-sim
- ros-humble-ros-gz-image
- ros-humble-ros-ign-bridge
- ros-humble-nav2-amcl
- ros-humble-ros-ign-image
- ros-humble-ros-ign-gazebo
- ros-humble-nav2-waypoint-follower
- ros-humble-ros-gz-sim-demos
- ros-humble-ros-ign-gazebo-demos
I will try to fix the major ones to solve this issue.
Installed packages
.
Environment info
.
The text was updated successfully, but these errors were encountered:
Ok, now the only remaining packages are the following:
traversaro@IITBMP014LW012:~$ python3 test.py
Checking architecture: linux-64
Packages with no builds compatible with ros2-distro-mutex==0.6.0:
- ros-humble-octomap
Checking architecture: linux-aarch64
Packages with no builds compatible with ros2-distro-mutex==0.6.0:
- ros-humble-octomap
- ros-humble-urdfdom-py
Checking architecture: osx-64
Packages with no builds compatible with ros2-distro-mutex==0.6.0:
- ros-humble-octomap
Checking architecture: osx-arm64
Packages with no builds compatible with ros2-distro-mutex==0.6.0:
- ros-humble-octomap
Checking architecture: win-64
Packages with no builds compatible with ros2-distro-mutex==0.6.0:
- ros-humble-ros-gz-bridge
- ros-humble-octomap
- ros-humble-qt-gui-cpp
- ros-humble-ros-gz-interfaces
- ros-humble-ros-ign-interfaces
- ros-humble-rqt-gui-cpp
- ros-humble-ros-gz-sim
- ros-humble-ros-gz-image
- ros-humble-ros-ign-bridge
- ros-humble-nav2-amcl
- ros-humble-ros-ign-image
- ros-humble-ros-ign-gazebo
- ros-humble-nav2-waypoint-follower
- ros-humble-ros-gz-sim-demos
- ros-humble-ros-ign-gazebo-demos
They are:
octomap and urdfdom-py not being updated, indicating some problem in uploading vendor packages. Anyhow they are both available in conda-forge and I would like to overhaul vendor packages soon, so it is not a big problem.
qt-gui-cpp and rqt-gui-cpp, that are a bit "special" as they use qmake. I tought they never worked on Windows, but apparently that is not the case.
navigation packages on Windows, that still have compilation problems
gz-sim packages, that we intentionally disabled on Windows.
Solution to issue cannot be found in the documentation.
Issue
As requested during the ros2-distro-mutex==0.6.* PR, I prepare a small script to check if we rebuilt all packages:
the results are:
I will try to fix the major ones to solve this issue.
Installed packages
.
Environment info
.
The text was updated successfully, but these errors were encountered: