Skip to content

Commit 883f2d2

Browse files
committed
Undo last commit (test for GH actions)
1 parent e5e589a commit 883f2d2

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python-version: ["3.10"]
24+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2525

2626
steps:
2727
- uses: actions/checkout@v3

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ def get_compiler_flags():
4343

4444
def compile_cython_extensions():
4545
"""Compile Cython extensions"""
46-
import Cython
47-
raise RuntimeError(f"Cython version: {Cython.__version__}")
4846
for fname in os.listdir(SRCPATH):
4947
if osp.splitext(fname)[1] == ".pyx":
5048
Main.compile(osp.join(SRCPATH, fname), language_level=2)
@@ -57,8 +55,7 @@ def compile_cython_extensions():
5755
# -------------------------------------------------------------------------------------
5856
# TODO: When dropping support for Cython < 3.0, we can remove the following line
5957
# and uncomment the next one.
60-
# In the meantime, we should not be worried about the deprecation warnings when
61-
# building the package.
58+
# In the meantime, we hide the deprecation warnings when building the package.
6259
DEFINE_MACROS_CYTHON = []
6360
CFLAGS_CYTHON = ["-Wno-cpp"]
6461
# DEFINE_MACROS_CYTHON = [("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")]

0 commit comments

Comments
 (0)