From a98f367bcf2adc6464edfc445b5a4e0669fd7245 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 7 Jan 2024 09:53:48 -0500 Subject: [PATCH] Pin swig to 4.1.0 to avoid 4.2.0 casadi failure --- .github/workflows/ci.yml | 2 +- doc/cmake-options.md | 2 +- doc/conda-forge.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1456ac9ad..3b7d5e6d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,7 +77,7 @@ jobs: # Dependencies mamba install ace asio assimp boost eigen freetype gazebo glew glfw glm graphviz==8.* gsl ipopt irrlicht libjpeg-turbo libmatio libode libxml2 nlohmann_json pcl vtk opencv portaudio qt-main sdl sdl2 sqlite tinyxml spdlog lua soxr cmake compilers make ninja pkg-config tomlplusplus libzlib ffmpeg # Python - mamba install python numpy swig pybind11 pyqt matplotlib h5py tornado u-msgpack-python pyzmq ipython gst-plugins-good gst-plugins-bad + mamba install python numpy swig==4.1.0 pybind11 pyqt matplotlib h5py tornado u-msgpack-python pyzmq ipython gst-plugins-good gst-plugins-bad # Additional dependencies useful only on Linux - name: Dependencies [Conda/Linux] diff --git a/doc/cmake-options.md b/doc/cmake-options.md index 91872489c..238e23109 100644 --- a/doc/cmake-options.md +++ b/doc/cmake-options.md @@ -341,7 +341,7 @@ sudo bash ./scripts/install_apt_python_dependencies.sh #### Conda To install python and the other required dependencies when using `conda-forge` provided dependencies, use: ~~~ -mamba install -c conda-forge python numpy swig pybind11 pyqt matplotlib h5py tornado u-msgpack-python pyzmq ipython +mamba install -c conda-forge python numpy swig==4.1.0 pybind11 pyqt matplotlib h5py tornado u-msgpack-python pyzmq ipython ~~~ ### Check the installation diff --git a/doc/conda-forge.md b/doc/conda-forge.md index a60ca83b2..2a716a9cf 100644 --- a/doc/conda-forge.md +++ b/doc/conda-forge.md @@ -163,7 +163,7 @@ For some [profile](doc/cmake-options.md#profile-cmake-options) or [dependency](d To install python and the other required dependencies when using `conda-forge` provided dependencies, use: ~~~ -mamba install -c conda-forge python numpy swig pybind11 pyqt matplotlib h5py tornado u-msgpack-python pyzmq ipython gst-plugins-good gst-plugins-bad +mamba install -c conda-forge python numpy swig==4.1.0 pybind11 pyqt matplotlib h5py tornado u-msgpack-python pyzmq ipython gst-plugins-good gst-plugins-bad ~~~ #### `ROBOTOLOGY_USES_PCL_AND_VTK`