Move antlr4 dependency from python 2 to python 3
See original GitHub issueAll three microservices for Amundsen(data portal) could run on both python 2.x or python 3.x. The data ingestion library(amundsendatabuilder) could run only on python 2.x because of antlr4-python2-runtime
.
It is used in ColumnUsage parser. We should explore and see if we could move the dependency to python 3(e.g. https://github.com/antlr/antlr4/tree/master/runtime/Python3)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Move antlr4 dependency from python 2 to python 3 #40 - GitHub
Synced with Tao. The best way is to support both but Antlr does not support that. Unfortunately, we could probably only upgrading this...
Read more >Porting Python 2 Code to Python 3 — Python 3.11.1 ...
In your setup.py file you should have the proper trove classifier specifying what versions of Python you support. As your project does not...
Read more >How I moved a library from Python 2 to 3 | by Martin Thoma
Moving the library to Python 3 was pretty interesting and I'll share here how I did ... You need to pin direct and...
Read more >No module named antlr4 in python 2.7 - Stack Overflow
I just copied the antlr4 files from /usr/lib/python3.6/site-packages/ to /usr/lib/python2.7/site-packages/ and this solved the problem!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jinhyukchang agree, @jornh, currently we are a bit behind the schedule, will remove the atlar usage code once we are free up.
Then we could start updating the repo to be py2/py3 compatible. Then only supports py3 once Lyft fully upgrades the airflow infra assuming Lyft is the only one still on py2 at this point…
@feng-tao Sounds good to me. May be an announcement of removal is needed for the one that is using it? (Not aware of any though)