Skip to content

Commit a64d453

Browse files
authored
Merge pull request #29999 from QuLogic/auto-backport-of-pr-29997-on-v3.10.x
2 parents cd67b8e + 05d104e commit a64d453

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

meson.build

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
project(
22
'matplotlib',
33
'c', 'cpp',
4-
version: run_command(find_program('python3'), '-m', 'setuptools_scm', check: true).stdout().strip(),
4+
version: run_command(
5+
# Also keep version in sync with pyproject.toml.
6+
find_program('python3', 'python', version: '>= 3.10'),
7+
'-m', 'setuptools_scm', check: true).stdout().strip(),
58
# qt_editor backend is MIT
69
# ResizeObserver at end of lib/matplotlib/backends/web_backend/js/mpl.js is CC0
710
# Carlogo, STIX and Computer Modern is OFL

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ dependencies = [
4141
"pyparsing >= 2.3.1",
4242
"python-dateutil >= 2.7",
4343
]
44+
# Also keep in sync with find_program of meson.build.
4445
requires-python = ">=3.10"
4546

4647
[project.optional-dependencies]

0 commit comments

Comments
 (0)