feat: Fix python312 issue on main (#1011)

<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.

---------

Co-authored-by: vasilije <vas.markovic@gmail.com>
This commit is contained in:
Igor Ilic 2025-06-21 09:49:03 +02:00 committed by GitHub
parent 8f3a33d690
commit 31809d98df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 2100 additions and 2151 deletions

View file

@ -21,7 +21,6 @@ runs:
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
shell: bash
run: poetry install --no-interaction -E api -E docs -E evals -E gemini -E codegraph -E ollama -E dev

View file

@ -55,7 +55,7 @@ jobs:
- name: Cognee Setup
uses: ./.github/actions/cognee_setup
with:
python-version: ${{ inputs.python-version }}
python-version: ${{ matrix.python-version }}
- name: Run unit tests
shell: bash

View file

@ -61,6 +61,8 @@ jobs:
name: Python Version Tests
needs: [basic-tests, e2e-tests]
uses: ./.github/workflows/python_version_tests.yml
with:
python-versions: '["3.10.x", "3.11.x", "3.12.x"]'
secrets: inherit
# Matrix-based vector database tests

1
.gitignore vendored
View file

@ -36,6 +36,7 @@ share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
.python-version
MANIFEST
# PyInstaller

View file

@ -1 +0,0 @@
3.11

3407
poetry.lock generated

File diff suppressed because it is too large Load diff

View file

@ -33,7 +33,7 @@ dependencies = [
"sqlalchemy==2.0.39",
"aiosqlite>=0.20.0,<0.21",
"tiktoken<=0.9.0",
"litellm>=1.57.4",
"litellm>=1.57.4, <1.71.0",
"instructor>=1.7.2",
"langfuse>=2.32.0,<3",
"filetype>=1.2.0",

835
uv.lock generated

File diff suppressed because it is too large Load diff