Fix compatibility with roslibpy 2.0.0 and improve CI build system#453
Fix compatibility with roslibpy 2.0.0 and improve CI build system#453gonzalocasas merged 13 commits intoLTS-main-1.xfrom
Conversation
Co-authored-by: gonzalocasas <933277+gonzalocasas@users.noreply.github.com>
|
@copilot please fix the failing CI workflows |
Pybullet is now an optional dependency and was causing build failures on macOS with Python 3.9. The pybullet C++ compilation was failing with gcc errors on macOS runners. Co-authored-by: gonzalocasas <933277+gonzalocasas@users.noreply.github.com>
|
@copilot re-instate |
Pybullet is re-instated as a dev dependency with an environment marker that skips installation on macOS with Python 3.9 (where C++ compilation fails). It will be installed on: - All Python versions on Linux and Windows - Python 3.10+ on macOS Co-authored-by: gonzalocasas <933277+gonzalocasas@users.noreply.github.com>
Re-instated in 2b65525. Added pybullet back to requirements-dev.txt with an environment marker |
|
@copilot please update In the |
- Updated build workflow to use compas-actions.build@v4 with use_conda: true - Created environment.yml with pybullet from conda-forge channel - Reverted requirements-dev.txt to plain pybullet without platform markers - Conda will handle pybullet compilation/installation on all platforms including macOS Co-authored-by: gonzalocasas <933277+gonzalocasas@users.noreply.github.com>
Done in 190d1e4. Updated build workflow to use compas-actions.build@v4 with use_conda: true, created environment.yml with pybullet from conda-forge, and reverted requirements-dev.txt to plain pybullet without markers. Conda will manage pybullet installation across all platforms including macOS. |
Move main dependencies (compas, compas_robots, roslibpy, pyserial, pybullet) to conda dependencies section, and use pip only for requirements-dev.txt and editable install. This ensures main packages are installed via conda for better platform compatibility. Co-authored-by: gonzalocasas <933277+gonzalocasas@users.noreply.github.com>
|
@copilot please fix the ironpython build using the code from |
Synced ironpython.yml with main branch version which includes: - Better logging with echo statements - Specific COMPAS version (2.1.0) for stability - Simplified IRONPYTHONPATH to just ./src - Removed tar extraction steps that are no longer needed - Updated trigger branches (wip instead of LTS-main-1.x) Co-authored-by: gonzalocasas <933277+gonzalocasas@users.noreply.github.com>
Updated in 6a9521a. Synced ironpython.yml with the main branch version, including better logging, specific COMPAS 2.1.0 version, simplified IRONPYTHONPATH, and removed unnecessary tar extraction steps. |
| echo "Installing roslibpy..." | ||
| ipy -X:Frames -m pip install --no-deps roslibpy.tar.gz |
Changed from downloading 'latest' to specifically version 1.8.1 to ensure compatibility and prevent breaking changes from roslibpy 2.0.0. Co-authored-by: gonzalocasas <933277+gonzalocasas@users.noreply.github.com>
|
@copilot something is still off with the |
Changed from using -r requirements-dev.txt to explicitly listing all dev dependencies in the pip section, excluding pybullet which is already installed via conda. This resolves pip installation issues on some platforms. Co-authored-by: gonzalocasas <933277+gonzalocasas@users.noreply.github.com>
Fixed in f3db57a. Changed environment.yml to explicitly list all dev dependencies in the pip section instead of using |
.github/workflows/ironpython.yml
Outdated
| curl -o roslibpy.tar.gz -LJO https://pypi.debian.net/roslibpy/latest | ||
|
|
||
| echo "Downloading COMPAS..." | ||
| curl -o compas.tar.gz -LJO https://pypi.debian.net/COMPAS/COMPAS-2.1.0.tar.gz |
Changed download URL to use compas-2.14.1.tar.gz (lowercase filename) instead of COMPAS-2.1.0.tar.gz to match the current package naming convention. Co-authored-by: gonzalocasas <933277+gonzalocasas@users.noreply.github.com>
Original prompt
Fixes #451
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.