-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Monitor} Move antlr4-python3-runtime to src/azure-cli/setup.py #12917
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,6 +50,7 @@ | |
| ] | ||
|
|
||
| DEPENDENCIES = [ | ||
| 'antlr4-python3-runtime~=4.7.2', | ||
| 'azure-batch~=9.0', | ||
| 'azure-cli-command_modules-nspkg~=2.0', | ||
| 'azure-cli-core=={}.*'.format(VERSION), | ||
|
|
@@ -169,6 +170,9 @@ | |
| ], | ||
| packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), | ||
| install_requires=DEPENDENCIES, | ||
| extras_require={ | ||
| ":python_version<'3.0'": ['antlr4-python2-runtime'] | ||
|
||
| }, | ||
| package_data={ | ||
| 'azure.cli.core': ['auth_landing_pages/*.html'], | ||
| 'azure.cli.command_modules.acr': ['*.json'], | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. Is it the correct way to fix this issue? @fengzhou-msft Since python2 and python3 share the same namespace.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not support python 2 now, this is fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have any code that may have different handlings for py2 and py3 with this antlr4 dependency? You may also clean that code if yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no. They share same signature to us.