mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-03-06 11:58:17 +00:00
Compare commits
6 Commits
cursor/har
...
gl/feat/al
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2652dfecb3 | ||
|
|
a71e5db75f | ||
|
|
3963bb3986 | ||
|
|
82bf8965b0 | ||
|
|
c4c35502ba | ||
|
|
13478b87ec |
2
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
2
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -65,6 +65,8 @@ body:
|
|||||||
- '3.10'
|
- '3.10'
|
||||||
- '3.11'
|
- '3.11'
|
||||||
- '3.12'
|
- '3.12'
|
||||||
|
- '3.13'
|
||||||
|
- '3.14'
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: input
|
||||||
|
|||||||
6
.github/workflows/build-uv-cache.yml
vendored
6
.github/workflows/build-uv-cache.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -32,6 +32,10 @@ jobs:
|
|||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
enable-cache: false
|
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
|
- name: Install dependencies and populate cache
|
||||||
run: |
|
run: |
|
||||||
echo "Building global UV cache for Python ${{ matrix.python-version }}..."
|
echo "Building global UV cache for Python ${{ matrix.python-version }}..."
|
||||||
|
|||||||
8
.github/workflows/linter.yml
vendored
8
.github/workflows/linter.yml
vendored
@@ -26,15 +26,15 @@ jobs:
|
|||||||
~/.cache/uv
|
~/.cache/uv
|
||||||
~/.local/share/uv
|
~/.local/share/uv
|
||||||
.venv
|
.venv
|
||||||
key: uv-main-py3.11-${{ hashFiles('uv.lock') }}
|
key: uv-main-py3.12-${{ hashFiles('uv.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
uv-main-py3.11-
|
uv-main-py3.12-
|
||||||
|
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v6
|
||||||
with:
|
with:
|
||||||
version: "0.8.4"
|
version: "0.8.4"
|
||||||
python-version: "3.11"
|
python-version: "3.12"
|
||||||
enable-cache: false
|
enable-cache: false
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -66,4 +66,4 @@ jobs:
|
|||||||
~/.cache/uv
|
~/.cache/uv
|
||||||
~/.local/share/uv
|
~/.local/share/uv
|
||||||
.venv
|
.venv
|
||||||
key: uv-main-py3.11-${{ hashFiles('uv.lock') }}
|
key: uv-main-py3.12-${{ hashFiles('uv.lock') }}
|
||||||
|
|||||||
16
.github/workflows/tests.yml
vendored
16
.github/workflows/tests.yml
vendored
@@ -13,8 +13,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ['3.10', '3.11', '3.12', '3.13']
|
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
|
||||||
group: [1, 2, 3, 4, 5, 6, 7, 8]
|
group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -40,6 +40,10 @@ jobs:
|
|||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
enable-cache: false
|
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
|
- name: Install the project
|
||||||
run: uv sync --all-groups --all-extras
|
run: uv sync --all-groups --all-extras
|
||||||
|
|
||||||
@@ -49,7 +53,7 @@ jobs:
|
|||||||
path: .test_durations_py*
|
path: .test_durations_py*
|
||||||
key: test-durations-py${{ matrix.python-version }}
|
key: test-durations-py${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Run tests (group ${{ matrix.group }} of 8)
|
- name: Run tests (group ${{ matrix.group }} of 16)
|
||||||
run: |
|
run: |
|
||||||
PYTHON_VERSION_SAFE=$(echo "${{ matrix.python-version }}" | tr '.' '_')
|
PYTHON_VERSION_SAFE=$(echo "${{ matrix.python-version }}" | tr '.' '_')
|
||||||
DURATION_FILE="../../.test_durations_py${PYTHON_VERSION_SAFE}"
|
DURATION_FILE="../../.test_durations_py${PYTHON_VERSION_SAFE}"
|
||||||
@@ -73,17 +77,17 @@ jobs:
|
|||||||
|
|
||||||
cd lib/crewai && uv run pytest \
|
cd lib/crewai && uv run pytest \
|
||||||
-vv \
|
-vv \
|
||||||
--splits 8 \
|
--splits 16 \
|
||||||
--group ${{ matrix.group }} \
|
--group ${{ matrix.group }} \
|
||||||
$DURATIONS_ARG \
|
$DURATIONS_ARG \
|
||||||
--durations=10 \
|
--durations=10 \
|
||||||
--maxfail=3
|
--maxfail=3
|
||||||
|
|
||||||
- name: Run tool tests (group ${{ matrix.group }} of 8)
|
- name: Run tool tests (group ${{ matrix.group }} of 16)
|
||||||
run: |
|
run: |
|
||||||
cd lib/crewai-tools && uv run pytest \
|
cd lib/crewai-tools && uv run pytest \
|
||||||
-vv \
|
-vv \
|
||||||
--splits 8 \
|
--splits 16 \
|
||||||
--group ${{ matrix.group }} \
|
--group ${{ matrix.group }} \
|
||||||
--durations=10 \
|
--durations=10 \
|
||||||
--maxfail=3
|
--maxfail=3
|
||||||
|
|||||||
6
.github/workflows/type-checker.yml
vendored
6
.github/workflows/type-checker.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -39,6 +39,10 @@ jobs:
|
|||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
enable-cache: false
|
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
|
- name: Install dependencies
|
||||||
run: uv sync --all-groups --all-extras
|
run: uv sync --all-groups --all-extras
|
||||||
|
|
||||||
|
|||||||
10
.github/workflows/update-test-durations.yml
vendored
10
.github/workflows/update-test-durations.yml
vendored
@@ -16,11 +16,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ['3.10', '3.11', '3.12', '3.13']
|
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
|
||||||
env:
|
env:
|
||||||
OPENAI_API_KEY: fake-api-key
|
OPENAI_API_KEY: fake-api-key
|
||||||
PYTHONUNBUFFERED: 1
|
PYTHONUNBUFFERED: 1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -44,6 +44,10 @@ jobs:
|
|||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
enable-cache: false
|
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
|
- name: Install the project
|
||||||
run: uv sync --all-groups --all-extras
|
run: uv sync --all-groups --all-extras
|
||||||
|
|
||||||
@@ -68,4 +72,4 @@ jobs:
|
|||||||
~/.cache/uv
|
~/.cache/uv
|
||||||
~/.local/share/uv
|
~/.local/share/uv
|
||||||
.venv
|
.venv
|
||||||
key: uv-main-py${{ matrix.python-version }}-${{ hashFiles('uv.lock') }}
|
key: uv-main-py${{ matrix.python-version }}-${{ hashFiles('uv.lock') }}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ readme = "README.md"
|
|||||||
authors = [
|
authors = [
|
||||||
{ name = "Greyson LaLonde", email = "greyson@crewai.com" }
|
{ name = "Greyson LaLonde", email = "greyson@crewai.com" }
|
||||||
]
|
]
|
||||||
requires-python = ">=3.10, <3.14"
|
requires-python = ">=3.10,<3.15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"Pillow~=10.4.0",
|
"Pillow~=10.4.0",
|
||||||
"pypdf~=4.0.0",
|
"pypdf~=4.0.0",
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ readme = "README.md"
|
|||||||
authors = [
|
authors = [
|
||||||
{ name = "João Moura", email = "joaomdmoura@gmail.com" },
|
{ name = "João Moura", email = "joaomdmoura@gmail.com" },
|
||||||
]
|
]
|
||||||
requires-python = ">=3.10, <3.14"
|
requires-python = ">=3.10,<3.15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lancedb~=0.5.4",
|
"lancedb~=0.5.4",
|
||||||
"pytube~=15.0.0",
|
"pytube~=15.0.0",
|
||||||
@@ -118,7 +118,7 @@ rag = [
|
|||||||
"lxml>=5.3.0,<5.4.0", # Pin to avoid etree import issues in 5.4.0
|
"lxml>=5.3.0,<5.4.0", # Pin to avoid etree import issues in 5.4.0
|
||||||
]
|
]
|
||||||
xml = [
|
xml = [
|
||||||
"unstructured[local-inference, all-docs]>=0.17.2"
|
"unstructured[local-inference, all-docs]>=0.17.2,<0.18.31"
|
||||||
]
|
]
|
||||||
oxylabs = [
|
oxylabs = [
|
||||||
"oxylabs==2.0.0"
|
"oxylabs==2.0.0"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ readme = "README.md"
|
|||||||
authors = [
|
authors = [
|
||||||
{ name = "Joao Moura", email = "joao@crewai.com" }
|
{ name = "Joao Moura", email = "joao@crewai.com" }
|
||||||
]
|
]
|
||||||
requires-python = ">=3.10, <3.14"
|
requires-python = ">=3.10,<3.15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
# Core Dependencies
|
# Core Dependencies
|
||||||
"pydantic~=2.11.9",
|
"pydantic~=2.11.9",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name = "{{folder_name}}"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "{{name}} using crewAI"
|
description = "{{name}} using crewAI"
|
||||||
authors = [{ name = "Your Name", email = "you@example.com" }]
|
authors = [{ name = "Your Name", email = "you@example.com" }]
|
||||||
requires-python = ">=3.10,<3.14"
|
requires-python = ">=3.10,<3.15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"crewai[tools]==1.9.3"
|
"crewai[tools]==1.9.3"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name = "{{folder_name}}"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "{{name}} using crewAI"
|
description = "{{name}} using crewAI"
|
||||||
authors = [{ name = "Your Name", email = "you@example.com" }]
|
authors = [{ name = "Your Name", email = "you@example.com" }]
|
||||||
requires-python = ">=3.10,<3.14"
|
requires-python = ">=3.10,<3.15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"crewai[tools]==1.9.3"
|
"crewai[tools]==1.9.3"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ name = "{{folder_name}}"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "Power up your crews with {{folder_name}}"
|
description = "Power up your crews with {{folder_name}}"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.10,<3.14"
|
requires-python = ">=3.10,<3.15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"crewai[tools]>=0.203.1"
|
"crewai[tools]==1.9.3"
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.crewai]
|
[tool.crewai]
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ class TestDeployCommand(unittest.TestCase):
|
|||||||
[project]
|
[project]
|
||||||
name = "test_project"
|
name = "test_project"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
requires-python = ">=3.10,<3.14"
|
requires-python = ">=3.10,<3.15"
|
||||||
dependencies = ["crewai"]
|
dependencies = ["crewai"]
|
||||||
""",
|
""",
|
||||||
)
|
)
|
||||||
@@ -249,7 +249,7 @@ class TestDeployCommand(unittest.TestCase):
|
|||||||
[project]
|
[project]
|
||||||
name = "test_project"
|
name = "test_project"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
requires-python = ">=3.10,<3.14"
|
requires-python = ">=3.10,<3.15"
|
||||||
dependencies = ["crewai"]
|
dependencies = ["crewai"]
|
||||||
""",
|
""",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ readme = "README.md"
|
|||||||
authors = [
|
authors = [
|
||||||
{ name = "Greyson R. LaLonde", email = "greyson@crewai.com" },
|
{ name = "Greyson R. LaLonde", email = "greyson@crewai.com" },
|
||||||
]
|
]
|
||||||
requires-python = ">=3.10, <3.14"
|
requires-python = ">=3.10,<3.15"
|
||||||
classifiers = ["Private :: Do Not Upload"]
|
classifiers = ["Private :: Do Not Upload"]
|
||||||
private = true
|
private = true
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name = "crewai-workspace"
|
name = "crewai-workspace"
|
||||||
description = "Cutting-edge framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks."
|
description = "Cutting-edge framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.10,<3.14"
|
requires-python = ">=3.10,<3.15"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Joao Moura", email = "joao@crewai.com" }
|
{ name = "Joao Moura", email = "joao@crewai.com" }
|
||||||
]
|
]
|
||||||
@@ -143,6 +143,11 @@ python_classes = "Test*"
|
|||||||
python_functions = "test_*"
|
python_functions = "test_*"
|
||||||
|
|
||||||
|
|
||||||
|
[tool.uv]
|
||||||
|
constraint-dependencies = [
|
||||||
|
"onnxruntime<1.24; python_version < '3.11'",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.uv.workspace]
|
[tool.uv.workspace]
|
||||||
members = [
|
members = [
|
||||||
"lib/crewai",
|
"lib/crewai",
|
||||||
|
|||||||
Reference in New Issue
Block a user