Skip to content

update pyang version for Python 3 #2894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2025
Merged

Conversation

fujita
Copy link
Member

@fujita fujita commented Mar 12, 2025

Update pyang version from 1.7.5 to 2.6.1. 1.7.5 doesn't support Python 3 while major distributions have adopted Python 3 as the default and some no longer support Python 2.

The reason for changing the order of arguments
openconfig-routing-policy.yang and openconfig-bgp.yang is that both have different definitions of Neighbor struct, and version 2.6.1 prioritizes the definition from the file that is passed later.

Update pyang version from 1.7.5 to 2.6.1. 1.7.5 doesn't support Python
3 while major distributions have adopted Python 3 as the default and
some no longer support Python 2.

The reason for changing the order of arguments
openconfig-routing-policy.yang and openconfig-bgp.yang is that both
have different definitions of `Neighbor struct`, and version 2.6.1
prioritizes the definition from the file that is passed later.

Signed-off-by: FUJITA Tomonori <[email protected]>
@fujita fujita merged commit c546863 into osrg:master Mar 12, 2025
77 of 78 checks passed
@fujita fujita deleted the use-python3-for-pyang branch March 12, 2025 23:03
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.

1 participant