mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
- 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>
19 lines
595 B
Python
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
|