From 94bf7b4c30a0ff84f73e427e9922882a4e0eb4d2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Aug 2025 21:49:40 +0000 Subject: [PATCH 1/4] chore(deps): bump the pip group across 2 directories with 1 update Updates the requirements on and [pypdf](https://github.com/py-pdf/pypdf) to permit the latest version. Updates `pypdf` to 6.0.0 - [Release notes](https://github.com/py-pdf/pypdf/releases) - [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md) - [Commits](https://github.com/py-pdf/pypdf/compare/4.1.0...6.0.0) Updates `pypdf` to 6.0.0 - [Release notes](https://github.com/py-pdf/pypdf/releases) - [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md) - [Commits](https://github.com/py-pdf/pypdf/compare/4.1.0...6.0.0) --- updated-dependencies: - dependency-name: pypdf dependency-version: 6.0.0 dependency-type: direct:production dependency-group: pip - dependency-name: pypdf dependency-version: 6.0.0 dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] --- distributed/pyproject.toml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/distributed/pyproject.toml b/distributed/pyproject.toml index fc04c6fcc..f61157236 100644 --- a/distributed/pyproject.toml +++ b/distributed/pyproject.toml @@ -40,7 +40,7 @@ dependencies = [ "aiohttp>=3.11.14,<4.0.0", "aiofiles>=23.2.1,<24.0.0", "rdflib>=7.1.4,<7.2.0", - "pypdf>=4.1.0,<6.0.0", + "pypdf>=4.1.0,<7.0.0", "jinja2>=3.1.3,<4", "matplotlib>=3.8.3,<4", "networkx>=3.4.2,<4", diff --git a/pyproject.toml b/pyproject.toml index 272c8e929..5e22b1eb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ dependencies = [ "aiohttp>=3.11.14,<4.0.0", "aiofiles>=23.2.1,<24.0.0", "rdflib>=7.1.4,<7.2.0", - "pypdf>=4.1.0,<6.0.0", + "pypdf>=4.1.0,<7.0.0", "jinja2>=3.1.3,<4", "matplotlib>=3.8.3,<4", "networkx>=3.4.2,<4", From f1df512b99f0cf1aeb3bbd39123bbd3648755217 Mon Sep 17 00:00:00 2001 From: Andrej Milicevic Date: Mon, 8 Sep 2025 12:49:10 +0200 Subject: [PATCH 2/4] fix: Import fix to make sure Fastembed works --- .../databases/vector/embeddings/FastembedEmbeddingEngine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py b/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py index dc8443459..acb041e76 100644 --- a/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py +++ b/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py @@ -4,7 +4,7 @@ from fastembed import TextEmbedding import litellm import os from cognee.infrastructure.databases.vector.embeddings.EmbeddingEngine import EmbeddingEngine -from cognee.infrastructure.databases.exceptions.EmbeddingException import EmbeddingException +from cognee.infrastructure.databases.exceptions import EmbeddingException from cognee.infrastructure.llm.tokenizer.TikToken import ( TikTokenTokenizer, ) From 8f0878f39f947f54baf919c44cf1022ed8b336a9 Mon Sep 17 00:00:00 2001 From: Andrej Milicevic Date: Mon, 8 Sep 2025 12:50:31 +0200 Subject: [PATCH 3/4] Revert "fix: Import fix to make sure Fastembed works" This reverts commit f1df512b99f0cf1aeb3bbd39123bbd3648755217. --- .../databases/vector/embeddings/FastembedEmbeddingEngine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py b/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py index acb041e76..dc8443459 100644 --- a/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py +++ b/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py @@ -4,7 +4,7 @@ from fastembed import TextEmbedding import litellm import os from cognee.infrastructure.databases.vector.embeddings.EmbeddingEngine import EmbeddingEngine -from cognee.infrastructure.databases.exceptions import EmbeddingException +from cognee.infrastructure.databases.exceptions.EmbeddingException import EmbeddingException from cognee.infrastructure.llm.tokenizer.TikToken import ( TikTokenTokenizer, ) From 804d706138503dcb0a8c0be409356d9361a641f3 Mon Sep 17 00:00:00 2001 From: Andrej Milicevic Date: Mon, 8 Sep 2025 12:57:45 +0200 Subject: [PATCH 4/4] forgot to add changes, here they are --- .../databases/vector/embeddings/FastembedEmbeddingEngine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py b/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py index dc8443459..acb041e76 100644 --- a/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py +++ b/cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py @@ -4,7 +4,7 @@ from fastembed import TextEmbedding import litellm import os from cognee.infrastructure.databases.vector.embeddings.EmbeddingEngine import EmbeddingEngine -from cognee.infrastructure.databases.exceptions.EmbeddingException import EmbeddingException +from cognee.infrastructure.databases.exceptions import EmbeddingException from cognee.infrastructure.llm.tokenizer.TikToken import ( TikTokenTokenizer, )