Skip to content

[action] [PR:18544] [fib_test] Updated deprecated imports that break in Python 3.10+#19127

Merged
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/18544
Jun 22, 2025
Merged

[action] [PR:18544] [fib_test] Updated deprecated imports that break in Python 3.10+#19127
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/18544

Conversation

@mssonicbld
Copy link
Collaborator

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

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
  • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

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

…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
Copy link
Collaborator Author

Original PR: #18544

@mssonicbld
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 88304be into sonic-net:202411 Jun 22, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants