Files
crewAI/tests/test_python_compatibility.py
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

19 lines
595 B
Python

"""Tests for Python version compatibility."""
import sys
import pytest
def test_python_version_compatibility():
"""Test that the package supports the current Python version."""
# This test will fail if the package doesn't support the current Python version
import crewai
# Print the Python version for debugging
print(f"Python version: {sys.version}")
# Print the crewai version for debugging
print(f"CrewAI version: {crewai.__version__}")
# If we got here, the import worked, which means the package supports this Python version
assert True