change pip to uv and update dependencies

This commit is contained in:
ILay
2026-04-27 18:18:38 +02:00
parent 0847026b32
commit bdfbe3d310
3 changed files with 78 additions and 14 deletions

View File

@@ -19,7 +19,7 @@ dependencies = [
"lxml>=6.0",
"xmltodict>=1.0",
"rdflib>=7.6",
"openpyxl",
"openpyxl>=3.1.0",
"xlrd>=2.0.1",
"tabulate==0.8.10",
"pyspellchecker>=0.8.4",
@@ -35,14 +35,26 @@ dependencies = [
"pycanon==1.0.1.post2",
"anjana>=1.0.0",
# Field-level pseudo-anonymisation
"scrubadub",
"scrubadub_spacy",
"hvac",
"cryptography",
# Util services (git dependency)
"util-services @ git+https://code.europa.eu/simpl/simpl-open/development/data-services/util-services.git@v0.4.1",
"scrubadub>=2.0.0",
"scrubadub_spacy>=1.0.0",
"hvac>=2.0.0",
"cryptography>=42.0.0",
# Util services — resolved via [tool.uv.sources] (git)
"util-services",
]
[tool.uv]
exclude-dependencies = ["transformers", "spacy-transformers"]
[tool.uv.sources]
torch = { index = "pytorch-cpu" }
util-services = { git = "https://code.europa.eu/simpl/simpl-open/development/data-services/util-services.git", rev = "feature/SIMPL-24631" }
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",