diff --git a/meson.build b/meson.build index a50f0b8f743a..54249473fe8e 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,10 @@ project( 'matplotlib', 'c', 'cpp', - version: run_command(find_program('python3'), '-m', 'setuptools_scm', check: true).stdout().strip(), + version: run_command( + # Also keep version in sync with pyproject.toml. + find_program('python3', 'python', version: '>= 3.11'), + '-m', 'setuptools_scm', check: true).stdout().strip(), # qt_editor backend is MIT # ResizeObserver at end of lib/matplotlib/backends/web_backend/js/mpl.js is CC0 # Carlogo, STIX and Computer Modern is OFL diff --git a/pyproject.toml b/pyproject.toml index 84e0b774f06c..dc951375bba2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,7 @@ dependencies = [ "pyparsing >= 3", "python-dateutil >= 2.7", ] +# Also keep in sync with find_program of meson.build. requires-python = ">=3.11" [project.optional-dependencies]
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: