From 2f6e9b71f29df0760ff0b787368592d9957b3409 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Thu, 28 Sep 2023 20:14:51 +1100 Subject: [PATCH] patch out comment that breaks parser --- recipe/meta.yaml | 2 ++ ...1-remove-comment-that-breaks-parsing.patch | 22 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 recipe/patches/0001-remove-comment-that-breaks-parsing.patch diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 586bed49..c6e22034 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -16,6 +16,8 @@ source: sha256: 86712f1dff2cf674d823ad5489db54928b44149f76d7ba891ad19a6ae118abcf # need separate folder to do full reset on windows, see build-output.bat folder: base + patches: + - patches/0001-remove-comment-that-breaks-parsing.patch # https://github.com/scipy/scipy/tree/v{{ version }}/scipy/_lib - git_url: https://github.com/boostorg/math.git git_rev: 298a243ccd3639b6eaa59bcdab7ab9d5f008fb36 diff --git a/recipe/patches/0001-remove-comment-that-breaks-parsing.patch b/recipe/patches/0001-remove-comment-that-breaks-parsing.patch new file mode 100644 index 00000000..e5bed150 --- /dev/null +++ b/recipe/patches/0001-remove-comment-that-breaks-parsing.patch @@ -0,0 +1,22 @@ +From 2a49f74cf35801ca4547da47cdb5c3cc1815e512 Mon Sep 17 00:00:00 2001 +From: "H. Vetinari" +Date: Thu, 28 Sep 2023 20:13:37 +1100 +Subject: [PATCH] remove comment that breaks parsing + +--- + pyproject.toml | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 95d0ccbe9..851fe8a92 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -12,8 +12,6 @@ build-backend = 'mesonpy' + requires = [ + # Reason for `<`: future-proofing (0.14.0 released and known to work) + "meson-python>=0.12.1,<0.15.0", +- # Reason for `<`: we want to build the 1.11.x releases with Cython 0.29.x +- # (too many changes in 3.0) + "Cython>=0.29.35,<3.0", # when updating version, also update check in meson.build + # Reason for `<`: future-proofing (2.11.1 is the most recent version) + "pybind11>=2.10.4,<2.11.1",