Skip to content

Commit 8f4c7ad

Browse files
authored
Build wheels for Python 3.12 and drop support for 3.7 (#1439)
1 parent ffe6bcb commit 8f4c7ad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
name: Set up QEMU
166166

167167
- name: Build wheels
168-
uses: pypa/cibuildwheel@v2.11.2
168+
uses: pypa/cibuildwheel@v2.15.0
169169
with:
170170
package-dir: python
171171
output-dir: python/wheelhouse

python/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ def _maybe_add_library_root(lib_name):
8989
"License :: OSI Approved :: MIT License",
9090
"Programming Language :: Python :: 3",
9191
"Programming Language :: Python :: 3 :: Only",
92-
"Programming Language :: Python :: 3.7",
9392
"Programming Language :: Python :: 3.8",
9493
"Programming Language :: Python :: 3.9",
9594
"Programming Language :: Python :: 3.10",
9695
"Programming Language :: Python :: 3.11",
96+
"Programming Language :: Python :: 3.12",
9797
"Topic :: Scientific/Engineering :: Artificial Intelligence",
9898
],
9999
project_urls={
@@ -106,7 +106,7 @@ def _maybe_add_library_root(lib_name):
106106
packages=find_packages(exclude=["bin"]),
107107
package_data=package_data,
108108
ext_modules=[ctranslate2_module],
109-
python_requires=">=3.7",
109+
python_requires=">=3.8",
110110
install_requires=[
111111
"numpy",
112112
"pyyaml>=5.3,<7",

0 commit comments

Comments
 (0)