PyRIT icon indicating copy to clipboard operation
PyRIT copied to clipboard

Issue 1204 Fix Docker build dependency conflict in requirements.txt

Open EHO-makai opened this issue 1 month ago • 0 comments

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.2 requires jupyterlab<4.4 and >=4.3.4
  • pip attempted to install jupyterlab==4.4.8, causing a ResolutionImpossible error

Changes made:

  • Relaxed jupyterlab constraint from =4.4.8 to >=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 -d successfully
  • Confirmed container pyrit-jupyter is 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.

EHO-makai avatar Nov 25 '25 00:11 EHO-makai