Skip to content

Commit 85c7373

Browse files
authored
[Issue-127] Pin version to match apt-installed python3-matplotlib (#133)
1 parent 858601d commit 85c7373

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/master.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [windows-latest, ubuntu-latest, macos-latest]
20-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
20+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2121
exclude:
22-
- os: macos-latest
23-
python-version: "3.7"
22+
- os: windows-latest
23+
python-version: "3.11"
24+
- os: windows-latest
25+
python-version: "3.12"
2426

2527
steps:
2628
- uses: actions/checkout@v2
@@ -45,10 +47,10 @@ jobs:
4547
runs-on: ubuntu-latest
4648
steps:
4749
- uses: actions/checkout@v2
48-
- name: Set up Python 3.7
50+
- name: Set up Python 3.8
4951
uses: actions/setup-python@v5
5052
with:
51-
python-version: 3.7
53+
python-version: 3.8
5254
- name: Install dependencies
5355
run: |
5456
python -m pip install --upgrade pip

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ keywords = [
3636
]
3737

3838
dependencies = [
39-
"numpy>=1.17.4",
39+
"numpy>=1.22,<2", # Cannot use 2.0 due to matplotlib version pinning.
4040
"scipy",
41-
"matplotlib",
41+
"matplotlib==3.5.1", # Large user-base has apt-installed python3-matplotlib (ROS2) which is pinned to this version.
4242
"ansitable",
4343
"typing_extensions",
4444
"pre-commit",

0 commit comments

Comments
 (0)