Skip to content

Commit

Permalink
Undo last commit (test for GH actions)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Oct 8, 2023
1 parent e5e589a commit 883f2d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ def get_compiler_flags():

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

0 comments on commit 883f2d2

Please sign in to comment.