mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-02 05:38:12 +00:00
fix: constrain unstructured to ensure python compat
This commit is contained in:
4
.github/workflows/build-uv-cache.yml
vendored
4
.github/workflows/build-uv-cache.yml
vendored
@@ -32,6 +32,10 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
enable-cache: false
|
||||
|
||||
- name: Install system build dependencies
|
||||
if: matrix.python-version == '3.14'
|
||||
run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libavfilter-dev libswscale-dev libswresample-dev libheif-dev
|
||||
|
||||
- name: Install dependencies and populate cache
|
||||
run: |
|
||||
echo "Building global UV cache for Python ${{ matrix.python-version }}..."
|
||||
|
||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -40,6 +40,10 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
enable-cache: false
|
||||
|
||||
- name: Install system build dependencies
|
||||
if: matrix.python-version == '3.14'
|
||||
run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libavfilter-dev libswscale-dev libswresample-dev libheif-dev
|
||||
|
||||
- name: Install the project
|
||||
run: uv sync --all-groups --all-extras
|
||||
|
||||
|
||||
4
.github/workflows/type-checker.yml
vendored
4
.github/workflows/type-checker.yml
vendored
@@ -39,6 +39,10 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
enable-cache: false
|
||||
|
||||
- name: Install system build dependencies
|
||||
if: matrix.python-version == '3.14'
|
||||
run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libavfilter-dev libswscale-dev libswresample-dev libheif-dev
|
||||
|
||||
- name: Install dependencies
|
||||
run: uv sync --all-groups --all-extras
|
||||
|
||||
|
||||
4
.github/workflows/update-test-durations.yml
vendored
4
.github/workflows/update-test-durations.yml
vendored
@@ -44,6 +44,10 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
enable-cache: false
|
||||
|
||||
- name: Install system build dependencies
|
||||
if: matrix.python-version == '3.14'
|
||||
run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libavfilter-dev libswscale-dev libswresample-dev libheif-dev
|
||||
|
||||
- name: Install the project
|
||||
run: uv sync --all-groups --all-extras
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ rag = [
|
||||
"lxml>=5.3.0,<5.4.0", # Pin to avoid etree import issues in 5.4.0
|
||||
]
|
||||
xml = [
|
||||
"unstructured[local-inference, all-docs]>=0.17.2"
|
||||
"unstructured[local-inference, all-docs]>=0.17.2,<0.18.31"
|
||||
]
|
||||
oxylabs = [
|
||||
"oxylabs==2.0.0"
|
||||
|
||||
@@ -143,6 +143,11 @@ python_classes = "Test*"
|
||||
python_functions = "test_*"
|
||||
|
||||
|
||||
[tool.uv]
|
||||
constraint-dependencies = [
|
||||
"onnxruntime<1.24; python_version < '3.11'",
|
||||
]
|
||||
|
||||
[tool.uv.workspace]
|
||||
members = [
|
||||
"lib/crewai",
|
||||
|
||||
Reference in New Issue
Block a user