File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Filter options
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
122
122
pip install spatialmath-python
123
123
```
124
124
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
+
125
132
## From GitHub
126
133
127
134
Install 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 = [
36
36
]
37
37
38
38
dependencies = [
39
- " numpy>=1.22,<2 " , # Cannot use 2.0 due to matplotlib version pinning.
39
+ " numpy>=1.22" ,
40
40
" scipy" ,
41
- " matplotlib==3.5.1 " , # Large user-base has apt-installed python3-matplotlib (ROS2) which is pinned to this version.
41
+ " matplotlib" ,
42
42
" ansitable" ,
43
43
" typing_extensions" ,
44
44
" pre-commit" ,
@@ -70,6 +70,11 @@ docs = [
70
70
" sphinx-autodoc-typehints" ,
71
71
]
72
72
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
+
73
78
[build-system ]
74
79
75
80
requires = [" setuptools" , " oldest-supported-numpy" ]
You can’t perform that action at this time.
0 commit comments