Skip to content

Commit 75f9b50

Browse files
committed
let NumPy and SciPy use Cython 0.25a0 directly
1 parent 106533f commit 75f9b50

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

test/extra/numpy_fulltest.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@ def print_progress_header(text):
2929
if not os.path.exists(CYTHON_DIR):
3030

3131
url = "https://github.com/cython/cython"
32-
subprocess.check_call(["git", "clone", "--depth", "1", "--branch", "0.24", url], cwd=SRC_DIR)
33-
34-
if USE_CUSTOM_PATCHES:
35-
PATCH_FILE = os.path.abspath(os.path.join(os.path.dirname(__file__), "../integration/Cython-0.24.patch"))
36-
subprocess.check_call(["patch", "-p1", "--input=" + PATCH_FILE], cwd=CYTHON_DIR)
37-
print ">>> Applied Cython patch"
38-
32+
subprocess.check_call(["git", "clone", "--depth", "1", "--branch", "0.25a0", url], cwd=SRC_DIR)
3933

4034
try:
4135
subprocess.check_call([PYTHON_EXE, "setup.py", "install"], cwd=CYTHON_DIR)

test/integration/scipy_test.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,7 @@ def print_progress_header(text):
6464
if not os.path.exists(CYTHON_DIR):
6565

6666
url = "https://github.com/cython/cython"
67-
subprocess.check_call(["git", "clone", "--depth", "1", "--branch", "0.24", url], cwd=SRC_DIR)
68-
69-
if USE_CUSTOM_PATCHES:
70-
PATCH_FILE = os.path.abspath(os.path.join(os.path.dirname(__file__), "Cython-0.24.patch"))
71-
subprocess.check_call(["patch", "-p1", "--input=" + PATCH_FILE], cwd=CYTHON_DIR)
72-
print ">>> Applied Cython patch"
67+
subprocess.check_call(["git", "clone", "--depth", "1", "--branch", "0.25a0", url], cwd=SRC_DIR)
7368

7469
try:
7570
subprocess.check_call([PYTHON_EXE, "setup.py", "install"], cwd=CYTHON_DIR)

0 commit comments

Comments
 (0)