Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0ff5c83

Browse filesBrowse files
Optional deps humble (#150)
1 parent 7fe17c9 commit 0ff5c83
Copy full SHA for 0ff5c83

File tree

Expand file treeCollapse file tree

2 files changed

+14
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+14
-2
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,13 @@ Install a snapshot from PyPI
122122
pip 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

127134
Install the current code base from GitHub and pip install a link to that cloned copy

‎pyproject.toml

Copy file name to clipboardExpand all lines: pyproject.toml
+7-2Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ keywords = [
3636
]
3737

3838
dependencies = [
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

7580
requires = ["setuptools", "oldest-supported-numpy"]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.