Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions medcat-v2/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "medcat"

version = "2.0.0-dev"
version = "2.2.0-dev"

description = "Medical Concept Annotation Toolkit (v2)"

Expand Down Expand Up @@ -89,8 +89,6 @@ spacy = [
]
meta_cat = [
"transformers>=4.41.0,<5.0", # avoid major bump
# Transformers 4.57 doesn't support 3.9
"transformers!=4.57.0; python_version == '3.9'",
"peft>0.8.2,<1.0",
"torch>=2.4.0,<3.0",
"scikit-learn>=1.1.3,<2.0",
Expand All @@ -103,23 +101,15 @@ dict_ner = [
]
deid = [
"datasets>=2.2.2,<3.0.0",
# Transformers 4.57 doesn't support 3.9
"transformers!=4.57.0; python_version == '3.9'",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a loose thought, could you even remove the non-duplicated line now? If we don't specifically support 3.9 anymore. May as well keep it I guess just a thought.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, good shout!

"transformers>=4.41.0,<5.0", # avoid major bump
# Transformers 4.57 doesn't support 3.9
"transformers!=4.57.0; python_version == '3.9'",
"scikit-learn>=1.1.3,<2.0",
"torch>=2.4.0,<3.0",
# since 3.13 we need to use later version of scipy for it
"scipy<1.14; python_version < '3.13'",
"scipy>=1.14; python_version >= '3.13'",
]
rel_cat = [
# Transformers 4.57 doesn't support 3.9
"transformers!=4.57.0; python_version == '3.9'",
"transformers>=4.41.0,<5.0", # avoid major bump
# Transformers 4.57 doesn't support 3.9
"transformers!=4.57.0; python_version == '3.9'",
"scikit-learn>=1.1.3,<2.0",
"torch>=2.4.0,<3.0",
]
Expand Down
Loading