Skip to content

Commit 05d104e

Browse files
timhoffmQuLogic
authored andcommitted
Backport PR matplotlib#29997: BLD: Ensure meson.build has the right version of Python
(cherry picked from commit 440eb61)
1 parent cd67b8e commit 05d104e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

meson.build

Lines changed: 4 additions & 1 deletion
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

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy