Skip to content

Commit

Permalink
EXP: mark Cython module as free-threading safe
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jul 22, 2024
1 parent 1e4a43f commit 0bfb67e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,6 @@ jobs:
- name: Tests
if: ${{ matrix.free-threading }}
run: pytest --color=yes
env:
PYTHON_GIL: 0


create-issue:
Expand Down
2 changes: 2 additions & 0 deletions src/gpgi/_lib.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# cython: freethreading_compatible = True

cimport cython
cimport numpy as np
from libc.math cimport floor, fmin
Expand Down

0 comments on commit 0bfb67e

Please sign in to comment.