mattupson commited on
Commit
73b0a61
1 Parent(s): 65e9efa

chg: Update requirements

Browse files
Files changed (3) hide show
  1. Makefile +2 -0
  2. requirements.txt +3 -5
  3. unpinned_requirements.txt +0 -1
Makefile CHANGED
@@ -4,6 +4,7 @@
4
 
5
  PYTHON_VERSION = python3.8
6
  VIRTUALENV := .venv
 
7
 
8
  #################################################################################
9
  # COMMANDS #
@@ -36,6 +37,7 @@ update-requirements-txt:
36
  $(VIRTUALENV)/bin/pip3 install --upgrade -r unpinned_requirements.txt
37
  echo "# Created by 'make update-requirements-txt'. DO NOT EDIT!" > requirements.txt
38
  $(VIRTUALENV)/bin/pip freeze | grep -v pkg_resources==0.0.0 >> requirements.txt
 
39
 
40
  .PHONY: virtualenv
41
  virtualenv: $(VIRTUALENV)/.installed
 
4
 
5
  PYTHON_VERSION = python3.8
6
  VIRTUALENV := .venv
7
+ SPACY_MODEL := https://github.com/explosion/spacy-models/releases/download/en_core_web_trf-3.4.0/en_core_web_trf-3.4.0-py3-none-any.whl
8
 
9
  #################################################################################
10
  # COMMANDS #
 
37
  $(VIRTUALENV)/bin/pip3 install --upgrade -r unpinned_requirements.txt
38
  echo "# Created by 'make update-requirements-txt'. DO NOT EDIT!" > requirements.txt
39
  $(VIRTUALENV)/bin/pip freeze | grep -v pkg_resources==0.0.0 >> requirements.txt
40
+ echo $(SPACY_MODEL) >> requirements.txt
41
 
42
  .PHONY: virtualenv
43
  virtualenv: $(VIRTUALENV)/.installed
requirements.txt CHANGED
@@ -13,7 +13,6 @@ commonmark==0.9.1
13
  confection==0.0.3
14
  cymem==2.0.6
15
  decorator==5.1.1
16
- en-core-web-trf==3.4.0
17
  entrypoints==0.4
18
  filelock==3.8.0
19
  gitdb==4.0.9
@@ -32,7 +31,7 @@ packaging==21.3
32
  pandas==1.5.0
33
  pathy==0.6.2
34
  Pillow==9.2.0
35
- pkgutil-resolve-name==1.3.10
36
  preshed==3.0.7
37
  protobuf==3.20.3
38
  pyarrow==9.0.0
@@ -54,10 +53,8 @@ six==1.16.0
54
  smart-open==5.2.1
55
  smmap==5.0.0
56
  spacy==3.4.1
57
- spacy-alignments==0.8.5
58
  spacy-legacy==3.0.10
59
  spacy-loggers==1.0.3
60
- spacy-transformers==1.1.8
61
  srsly==2.4.4
62
  streamlit==1.13.0
63
  thinc==8.1.3
@@ -69,7 +66,7 @@ tornado==6.2
69
  tqdm==4.64.1
70
  transformers==4.23.1
71
  typer==0.4.2
72
- typing-extensions==4.4.0
73
  tzdata==2022.4
74
  tzlocal==4.2
75
  urllib3==1.26.12
@@ -77,3 +74,4 @@ validators==0.20.0
77
  wasabi==0.10.1
78
  watchdog==2.1.9
79
  zipp==3.9.0
 
 
13
  confection==0.0.3
14
  cymem==2.0.6
15
  decorator==5.1.1
 
16
  entrypoints==0.4
17
  filelock==3.8.0
18
  gitdb==4.0.9
 
31
  pandas==1.5.0
32
  pathy==0.6.2
33
  Pillow==9.2.0
34
+ pkgutil_resolve_name==1.3.10
35
  preshed==3.0.7
36
  protobuf==3.20.3
37
  pyarrow==9.0.0
 
53
  smart-open==5.2.1
54
  smmap==5.0.0
55
  spacy==3.4.1
 
56
  spacy-legacy==3.0.10
57
  spacy-loggers==1.0.3
 
58
  srsly==2.4.4
59
  streamlit==1.13.0
60
  thinc==8.1.3
 
66
  tqdm==4.64.1
67
  transformers==4.23.1
68
  typer==0.4.2
69
+ typing_extensions==4.4.0
70
  tzdata==2022.4
71
  tzlocal==4.2
72
  urllib3==1.26.12
 
74
  wasabi==0.10.1
75
  watchdog==2.1.9
76
  zipp==3.9.0
77
+ https://github.com/explosion/spacy-models/releases/download/en_core_web_trf-3.4.0/en_core_web_trf-3.4.0-py3-none-any.whl
unpinned_requirements.txt CHANGED
@@ -3,4 +3,3 @@ streamlit
3
  transformers
4
  torch
5
  spacy
6
- https://github.com/explosion/spacy-models/releases/download/en_core_web_trf-3.4.0/en_core_web_trf-3.4.0-py3-none-any.whl
 
3
  transformers
4
  torch
5
  spacy