diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 5f8463f1a0..1edb20ead4 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -36,15 +36,15 @@ jobs: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.22.0 + uses: pypa/cibuildwheel@v3.1.1 env: CIBW_ARCHS_LINUX: x86_64 aarch64 CIBW_ARCHS_MACOS: x86_64 arm64 CIBW_ARCHS_WINDOWS: AMD64 x86 - CIBW_SKIP: pp* cp36-* cp37-* cp313-* *-win32 *_i686 *-musllinux_* + CIBW_SKIP: cp314-* *-win32 *_i686 *-musllinux_* CIBW_TEST_COMMAND: pytest -rfxEXs --durations=20 --disable-warnings --showlocals --pyargs gensim CIBW_TEST_REQUIRES: pytest testfixtures mock - CIBW_TEST_SKIP: cp38* cp39* cp310* cp311* cp313* *_aarch64 *_arm64 *_universal2 + CIBW_TEST_SKIP: cp38* cp39* cp310* cp311* cp314-* *_aarch64 *_arm64 *_universal2 CIBW_BUILD_VERBOSITY: 3 - name: Upload wheels as artifacts diff --git a/pyproject.toml b/pyproject.toml index dba0603d0f..9fdd0ff62c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,7 @@ [build-system] requires = [ - # - # If we build our extensions with Cython 3.0.0, then they will be an - # order of magnitude slower, so avoid it for now. - # - "Cython>=0.29.32,<3.0.0", - # oldest supported Numpy for this platform is 1.17 but the oldest supported by Gensim - # is 1.18.5, remove the line when they increase oldest supported Numpy for this platform - "numpy==1.18.5; python_version=='3.8' and platform_machine not in 'arm64|aarch64'", - "oldest-supported-numpy; python_version>'3.8' or platform_machine in 'arm64|aarch64'", + "Cython==3.1.2", + "numpy>=2.0.0", "setuptools", "wheel", ]