File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,13 @@ Install a snapshot from PyPI
122122pip install spatialmath-python
123123```
124124
125+ Note that if you are using ROS2, you may run into version conflicts when using ` rosdep ` , particularly
126+ concerning ` matplotlib ` . If this happens, you can enable optional version pinning with
127+
128+ ```
129+ pip install spatialmath-python[ros-humble]
130+ ```
131+
125132## From GitHub
126133
127134Install the current code base from GitHub and pip install a link to that cloned copy
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ keywords = [
3636]
3737
3838dependencies = [
39- " numpy>=1.22,<2 " , # Cannot use 2.0 due to matplotlib version pinning.
39+ " numpy>=1.22" ,
4040 " scipy" ,
41- " matplotlib==3.5.1 " , # Large user-base has apt-installed python3-matplotlib (ROS2) which is pinned to this version.
41+ " matplotlib" ,
4242 " ansitable" ,
4343 " typing_extensions" ,
4444 " pre-commit" ,
@@ -70,6 +70,11 @@ docs = [
7070 " sphinx-autodoc-typehints" ,
7171]
7272
73+ ros-humble = [
74+ " matplotlib==3.5.1" , # Large user-base has apt-installed python3-matplotlib (ROS2) which is pinned to this version.
75+ " numpy<2" , # Cannot use 2.0 due to matplotlib version pinning.
76+ ]
77+
7378[build-system ]
7479
7580requires = [" setuptools" , " oldest-supported-numpy" ]
You can’t perform that action at this time.
0 commit comments