Files
crewAI/Dockerfile.test
Devin AI 5bc01b15a0 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>
2025-05-09 02:17:48 +00:00

15 lines
328 B
Docker

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__}')"]