-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Is it platform specific
generic
Importance or Severity
Critical
Description of the bug
In the branch 202511, the versions-py3 constraint files pin supervisor==4.3.0, but the src/supervisor submodule and rules/supervisor.mk both specify version 4.2.5. In addition, the src/supervisor submodule ref pointer is also incorrect and pointing to 4.2.5 instead of 4.3.0.
202511 Branch
Line 36 in files/build/versions/build/build-sonic-slave-bookworm/versions-py3.
Supervisor ref pointer is 99a3e3e240d9d13e143b306818731e224e1e73d2
Line 3 in rules/supervisor.mk has supervisor-4.2.5-py2.py3-none-any.whl
Master Branch
Line 36 in files/build/versions-public/build/build-sonic-slave-bookworm/versions-py3
Correct supervisor ref pointer is dbca8d457e61d8707c40f99c78330b87939483a3 and this exists in the master branch.
Line 3 in rules/supervisor.mk has supervisor-4.3.0-py2.py3-none-any.whl
Steps to Reproduce
Clone sonic-buildimage with 202511 branch and build an image for any target.
Build fails at target/python-wheels/bookworm/supervisor-4.2.5-py2.py3-none-any.whl
Actual Behavior and Expected Behavior
Expected behavior is no build failures.
Relevant log output
[ FAIL LOG START ] [ target/python-wheels/bookworm/supervisor-4.2.5-py2.py3-none-any.whl ]
Build start time: Tue Mar 3 08:09:30 UTC 2026
[ REASON ] : NEWER PREREQUISITES: target/python-wheels/bookworm/supervisor-4.2.5-py2.py3-none-any.whl.dep
/sonic/src/supervisor /sonic
Applying patch ../supervisor.patch/0001-First-poll-is-non-blocking.patch
patching file supervisor/supervisord.py
Now at patch ../supervisor.patch/0001-First-poll-is-non-blocking.patch
Processing /sonic/src/supervisor
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
ERROR: Cannot install supervisor 4.2.5 (from /sonic/src/supervisor) because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested supervisor 4.2.5 (from /sonic/src/supervisor)
The user requested (constraint) supervisor==4.3.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[ FAIL LOG END ] [ target/python-wheels/bookworm/supervisor-4.2.5-py2.py3-none-any.whl ]
make: *** [slave.mk:996: target/python-wheels/bookworm/supervisor-4.2.5-py2.py3-none-any.whl] Error 1Output of show version, show techsupport
Attach files (if any)
No response