Skip to content

Commit

Permalink
Build wheels for Python 3.12 and drop support for 3.7 (#1439)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln authored Aug 28, 2023
1 parent ffe6bcb commit 8f4c7ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
name: Set up QEMU

- name: Build wheels
uses: pypa/cibuildwheel@v2.11.2
uses: pypa/cibuildwheel@v2.15.0
with:
package-dir: python
output-dir: python/wheelhouse
Expand Down
4 changes: 2 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ def _maybe_add_library_root(lib_name):
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
project_urls={
Expand All @@ -106,7 +106,7 @@ def _maybe_add_library_root(lib_name):
packages=find_packages(exclude=["bin"]),
package_data=package_data,
ext_modules=[ctranslate2_module],
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=[
"numpy",
"pyyaml>=5.3,<7",
Expand Down

0 comments on commit 8f4c7ad

Please sign in to comment.