Skip to content

Commit 55f242b

Browse files
committed
support big gillion
1 parent b786afb commit 55f242b

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/pypi-build-artifacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
# Ignore tests for pypy since not all dependencies are compiled for it
7676
# and would require a local rust build chain
7777
CIBW_TEST_SKIP: "pp*"
78+
PYTHON_GIL: "1"
7879

7980
- name: Add source distribution
8081
if: startsWith(matrix.os, 'ubuntu')

build-module.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def build_cython_extensions() -> None:
2727
from Cython.Build import build_ext, cythonize
2828
from setuptools import Extension
2929
from setuptools.dist import Distribution
30-
import sys
3130

3231
Cython.Compiler.Options.annotate = True
3332

@@ -40,11 +39,6 @@ def build_cython_extensions() -> None:
4039
"-O3",
4140
]
4241

43-
no_gil = hasattr(sys, "_is_gil_enabled") and not sys._is_gil_enabled()
44-
45-
if no_gil:
46-
extra_compile_args.append("-DPy_GIL_DISABLED") # required for 3.14
47-
4842
package_path = "pyiceberg"
4943

5044
extension = Extension(

0 commit comments

Comments
 (0)