Skip to content

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

Merged
mssonicbld merged 1 commit intoAzure:202412from
mssonicbld:cherry/msft-202412/18544
Jun 19, 2025
Merged

[action] [PR:18544] [fib_test] Updated deprecated imports that break in Python 3.10+#421
mssonicbld merged 1 commit intoAzure:202412from
mssonicbld:cherry/msft-202412/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

### 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

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [x] 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
@mssonicbld
Copy link
Collaborator Author

Original PR: sonic-net/sonic-mgmt#18544

@mssonicbld
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit c8a5679 into Azure:202412 Jun 19, 2025
6 of 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.

1 participant