From 32ddbf55f53c140fc49870887b613e405dbde4ea Mon Sep 17 00:00:00 2001 From: frapercan Date: Wed, 19 Aug 2026 02:38:29 +0200 Subject: [PATCH] chore(deps): pin cafaeval-protea to the build that can emit per-protein scores Moves the pin from 80d705a to 7335b5b, which is 80d705a plus the optional PerProteinSink and nothing else: one file differs, and no other package resolves differently. Without it the confusion-matrix kernels collapse their per-protein vectors with .sum(axis=0) before anything downstream sees them, so a score cannot be stratified by any per-protein property. Sequence length, identity to the nearest donor and taxonomic relation are all per protein, and all three are axes the evaluation is meant to report. Nothing changes until a caller passes a sink. The default path, every signature and every number this library produces are byte-identical, and the upstream tests assert it. The 224 rows already in the board stay valid. Note the previous lock entry pinned reference = "main" while resolving to a commit; this one pins the commit in both, so the lock no longer depends on where a branch points. --- poetry.lock | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index b343e630..3f6fba47 100644 --- a/poetry.lock +++ b/poetry.lock @@ -674,8 +674,8 @@ test = ["pytest (>=7)"] [package.source] type = "git" url = "https://github.com/frapercan/cafaeval-protea.git" -reference = "main" -resolved_reference = "80d705aaa2f931f9bc0c1fb89e10782132c19707" +reference = "7335b5b779a7d99bc754df5c6a1895b1c502bc8e" +resolved_reference = "7335b5b779a7d99bc754df5c6a1895b1c502bc8e" [[package]] name = "certifi" @@ -7026,4 +7026,4 @@ files = [ [metadata] lock-version = "2.1" python-versions = ">=3.12,<4.0" -content-hash = "3c836bc369d252f47eaadbe4ac094c6b0a42f2b1f5fb64ef38f3c8e2a70ada5b" +content-hash = "b43c938870a15e48a2b3225e6ce56d4b121e3dc8d1c8a01f63e6e01be53a720c" diff --git a/pyproject.toml b/pyproject.toml index 65b6de51..5c2121a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ "faiss-cpu (>=1.7.0)", "parasail (>=1.3.4)", "ete3 (>=3.1.3)", - "cafaeval-protea @ git+https://github.com/frapercan/cafaeval-protea.git@80d705aaa2f931f9bc0c1fb89e10782132c19707", + "cafaeval-protea @ git+https://github.com/frapercan/cafaeval-protea.git@7335b5b779a7d99bc754df5c6a1895b1c502bc8e", "lightgbm (>=4.6.0,<5.0.0)", "pyarrow (>=23.0.1,<24.0.0)", "httpx (>=0.28.1,<0.29.0)",