Fix Python 3.13 compatibility (issue #2794)

- Update Python version constraint from '>=3.10,<3.13' to '>=3.10,<3.14' in all relevant files
- Add test to verify Python version compatibility
- Update GitHub Actions workflow to include Python 3.13 testing
- Add Docker test to verify installation on Python 3.13

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-05-09 02:17:48 +00:00
parent cb1a98cabf
commit 5bc01b15a0
9 changed files with 40 additions and 8 deletions

14
Dockerfile.test Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.13-slim-bookworm
WORKDIR /app
RUN pip install --upgrade pip
# Copy the current directory contents into the container
COPY . /app/
# Install the package
RUN pip install -e .
# Test importing the package
CMD ["python", "-c", "import crewai; print(f'Successfully imported crewai version {crewai.__version__}')"]