mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-30 23:02:50 +00:00
Python 3.14 changed asyncio.get_event_loop() to raise RuntimeError when no running event loop exists instead of silently creating one. This broke all async code paths that relied on get_event_loop(). Changes: - Replace asyncio.get_event_loop() with asyncio.get_running_loop() in all async contexts across crewai core and crewai-tools - Update requires-python from '<3.14' to '<3.15' in all pyproject.toml files - Add comprehensive tests for Python 3.14 async compatibility - Regenerate uv.lock for the updated version constraint Closes #5109 Co-Authored-By: João <joao@crewai.com>
26 lines
567 B
TOML
26 lines
567 B
TOML
[project]
|
|
name = "crewai-files"
|
|
dynamic = ["version"]
|
|
description = "File handling utilities for CrewAI multimodal inputs"
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "Greyson LaLonde", email = "greyson@crewai.com" }
|
|
]
|
|
requires-python = ">=3.10, <3.15"
|
|
dependencies = [
|
|
"Pillow~=12.1.1",
|
|
"pypdf~=6.9.1",
|
|
"python-magic>=0.4.27",
|
|
"aiocache~=0.12.3",
|
|
"aiofiles~=24.1.0",
|
|
"tinytag~=2.2.1",
|
|
"av~=13.0.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.version]
|
|
path = "src/crewai_files/__init__.py"
|