From 12b7be1d9874048c1f3f20dffb833a88308544c4 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 22 May 2020 16:49:26 +0200 Subject: [PATCH] Remove jsonschema from dependencies --- Makefile | 4 ++-- requirements.txt | 2 -- spacy/tests/package/test_requirements.py | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index cf96d6294..9916e3cf5 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ VENV := ./env$(PYVER) version := $(shell "bin/get-version.sh") dist/spacy-$(version).pex : wheelhouse/spacy-$(version).stamp - $(VENV)/bin/pex -f ./wheelhouse --no-index --disable-cache -m spacy -o $@ spacy==$(version) jsonschema spacy_lookups_data + $(VENV)/bin/pex -f ./wheelhouse --no-index --disable-cache -m spacy -o $@ spacy==$(version) spacy_lookups_data chmod a+rx $@ dist/pytest.pex : wheelhouse/pytest-*.whl @@ -14,7 +14,7 @@ dist/pytest.pex : wheelhouse/pytest-*.whl wheelhouse/spacy-$(version).stamp : $(VENV)/bin/pex setup.py spacy/*.py* spacy/*/*.py* $(VENV)/bin/pip wheel . -w ./wheelhouse - $(VENV)/bin/pip wheel jsonschema spacy_lookups_data -w ./wheelhouse + $(VENV)/bin/pip wheel spacy_lookups_data -w ./wheelhouse touch $@ wheelhouse/pytest-%.whl : $(VENV)/bin/pex diff --git a/requirements.txt b/requirements.txt index c43ffa7bb..add083a05 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,8 +14,6 @@ requests>=2.13.0,<3.0.0 plac>=0.9.6,<1.2.0 tqdm>=4.38.0,<5.0.0 importlib_metadata>=0.20; python_version < "3.8" -# Optional dependencies -jsonschema>=2.6.0,<3.1.0 pydantic>=1.3.0,<2.0.0 # Development dependencies cython>=0.25 diff --git a/spacy/tests/package/test_requirements.py b/spacy/tests/package/test_requirements.py index 59a8569ee..0dc0f9d6c 100644 --- a/spacy/tests/package/test_requirements.py +++ b/spacy/tests/package/test_requirements.py @@ -9,7 +9,6 @@ def test_build_dependencies(): "pytest-timeout", "mock", "flake8", - "jsonschema", ] libs_ignore_setup = ["fugashi", "natto-py", "pythainlp"]