Skip to content

Commit 400bda3

Browse files
authored
build(medcat related): CU-869awn3fm Update install targets (#185)
* CU-869awn3fm: Update install target in README * CU-869awn3fm: Remove versions in install targets in README * CU-869awn3fm: Remove install targets in main docs * CU-869awn3fm: Use v2.2.0 for tutorials install target * CU-869awn3fm: Update requirements for demo web app to v2.2.0 * CU-869awn3fm: Update service requirements to latest * CU-869awn3fm: Remove beta from docs main apge
1 parent 6e00e23 commit 400bda3

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

medcat-demo-app/webapp/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ Django==3.2.25
22
django-dbbackup==4.0.0b0
33
django-storages[boto3]==1.12.3
44
django-cron==0.5.1
5-
medcat[meta-cat,spacy]~=2.1.0
5+
medcat[meta-cat,spacy]~=2.2.0
66
urllib3==1.26.18

medcat-service/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ gunicorn==23.0.0
22
setuptools==78.1.1
33
simplejson==3.19.3
44
setuptools-rust==1.11.0
5-
medcat[meta-cat,spacy,deid]~=2.1.0
5+
medcat[meta-cat,spacy,deid]~=2.2.0
66
# pinned because of issues with de-id models and past models (it will not do any de-id)
77
transformers>=4.34.0,<5.0.0
88
requests==2.32.4
99
fastapi[standard]==0.115.2
1010
pydantic==2.9.2
1111
pydantic-settings==2.10.1
12-
gradio==5.38.0
12+
gradio==5.38.0

medcat-v2-tutorials/notebooks/introductory/meta/1._Add_a_MetaCat_to_a_Model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
}
7777
],
7878
"source": [
79-
"! pip install medcat[meta-cat]~=2.1.0 # NOTE: VERSION-STRING"
79+
"! pip install medcat[meta-cat]~=2.2.0 # NOTE: VERSION-STRING"
8080
]
8181
},
8282
{

medcat-v2-tutorials/notebooks/introductory/migration/1._Migrate_v1_model_to_v2.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
}
132132
],
133133
"source": [
134-
"! pip install medcat[meta-cat,spacy,deid]~=2.1.0"
134+
"! pip install medcat[meta-cat,spacy,deid]~=2.2.0"
135135
]
136136
},
137137
{

medcat-v2-tutorials/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
medcat~=2.1.0
1+
medcat~=2.2.0
22
ipykernel
33
pytest-xdist~=3.6.0
44
nbmake<1.6

medcat-v2/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,17 @@ new_model_folder = "models" # file in this folder
7373

7474
MedCAT v2 has its first full release
7575
```
76-
pip install medcat~=2.0.0
76+
pip install medcat
7777
```
7878
Do note that **this installs only the core MedCAT v2**.
7979
**It does not necessary dependencies for `spacy`-based tokenizing or MetaCATs or DeID**.
8080
However, all of those are supported as well.
8181
You can install them as follows:
8282
```
83-
pip install "medcat[spacy]~=2.0.0" # for spacy-based tokenizer
84-
pip install "medcat[meta-cat]~=2.0.0" # for MetaCAT
85-
pip install "medcat[deid]~=2.0.0" # for DeID models
86-
pip install "medcat[spacy,meta-cat,deid,rel-cat,dict-ner]~=2.0.0" # for all of the above
83+
pip install "medcat[spacy]" # for spacy-based tokenizer
84+
pip install "medcat[meta-cat]" # for MetaCAT
85+
pip install "medcat[deid]" # for DeID models
86+
pip install "medcat[spacy,meta-cat,deid,rel-cat,dict-ner]" # for all of the above
8787
```
8888

8989
### Version / update checking

medcat-v2/docs/main.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ Some guides on how to use MedCAT v2 are available at [MedCAT Tutorials](https://
4444
## Install using PIP (Requires Python 3.10+)
4545
Installation instructions are to follow upon a release of this version on PyPI.
4646
Though installation is likely to be simply `pip install "medcat>=2.0"` at that time.
47-
Currently the installation for the 2.0 beta release is simply:
47+
Currently the installation for the 2.0 release is simply:
4848
```
49-
pip install medcat~=2.0.0b
49+
pip install medcat
5050
```
5151
Though note the extras you might need (e.g `spacy`, `meta-cat`, `rel-cat`, `deid`).
5252
If you need them, they need to be specified in brackets, e.g:
5353
```
54-
pip install medcat[spacy,meta-cat,rel-cat,deid]~=2.0.0b
54+
pip install "medcat[spacy,meta-cat,rel-cat,deid]"
5555
```
5656

5757
2. Quickstart (MedCAT v2+):

0 commit comments

Comments
 (0)