Commit 90f89d0
[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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
0 commit comments