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:
parent
8f3a33d690
commit
31809d98df
8 changed files with 2100 additions and 2151 deletions
1
.github/actions/cognee_setup/action.yml
vendored
1
.github/actions/cognee_setup/action.yml
vendored
|
|
@ -21,7 +21,6 @@ runs:
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install poetry
|
pip install poetry
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
run: poetry install --no-interaction -E api -E docs -E evals -E gemini -E codegraph -E ollama -E dev
|
run: poetry install --no-interaction -E api -E docs -E evals -E gemini -E codegraph -E ollama -E dev
|
||||||
|
|
|
||||||
2
.github/workflows/python_version_tests.yml
vendored
2
.github/workflows/python_version_tests.yml
vendored
|
|
@ -55,7 +55,7 @@ jobs:
|
||||||
- name: Cognee Setup
|
- name: Cognee Setup
|
||||||
uses: ./.github/actions/cognee_setup
|
uses: ./.github/actions/cognee_setup
|
||||||
with:
|
with:
|
||||||
python-version: ${{ inputs.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
2
.github/workflows/test_suites.yml
vendored
2
.github/workflows/test_suites.yml
vendored
|
|
@ -61,6 +61,8 @@ jobs:
|
||||||
name: Python Version Tests
|
name: Python Version Tests
|
||||||
needs: [basic-tests, e2e-tests]
|
needs: [basic-tests, e2e-tests]
|
||||||
uses: ./.github/workflows/python_version_tests.yml
|
uses: ./.github/workflows/python_version_tests.yml
|
||||||
|
with:
|
||||||
|
python-versions: '["3.10.x", "3.11.x", "3.12.x"]'
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
# Matrix-based vector database tests
|
# Matrix-based vector database tests
|
||||||
|
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -36,6 +36,7 @@ share/python-wheels/
|
||||||
*.egg-info/
|
*.egg-info/
|
||||||
.installed.cfg
|
.installed.cfg
|
||||||
*.egg
|
*.egg
|
||||||
|
.python-version
|
||||||
MANIFEST
|
MANIFEST
|
||||||
|
|
||||||
# PyInstaller
|
# PyInstaller
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
3.11
|
|
||||||
3407
poetry.lock
generated
3407
poetry.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -33,7 +33,7 @@ dependencies = [
|
||||||
"sqlalchemy==2.0.39",
|
"sqlalchemy==2.0.39",
|
||||||
"aiosqlite>=0.20.0,<0.21",
|
"aiosqlite>=0.20.0,<0.21",
|
||||||
"tiktoken<=0.9.0",
|
"tiktoken<=0.9.0",
|
||||||
"litellm>=1.57.4",
|
"litellm>=1.57.4, <1.71.0",
|
||||||
"instructor>=1.7.2",
|
"instructor>=1.7.2",
|
||||||
"langfuse>=2.32.0,<3",
|
"langfuse>=2.32.0,<3",
|
||||||
"filetype>=1.2.0",
|
"filetype>=1.2.0",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue