[fib_test] Updated deprecated imports that break in Python 3.10+#18544
Merged
wangxin merged 4 commits intosonic-net:masterfrom May 28, 2025
Merged
[fib_test] Updated deprecated imports that break in Python 3.10+#18544wangxin merged 4 commits intosonic-net:masterfrom
wangxin merged 4 commits intosonic-net:masterfrom
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
lerry-lee
reviewed
May 23, 2025
Contributor
lerry-lee
left a comment
There was a problem hiding this comment.
Is it safe if we have old python version(python 3.9 and below)?
Contributor
Author
Hi @lerry-lee yes. Any version after Python 3.3 this works. |
lerry-lee
approved these changes
May 26, 2025
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
wangxin
reviewed
May 28, 2025
wangxin
approved these changes
May 28, 2025
bachalla
pushed a commit
to bachalla/sonic-mgmt
that referenced
this pull request
Jun 2, 2025
…ic-net#18544) Update deprecated (in 3.3) import as it breaks in 3.10. Fix is required as Debian Bookworm PTF runs in 3.11. What is the motivation for this PR? Preparation to move to Debian Bookworm for docker-ptf How did you do it? Modified import How did you verify/test it? Locally
mssonicbld
pushed a commit
to mssonicbld/sonic-mgmt
that referenced
this pull request
Jun 17, 2025
…ic-net#18544) Update deprecated (in 3.3) import as it breaks in 3.10. Fix is required as Debian Bookworm PTF runs in 3.11. What is the motivation for this PR? Preparation to move to Debian Bookworm for docker-ptf How did you do it? Modified import How did you verify/test it? Locally
Collaborator
|
Cherry-pick PR to 202505: #19046 |
11 tasks
11 tasks
yejianquan
pushed a commit
that referenced
this pull request
Jun 18, 2025
…9049) Description of PR Consolidated PR with all changes required for docker-ptf Bookworm based image. Based on these PRs for master - #18544 #18627 #18584 #18583 Summary: Fixes # (issue) Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Back port request 202205 202305 202311 202405 202411 202505 Approach What is the motivation for this PR? This change is backward compatible and is required to support running tests in docker-ptf Bookworm image. How did you do it? See description signed-off-by: [email protected]
11 tasks
Collaborator
|
Cherry-pick PR to msft-202412: Azure/sonic-mgmt.msft#421 |
Contributor
|
This is also needed on 202411 branch. We have upgrade path testcase on 202411 failing now with error: |
mssonicbld
pushed a commit
to mssonicbld/sonic-mgmt
that referenced
this pull request
Jun 22, 2025
…ic-net#18544) Update deprecated (in 3.3) import as it breaks in 3.10. Fix is required as Debian Bookworm PTF runs in 3.11. What is the motivation for this PR? Preparation to move to Debian Bookworm for docker-ptf How did you do it? Modified import How did you verify/test it? Locally
Collaborator
|
Cherry-pick PR to 202411: #19127 |
11 tasks
sdszhang
pushed a commit
to sdszhang/sonic-mgmt
that referenced
this pull request
Jun 30, 2025
Code sync sonic-net/sonic-mgmt:202411 => 202412 ``` * 760eb7c (HEAD -> code-sync-202412, origin/code-sync-202412) r12f 250624:1905 - Merge remote-tracking branch 'base/202411' into code-sync-202412 |\ | * 2e3c1ba (base/202411) zitingguo-ms 250623:2336 - [test_dynamic_acl] Include all upstream neighbors for t0-d18u8s4 (sonic-net#19052) | * 0c75f5a zitingguo-ms 250623:2335 - [test_bgp_session] Increase timeout to wait hold-timer (sonic-net#18891) | * 75d1ac7 Zhaohui Sun 250624:1432 - [202411]Ignore audit rate limit exceeded and avoid false alert for kernel syslog (sonic-net#19134) | * 88304be Sai Kiran 250528:1155 - [fib_test] Updated deprecated imports that break in Python 3.10+ (sonic-net#18544) ```
opcoder0
added a commit
to opcoder0/sonic-mgmt
that referenced
this pull request
Dec 8, 2025
…ic-net#18544) Update deprecated (in 3.3) import as it breaks in 3.10. Fix is required as Debian Bookworm PTF runs in 3.11. What is the motivation for this PR? Preparation to move to Debian Bookworm for docker-ptf How did you do it? Modified import How did you verify/test it? Locally Signed-off-by: opcoder0 <[email protected]>
AharonMalkin
pushed a commit
to AharonMalkin/sonic-mgmt
that referenced
this pull request
Dec 16, 2025
…ic-net#18544) Update deprecated (in 3.3) import as it breaks in 3.10. Fix is required as Debian Bookworm PTF runs in 3.11. What is the motivation for this PR? Preparation to move to Debian Bookworm for docker-ptf How did you do it? Modified import How did you verify/test it? Locally Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2
pushed a commit
to gshemesh2/sonic-mgmt
that referenced
this pull request
Dec 21, 2025
…ic-net#18544) Update deprecated (in 3.3) import as it breaks in 3.10. Fix is required as Debian Bookworm PTF runs in 3.11. What is the motivation for this PR? Preparation to move to Debian Bookworm for docker-ptf How did you do it? Modified import How did you verify/test it? Locally Signed-off-by: Guy Shemesh <[email protected]>
gshemesh2
pushed a commit
to gshemesh2/sonic-mgmt
that referenced
this pull request
Jan 26, 2026
…ic-net#18544) Update deprecated (in 3.3) import as it breaks in 3.10. Fix is required as Debian Bookworm PTF runs in 3.11. What is the motivation for this PR? Preparation to move to Debian Bookworm for docker-ptf How did you do it? Modified import How did you verify/test it? Locally Signed-off-by: Guy Shemesh <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Update deprecated (in 3.3) import as it breaks in 3.10. Fix is required as Debian Bookworm PTF runs in 3.11.
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Preparation to move to Debian Bookworm for docker-ptf
How did you do it?
Modified import
How did you verify/test it?
Locally
Any platform specific information?
NA
Supported testbed topology if it's a new test case?
NA
Documentation
NA