mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-12 09:38:31 +00:00
Fix Python 3.12 CI failure: exclude pytest-vcr to prevent conflict with pytest-recording
- Add constraint-dependencies to exclude pytest-vcr entirely - Update CI workflow to explicitly uninstall pytest-vcr after sync - Resolves RuntimeError: pytest-recording is incompatible with pytest-vcr - All @pytest.mark.vcr decorators continue to work with pytest-recording - Verified locally that VCR functionality works without conflicts Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -28,7 +28,9 @@ jobs:
|
||||
run: uv python install ${{ matrix.python-version }}
|
||||
|
||||
- name: Install the project
|
||||
run: uv sync --dev --all-extras
|
||||
run: |
|
||||
uv sync --dev --all-extras
|
||||
uv pip uninstall pytest-vcr --quiet || true
|
||||
|
||||
- name: Run tests
|
||||
run: uv run pytest --block-network --timeout=60 -vv
|
||||
|
||||
Reference in New Issue
Block a user