Skip to content

Commit 90f89d0

Browse files
lunyue-msCopilot
andauthored
[setup]: Pin docker-image-py==0.1.13 (#4660)
docker-image-py 0.2.0 (released 2026-06-29) breaks sonic-utilities in two ways: 1. Its split_docker_domain() now treats an uppercase first path segment as a registry domain, so get_registry_for('Azure/sonic') no longer resolves to Docker Hub. This fails tests/sonic_package_manager/test_registry.py ::test_get_registry_for and would also break real package resolution for the Azure/* repositories used by sonic-package-manager. 2. It bumps its dependency to regex>=2026.6.28, which forces pip to upgrade the apt-installed regex inside the build container; that package has no RECORD file and cannot be uninstalled (error: uninstall-no-record-file), breaking the sonic_utilities wheel install and therefore the whole SONiC image build. Pin to ==0.1.13 to restore the previous behavior. 0.1.13 keeps regex>=2019.4.14 (satisfied by the existing regex) and the old domain splitting. This matches the exact version already pinned in the SONiC reproducible-build locks (files/build/versions/**/versions-py3). Signed-off-by: Lun Yue <17232861+lunyue-ms@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent cdaae03 commit 90f89d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
'urllib3>=2',
250250
'click-log>=0.3.2',
251251
'docker>=4.4.4',
252-
'docker-image-py>=0.1.10',
252+
'docker-image-py==0.1.13',
253253
'filelock>=3.0.12',
254254
'enlighten>=1.8.0',
255255
'ijson>=3.2.3',

0 commit comments

Comments
 (0)