diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0729b8b..c3e26a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - name: Set git to use LF on Windows if: runner.os == 'Windows' diff --git a/setup.py b/setup.py index ecf4336..e7176fe 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,6 @@ import re import platform import sys -import sysconfig from setuptools import find_packages, setup from setuptools.command.build_ext import build_ext @@ -77,8 +76,7 @@ def run(self): else: class BDistWheel(wheel.bdist_wheel.bdist_wheel): def finalize_options(self): - if sysconfig.get_config_var("Py_GIL_DISABLED") != 1: - self.py_limited_api = "cp{}{}".format(*sys.version_info) + self.py_limited_api = "cp3{}".format(sys.version_info[1]) wheel.bdist_wheel.bdist_wheel.finalize_options(self) cmdclass['bdist_wheel'] = BDistWheel