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 440eb61

Browse filesBrowse files
authored
Merge pull request matplotlib#29997 from QuLogic/cibw-windows
BLD: Ensure meson.build has the right version of Python
2 parents fa3e9da + 1dac6e2 commit 440eb61
Copy full SHA for 440eb61

File tree

2 files changed

+5
-1
lines changed
Filter options

2 files changed

+5
-1
lines changed

‎meson.build

Copy file name to clipboardExpand all lines: meson.build
+4-1Lines 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.11'),
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

Copy file name to clipboardExpand all lines: pyproject.toml
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ dependencies = [
4040
"pyparsing >= 3",
4141
"python-dateutil >= 2.7",
4242
]
43+
# Also keep in sync with find_program of meson.build.
4344
requires-python = ">=3.11"
4445

4546
[project.optional-dependencies]

0 commit comments

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