From 38ae93306dd03adf58ffe87d3f16af4ed763a90c Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Fri, 3 May 2024 12:37:35 -0400 Subject: [PATCH] Fix meson/distutils issue --- CHANGELOG.md | 6 ++++++ python/f2py3/UseF2Py3.cmake | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8aa8ab5..58ec2674 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Deprecated +## [3.45.1] - 2024-05-03 + +### Fixed + +- Fix bug with meson/distutils for python 3 + ## [3.45.0] - 2024-04-25 ### Fixed diff --git a/python/f2py3/UseF2Py3.cmake b/python/f2py3/UseF2Py3.cmake index 28796a23..9b9aa9f7 100644 --- a/python/f2py3/UseF2Py3.cmake +++ b/python/f2py3/UseF2Py3.cmake @@ -79,7 +79,7 @@ macro (add_f2py3_module _name) # so we need to test the Python version and then call the correct # f2py - if (Python3_VERSION VERSION_GREATER 3.11) + if (Python3_VERSION VERSION_GREATER_EQUAL "3.12") set(F2PY3_BACKEND "meson") else () set(F2PY3_BACKEND "distutils")