mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Drop support for python 3.6 (#13009)
* Drop support for python 3.6 * Update docs
This commit is contained in:
parent
36d4767aca
commit
ff4215f1c7
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
@ -60,8 +60,6 @@ jobs:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
python_version: ["3.11"]
|
python_version: ["3.11"]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-20.04
|
|
||||||
python_version: "3.6"
|
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
python_version: "3.7"
|
python_version: "3.7"
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
|
@ -95,7 +93,6 @@ jobs:
|
||||||
- name: Run mypy
|
- name: Run mypy
|
||||||
run: |
|
run: |
|
||||||
python -m mypy spacy
|
python -m mypy spacy
|
||||||
if: matrix.python_version != '3.6'
|
|
||||||
|
|
||||||
- name: Delete source directory and .egg-info
|
- name: Delete source directory and .egg-info
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -109,7 +109,7 @@ For detailed installation instructions, see the
|
||||||
|
|
||||||
- **Operating system**: macOS / OS X · Linux · Windows (Cygwin, MinGW, Visual
|
- **Operating system**: macOS / OS X · Linux · Windows (Cygwin, MinGW, Visual
|
||||||
Studio)
|
Studio)
|
||||||
- **Python version**: Python 3.6+ (only 64 bit)
|
- **Python version**: Python 3.7+ (only 64 bit)
|
||||||
- **Package managers**: [pip] · [conda] (via `conda-forge`)
|
- **Package managers**: [pip] · [conda] (via `conda-forge`)
|
||||||
|
|
||||||
[pip]: https://pypi.org/project/spacy/
|
[pip]: https://pypi.org/project/spacy/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# build version constraints for use with wheelwright + multibuild
|
# build version constraints for use with wheelwright
|
||||||
numpy==1.15.0; python_version<='3.7' and platform_machine!='aarch64'
|
numpy==1.15.0; python_version=='3.7' and platform_machine!='aarch64'
|
||||||
numpy==1.19.2; python_version<='3.7' and platform_machine=='aarch64'
|
numpy==1.19.2; python_version=='3.7' and platform_machine=='aarch64'
|
||||||
numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64'
|
numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64'
|
||||||
numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64'
|
numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64'
|
||||||
numpy>=1.25.0; python_version>='3.9'
|
numpy>=1.25.0; python_version>='3.9'
|
||||||
|
|
|
@ -33,12 +33,11 @@ pytest-timeout>=1.3.0,<2.0.0
|
||||||
mock>=2.0.0,<3.0.0
|
mock>=2.0.0,<3.0.0
|
||||||
flake8>=3.8.0,<6.0.0
|
flake8>=3.8.0,<6.0.0
|
||||||
hypothesis>=3.27.0,<7.0.0
|
hypothesis>=3.27.0,<7.0.0
|
||||||
mypy>=0.990,<1.1.0; platform_machine != "aarch64" and python_version >= "3.7"
|
mypy>=0.990,<1.1.0; platform_machine != "aarch64"
|
||||||
types-dataclasses>=0.1.3; python_version < "3.7"
|
|
||||||
types-mock>=0.1.1
|
types-mock>=0.1.1
|
||||||
types-setuptools>=57.0.0
|
types-setuptools>=57.0.0
|
||||||
types-requests
|
types-requests
|
||||||
types-setuptools>=57.0.0
|
types-setuptools>=57.0.0
|
||||||
black==22.3.0
|
black==22.3.0
|
||||||
cython-lint>=0.15.0; python_version >= "3.7"
|
cython-lint>=0.15.0
|
||||||
isort>=5.0,<6.0
|
isort>=5.0,<6.0
|
||||||
|
|
|
@ -17,7 +17,6 @@ classifiers =
|
||||||
Operating System :: Microsoft :: Windows
|
Operating System :: Microsoft :: Windows
|
||||||
Programming Language :: Cython
|
Programming Language :: Cython
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Programming Language :: Python :: 3.6
|
|
||||||
Programming Language :: Python :: 3.7
|
Programming Language :: Python :: 3.7
|
||||||
Programming Language :: Python :: 3.8
|
Programming Language :: Python :: 3.8
|
||||||
Programming Language :: Python :: 3.9
|
Programming Language :: Python :: 3.9
|
||||||
|
@ -31,15 +30,13 @@ project_urls =
|
||||||
[options]
|
[options]
|
||||||
zip_safe = false
|
zip_safe = false
|
||||||
include_package_data = true
|
include_package_data = true
|
||||||
python_requires = >=3.6
|
python_requires = >=3.7
|
||||||
# NOTE: This section is superseded by pyproject.toml and will be removed in
|
# NOTE: This section is superseded by pyproject.toml and will be removed in
|
||||||
# spaCy v4
|
# spaCy v4
|
||||||
setup_requires =
|
setup_requires =
|
||||||
cython>=0.25,<3.0
|
cython>=0.25,<3.0
|
||||||
# The newest supported pip for python 3.6 has bugs related to markers in
|
numpy>=1.15.0; python_version < "3.9"
|
||||||
# this section, so this does not contain the same constraints as
|
numpy>=1.19.0; python_version >= "3.9"
|
||||||
# pyproject.toml
|
|
||||||
numpy>=1.15.0
|
|
||||||
# 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
|
||||||
|
|
|
@ -20,7 +20,7 @@ menu:
|
||||||
|
|
||||||
## Installation instructions {id="installation"}
|
## Installation instructions {id="installation"}
|
||||||
|
|
||||||
spaCy is compatible with **64-bit CPython 3.6+** and runs on **Unix/Linux**,
|
spaCy is compatible with **64-bit CPython 3.7+** and runs on **Unix/Linux**,
|
||||||
**macOS/OS X** and **Windows**. The latest spaCy releases are available over
|
**macOS/OS X** and **Windows**. The latest spaCy releases are available over
|
||||||
[pip](https://pypi.python.org/pypi/spacy) and
|
[pip](https://pypi.python.org/pypi/spacy) and
|
||||||
[conda](https://anaconda.org/conda-forge/spacy).
|
[conda](https://anaconda.org/conda-forge/spacy).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user