mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 09:08:31 +00:00
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:
14
Dockerfile.test
Normal file
14
Dockerfile.test
Normal 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__}')"]
|
||||
Reference in New Issue
Block a user