Merge numpy version update

This commit is contained in:
Matthew Honnibal 2024-09-14 11:08:35 +02:00
commit 8266031454
5 changed files with 20 additions and 13 deletions

View File

@ -14,14 +14,21 @@ jobs:
strategy: strategy:
matrix: matrix:
# macos-13 is an intel runner, macos-14 is apple silicon # 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: steps:
- uses: actions/checkout@v4 - 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 - name: Build wheels
uses: pypa/cibuildwheel@v2.19.1 uses: pypa/cibuildwheel@v2.19.1
env: env:
CIBW_SOME_OPTION: value CIBW_ARCHS_LINUX: auto
with: with:
package-dir: . package-dir: .
output-dir: wheelhouse output-dir: wheelhouse

View File

@ -5,15 +5,15 @@ requires = [
"cymem>=2.0.2,<2.1.0", "cymem>=2.0.2,<2.1.0",
"preshed>=3.0.2,<3.1.0", "preshed>=3.0.2,<3.1.0",
"murmurhash>=0.28.0,<1.1.0", "murmurhash>=0.28.0,<1.1.0",
"thinc>=8.2.2,<8.3.0", "thinc>=8.3.0,<8.4.0",
"numpy>=1.15.0; python_version < '3.9'", "numpy>=2.0.0,<2.1.0; python_version < '3.9'",
"numpy>=1.25.0; python_version >= '3.9'", "numpy>=2.0.0,<2.1.0; python_version >= '3.9'",
] ]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[tool.cibuildwheel] [tool.cibuildwheel]
build = "*" build = "*"
skip = "pp* cp36* cp37* cp38* *-win32" skip = "pp* cp36* cp37* cp38* *-win32 *i686*"
test-skip = "" test-skip = ""
free-threaded-support = false free-threaded-support = false

View File

@ -12,8 +12,8 @@ catalogue>=2.0.6,<2.1.0
typer>=0.3.0,<1.0.0 typer>=0.3.0,<1.0.0
weasel>=0.1.0,<0.5.0 weasel>=0.1.0,<0.5.0
# Third party dependencies # Third party dependencies
numpy>=1.15.0; python_version < "3.9" numpy>=2.0.0; python_version < "3.9"
numpy>=1.19.0; python_version >= "3.9" numpy>=2.0.0; python_version >= "3.9"
requests>=2.13.0,<3.0.0 requests>=2.13.0,<3.0.0
tqdm>=4.38.0,<5.0.0 tqdm>=4.38.0,<5.0.0
pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0 pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0

View File

@ -36,13 +36,13 @@ python_requires = >=3.7
# spaCy v4 # spaCy v4
setup_requires = setup_requires =
cython>=0.25,<3.0 cython>=0.25,<3.0
numpy>=1.15.0; python_version < "3.9" numpy>=2.0.0,<2.1.0; python_version < "3.9"
numpy>=1.19.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 # We also need our Cython packages here to compile against
cymem>=2.0.2,<2.1.0 cymem>=2.0.2,<2.1.0
preshed>=3.0.2,<3.1.0 preshed>=3.0.2,<3.1.0
murmurhash>=0.28.0,<1.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 = install_requires =
# Our libraries # Our libraries
spacy-legacy>=3.0.11,<3.1.0 spacy-legacy>=3.0.11,<3.1.0
@ -50,7 +50,7 @@ install_requires =
murmurhash>=0.28.0,<1.1.0 murmurhash>=0.28.0,<1.1.0
cymem>=2.0.2,<2.1.0 cymem>=2.0.2,<2.1.0
preshed>=3.0.2,<3.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 wasabi>=0.9.1,<1.2.0
srsly>=2.4.3,<3.0.0 srsly>=2.4.3,<3.0.0
catalogue>=2.0.6,<2.1.0 catalogue>=2.0.6,<2.1.0

View File

@ -1,5 +1,5 @@
# fmt: off # fmt: off
__title__ = "spacy" __title__ = "spacy"
__version__ = "3.8.0.dev0" __version__ = "3.9.0"
__download_url__ = "https://github.com/explosion/spacy-models/releases/download" __download_url__ = "https://github.com/explosion/spacy-models/releases/download"
__compatibility__ = "https://raw.githubusercontent.com/explosion/spacy-models/master/compatibility.json" __compatibility__ = "https://raw.githubusercontent.com/explosion/spacy-models/master/compatibility.json"