PyRIT
PyRIT copied to clipboard
Issue 1204 Fix Docker build dependency conflict in requirements.txt
FIX: Issue 1204 - Relax Docker requirements.txt constraints to resolve dependency conflict
Description
Fixes dependency conflict in Docker build that prevented container creation. The issue was caused by overly restrictive version constraints in docker/requirements.txt:
-
notebook==7.3.2requiresjupyterlab<4.4 and >=4.3.4 - pip attempted to install
jupyterlab==4.4.8, causing a ResolutionImpossible error
Changes made:
- Relaxed
jupyterlabconstraint from=4.4.8to>=4.3.4,<4.5(more permissive range)
This allows pip to automatically resolve compatible versions of both packages without manual intervention.
Testing:
- Successfully built Docker image with
docker-compose up -d - Container starts without errors
- Verified pip resolves to compatible jupyterlab and notebook versions
Fixes #[1204]
Tests and Documentation
No new tests or documentation required for this change. This is a maintenance fix to the Docker environment configuration.
Docker build verification:
- Ran
docker-compose up -dsuccessfully - Confirmed container
pyrit-jupyteris running - Verified JupyterLab is accessible on port 8888
JupyText execution not applicable - this change only affects Docker dependency resolution and does not modify PyRIT code or documentation notebooks.