Skip to content

Commit

Permalink
patch out comment that breaks parser
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Sep 28, 2023
1 parent 26d64df commit 2f6e9b7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions recipe/patches/0001-remove-comment-that-breaks-parsing.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From 2a49f74cf35801ca4547da47cdb5c3cc1815e512 Mon Sep 17 00:00:00 2001
From: "H. Vetinari" <[email protected]>
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",

0 comments on commit 2f6e9b7

Please sign in to comment.