Skip to content

[Mellanox] Adjust Makefile for python-sdk-api for the purpose of supporting both python2 and python3#63

Closed
stephenxs wants to merge 1 commit intomasterfrom
sdk-python-2-n-3
Closed

[Mellanox] Adjust Makefile for python-sdk-api for the purpose of supporting both python2 and python3#63
stephenxs wants to merge 1 commit intomasterfrom
sdk-python-2-n-3

Conversation

@stephenxs
Copy link
Copy Markdown
Owner

Why I did it

  • SDK team won't migrate examples to python3 for now but the examples are widely used in SONiC.
    This means we can not phase out python2 until all the examples have been migrated to python3.
  • As a result, we need to compile SDK with both python2 and python3 support.

Signed-off-by: Stephen Sun stephens@nvidia.com

How I did it

How to verify it

Build the image and check whether python2 and python3 are both supported by SDK api.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

… python2 and python3

- SDK team won't migrate examples to python3 for now but the examples are widely used in SONiC.
  This means we can not phase out python2 until all the examples have been migrated to python3.
- As a result, we need to compile SDK with both python2 and python3 support.

Signed-off-by: Stephen Sun <stephens@nvidia.com>
@stephenxs stephenxs closed this Jun 11, 2021
stephenxs pushed a commit that referenced this pull request May 7, 2022
[master][sonic-linkmgrd] submodule updates

df51322 Longxiang Lyu   Fri May 6 10:01:46 2022 +0800   Add `ActiveActiveStateMachine` implementation (#64)
e721ceb Jing Zhang      Wed May 4 10:07:14 2022 -0700   Add doc for default route related changes  (#63)
7bb06fb Jing Zhang      Tue May 3 09:48:28 2022 -0700   Add Cli support to enable or disable default route related feature (#68)
e4b02cb Jing Zhang      Mon May 2 13:27:54 2022 -0700   Reset WaitActiveUp count before switching to active (#70)
212d960 Jing Zhang      Wed Apr 27 10:35:05 2022 -0700  lower log level to warning (#69)
48abc9e Jing Zhang      Thu Apr 14 16:50:04 2022 -0700  Add support to enable switchover time measurement (with link prober interval decreased to 10ms) feature  (#61)
c4858a6 Jing Zhang      Thu Apr 14 11:27:55 2022 -0700  Avoid proactively switching to `active` if default route is missing  (#62)

sign-off: Jing Zhang zhangjing@microsoft.com
stephenxs pushed a commit that referenced this pull request May 19, 2022
[sonic-linkmgrd][202012] submodule update
3d13ff2 Jing Zhang      Wed May 4 10:07:14 2022 -0700   Add doc for default route related changes  (#63)
c703be4 Jing Zhang      Mon May 2 13:27:54 2022 -0700   Reset WaitActiveUp count before switching to active (#70)
86eb727 Jing Zhang      Wed Apr 27 10:35:05 2022 -0700  lower log level to warning (#69)
e22c736 Jing Zhang      Mon May 2 13:33:24 2022 -0700   [202012] Avoid proactively switching to active if default route is missing (#67)
d4f282b Jing Zhang      Thu Apr 28 18:35:11 2022 -0700  [202012] Add support to enable switchover time measurement (with link prober interval decreased to 10ms) feature (#66)

sign-off: Jing Zhang [zhangjing@microsoft.com](mailto:zhangjing@microsoft.com)
stephenxs pushed a commit that referenced this pull request Nov 24, 2023
…ically (sonic-net#17207)

#### Why I did it
src/sonic-dbsyncd
```
* e294eb0 - (HEAD -> master, origin/master, origin/HEAD) Update the code coverage rate to 80% (#63) (16 hours ago) [xumia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stephenxs pushed a commit that referenced this pull request Apr 25, 2025
…ly (sonic-net#22416)

#### Why I did it
src/sonic-stp
```
* a80676a - (HEAD -> master, origin/master, origin/HEAD) MSTP utility APIs (#62) (2 days ago) [Divya Kumaran Chandralekha]
* 2c3eccc - MSTP extern API declaration (#63) (2 days ago) [Divya Kumaran Chandralekha]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stephenxs pushed a commit that referenced this pull request Jul 23, 2025
…ically (sonic-net#23173)

#### Why I did it
src/sonic-dash-ha
```
* 92d6243 - (HEAD -> master, origin/master, origin/HEAD) Initialize hamgrd from config_db and connect to swbusd (#63) (12 hours ago) [yue-fred-gao]
* d42013b - Dynamic actor creation and deletion (#64) (21 hours ago) [yue-fred-gao]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants