Skip to content
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

{packaging} Update antlr4 to 4.9.3 #22469

Merged
merged 1 commit into from
May 17, 2022
Merged

{packaging} Update antlr4 to 4.9.3 #22469

merged 1 commit into from
May 17, 2022

Conversation

major
Copy link
Contributor

@major major commented May 16, 2022

Related command
az monitor

Description
The current dependency of antlr4-python3-runtime is from 2018, but many distributions, including Fedora, are packaging the 4.9.x branch.

Testing Guide
The same tests should be run using the same methods.


This checklist is used to make sure that common guidelines for a pull request are followed.

@ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label May 16, 2022
@ghost
Copy link

ghost commented May 16, 2022

Thank you for your contribution major! We will review the pull request and get back to you soon.

@ghost ghost requested review from jiasli, wangzelin007, yonzhan and kairu-ms May 16, 2022 14:24
@ghost ghost added the Auto-Assign Auto assign by bot label May 16, 2022
@ghost ghost assigned jiasli May 16, 2022
@ghost ghost added this to the May 2022 (2022-05-24) - For Build milestone May 16, 2022
@ghost ghost added the Packaging label May 16, 2022
@major
Copy link
Contributor Author

major commented May 16, 2022

I'm curious to see if tests pass with this change. My quick tests seemed to work okay, but the CI here is much more thorough. 😉

Update the antlr4-python3-runtime requirement to 4.9.3. That's the most
modern version available without moving to the 4.10.x releases (which
have larger changes).

The 4.7.2 version was released in 2018 and makes it difficult to
package/test azure-cli in Fedora releases.

Signed-off-by: Major Hayden <major@mhtx.net>
@jiasli
Copy link
Member

jiasli commented May 16, 2022

antlr4 is mainly used by monitor:

@kairu-ms

@yonzhan yonzhan assigned kairu-ms and unassigned jiasli May 16, 2022
@yonzhan yonzhan removed the Packaging label May 16, 2022
@major
Copy link
Contributor Author

major commented May 16, 2022

For what it's worth, the antlr4 version in the latest Debian/Ubuntu release is 4.9.1. Fedora is on 4.9.3. Arch Linux is on 4.10.1.

The Fedora Linux maintainer said that going from 4.9 to 4.10 involves some breaking changes, but it depends on what functions of antlr4 that are used by the Python code in question. 🤷🏻‍♂️

Copy link
Contributor

@kairu-ms kairu-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kairu-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@kairu-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@kairu-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@kairu-ms kairu-ms merged commit d069db8 into Azure:dev May 17, 2022
@major major deleted the antlr4-update branch May 17, 2022 11:43
@major major restored the antlr4-update branch June 27, 2022 21:13
@major major deleted the antlr4-update branch June 27, 2022 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants