Skip to content

Commit 77f73bb

Browse files
committed
Revert "Support Py_GIL_DISABLED (#206)"
This reverts commit ac7cb9e.
1 parent 75ac969 commit 77f73bb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, macos-latest, windows-latest]
25-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
25+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2626
steps:
2727
- name: Set git to use LF on Windows
2828
if: runner.os == 'Windows'

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import re
44
import platform
55
import sys
6-
import sysconfig
76
from setuptools import find_packages, setup
87
from setuptools.command.build_ext import build_ext
98

@@ -77,8 +76,7 @@ def run(self):
7776
else:
7877
class BDistWheel(wheel.bdist_wheel.bdist_wheel):
7978
def finalize_options(self):
80-
if sysconfig.get_config_var("Py_GIL_DISABLED") != 1:
81-
self.py_limited_api = "cp{}{}".format(*sys.version_info)
79+
self.py_limited_api = "cp3{}".format(sys.version_info[1])
8280
wheel.bdist_wheel.bdist_wheel.finalize_options(self)
8381
cmdclass['bdist_wheel'] = BDistWheel
8482

0 commit comments

Comments
 (0)