Skip to content

fix: resolve requirements installation failure by using local base.txt reference#2

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/vscode-mltnp4u7-q1m4
Draft

fix: resolve requirements installation failure by using local base.txt reference#2
Copilot wants to merge 2 commits intomainfrom
copilot/vscode-mltnp4u7-q1m4

Conversation

Copy link

Copilot AI commented Feb 19, 2026

pip install -r requirements/dev.txt fails because dev.txt, prod.txt, and colab.txt all pull base.txt from a remote GitHub raw URL, which breaks in offline/restricted network environments.

Changes

  • requirements/dev.txt, prod.txt, colab.txt: Replace remote URL reference with local relative path
- -r https://raw.githubusercontent.com/course-files/ServingMLModels/refs/heads/main/requirements/base.txt
+ -r base.txt

requirements/base.txt already exists in the repo — the remote reference was redundant and fragile.

Original prompt

(.venv) PS D:\BBIT\4.3\BI II labs\Serving ML Models\lab-on-serving-ml-models-202509-b> pip install -r requirements/dev.txt
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000023AF4D4A510>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /course-files/ServingMLModels/refs/heads/main/requirements/base.txt
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000023AF4D7CB90>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /course-files/ServingMLModels/refs/heads/main/requirements/base.txt
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000023AF4D7CE10>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /course-files/ServingMLModels/refs/heads/main/requirements/base.txt
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000023AF4D7D090>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /course-files/ServingMLModels/refs/heads/main/requirements/base.txt
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000023AF4D7D310>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /course-files/ServingMLModels/refs/heads/main/requirements/base.txt
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /course-files/ServingMLModels/refs/heads/main/requirements/base.txt (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000023AF4D7D590>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

[notice] A new release of pip is available: 25.3 -> 26.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip
(.venv) PS D:\BBIT\4.3\BI II labs\Serving ML Models\lab-on-serving-ml-models-202509-b>

Created from VS Code.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…ts files

Co-authored-by: Godwill98 <93596110+Godwill98@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issues with pip install for requirements fix: resolve requirements installation failure by using local base.txt reference Feb 19, 2026
Copilot AI requested a review from Godwill98 February 19, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants