Skip to content

Commit 369b3f4

Browse files
authored
Merge branch 'main' into libbrotli-1.2.0
2 parents 48fa15f + ac7cb9e commit 369b3f4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
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"]
25+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
2626
steps:
2727
- name: Set git to use LF on Windows
2828
if: runner.os == 'Windows'

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import re
44
import platform
55
import sys
6+
import sysconfig
67
from setuptools import find_packages, setup
78
from setuptools.command.build_ext import build_ext
89

@@ -76,7 +77,8 @@ def run(self):
7677
else:
7778
class BDistWheel(wheel.bdist_wheel.bdist_wheel):
7879
def finalize_options(self):
79-
self.py_limited_api = "cp3{}".format(sys.version_info[1])
80+
if sysconfig.get_config_var("Py_GIL_DISABLED") != 1:
81+
self.py_limited_api = "cp{}{}".format(*sys.version_info)
8082
wheel.bdist_wheel.bdist_wheel.finalize_options(self)
8183
cmdclass['bdist_wheel'] = BDistWheel
8284

0 commit comments

Comments
 (0)