diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index c5676ce49..c1f5e716d 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -14,14 +14,21 @@ jobs: strategy: matrix: # macos-13 is an intel runner, macos-14 is apple silicon - os: [ubuntu-latest, windows-latest, macos-13] + os: [ubuntu-latest, windows-latest, macos-13, macos-14] steps: - uses: actions/checkout@v4 + # aarch64 (arm) is built via qemu emulation + # QEMU is sadly too slow. We need to wait for public ARM support + #- name: Set up QEMU + # if: runner.os == 'Linux' + # uses: docker/setup-qemu-action@v3 + # with: + # platforms: all - name: Build wheels uses: pypa/cibuildwheel@v2.19.1 env: - CIBW_SOME_OPTION: value + CIBW_ARCHS_LINUX: auto with: package-dir: . output-dir: wheelhouse diff --git a/pyproject.toml b/pyproject.toml index 07ffe1677..2edbadefc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,15 +5,15 @@ requires = [ "cymem>=2.0.2,<2.1.0", "preshed>=3.0.2,<3.1.0", "murmurhash>=0.28.0,<1.1.0", - "thinc>=8.2.2,<8.3.0", - "numpy>=1.15.0; python_version < '3.9'", - "numpy>=1.25.0; python_version >= '3.9'", + "thinc>=8.3.0,<8.4.0", + "numpy>=2.0.0,<2.1.0; python_version < '3.9'", + "numpy>=2.0.0,<2.1.0; python_version >= '3.9'", ] build-backend = "setuptools.build_meta" [tool.cibuildwheel] build = "*" -skip = "pp* cp36* cp37* cp38* *-win32" +skip = "pp* cp36* cp37* cp38* *-win32 *i686*" test-skip = "" free-threaded-support = false diff --git a/requirements.txt b/requirements.txt index 7e7144d53..b61715a8f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,8 +12,8 @@ catalogue>=2.0.6,<2.1.0 typer>=0.3.0,<1.0.0 weasel>=0.1.0,<0.5.0 # Third party dependencies -numpy>=1.15.0; python_version < "3.9" -numpy>=1.19.0; python_version >= "3.9" +numpy>=2.0.0; python_version < "3.9" +numpy>=2.0.0; python_version >= "3.9" requests>=2.13.0,<3.0.0 tqdm>=4.38.0,<5.0.0 pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0 diff --git a/setup.cfg b/setup.cfg index 2917f67ed..855b7e683 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,13 +36,13 @@ python_requires = >=3.7 # spaCy v4 setup_requires = cython>=0.25,<3.0 - numpy>=1.15.0; python_version < "3.9" - numpy>=1.19.0; python_version >= "3.9" + numpy>=2.0.0,<2.1.0; python_version < "3.9" + numpy>=2.0.0,<2.1.0; python_version >= "3.9" # We also need our Cython packages here to compile against cymem>=2.0.2,<2.1.0 preshed>=3.0.2,<3.1.0 murmurhash>=0.28.0,<1.1.0 - thinc>=8.2.2,<8.3.0 + thinc>=8.3.0,<8.4.0 install_requires = # Our libraries spacy-legacy>=3.0.11,<3.1.0 @@ -50,7 +50,7 @@ install_requires = murmurhash>=0.28.0,<1.1.0 cymem>=2.0.2,<2.1.0 preshed>=3.0.2,<3.1.0 - thinc>=8.2.2,<8.3.0 + thinc>=8.3.0,<8.4.0 wasabi>=0.9.1,<1.2.0 srsly>=2.4.3,<3.0.0 catalogue>=2.0.6,<2.1.0 diff --git a/spacy/about.py b/spacy/about.py index 942a73194..caed57e1c 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -1,5 +1,5 @@ # fmt: off __title__ = "spacy" -__version__ = "3.8.0.dev0" +__version__ = "3.9.0" __download_url__ = "https://github.com/explosion/spacy-models/releases/download" __compatibility__ = "https://raw.githubusercontent.com/explosion/spacy-models/master/compatibility.json"