Skip to content

Commit bce6ca6

Browse files
authored
Support for Python 3.14 (#1926)
Changes: - Updates to cibuildwheel 3.2.1 which includes support for Python 3.14 - Updates setup.py metadata and removes warnings
1 parent ac8b6e7 commit bce6ca6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
name: Set up QEMU
153153

154154
- name: Build wheels
155-
uses: pypa/cibuildwheel@v2.22.0
155+
uses: pypa/cibuildwheel@v3.2.1
156156
with:
157157
package-dir: python
158158
output-dir: python/wheelhouse

python/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel", "pybind11==2.11.1"]
3+
build-backend = "setuptools.build_meta"

python/setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,14 @@ def _maybe_add_library_root(lib_name):
6767
setup(
6868
name="ctranslate2",
6969
version=_get_project_version(),
70-
license="MIT",
7170
description="Fast inference engine for Transformer models",
7271
long_description=_get_long_description(),
7372
long_description_content_type="text/markdown",
7473
author="OpenNMT",
7574
url="https://opennmt.net",
7675
classifiers=[
7776
"Development Status :: 5 - Production/Stable",
78-
"Environment :: GPU :: NVIDIA CUDA :: 12 :: 12.0",
79-
"Environment :: GPU :: NVIDIA CUDA :: 12 :: 12.1",
80-
"Environment :: GPU :: NVIDIA CUDA :: 12 :: 12.2",
77+
"Environment :: GPU :: NVIDIA CUDA :: 12 :: 12.4",
8178
"Intended Audience :: Developers",
8279
"Intended Audience :: Science/Research",
8380
"License :: OSI Approved :: MIT License",
@@ -88,6 +85,7 @@ def _maybe_add_library_root(lib_name):
8885
"Programming Language :: Python :: 3.11",
8986
"Programming Language :: Python :: 3.12",
9087
"Programming Language :: Python :: 3.13",
88+
"Programming Language :: Python :: 3.14",
9189
"Topic :: Scientific/Engineering :: Artificial Intelligence",
9290
],
9391
project_urls={

0 commit comments

Comments
 (0)