[ https://issues.apache.org/jira/browse/RANGER-5133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17925706#comment-17925706 ]
Madhan Neethiraj commented on RANGER-5133: ------------------------------------------ [~kudivuhadi] - the document you referred to is about 10 years old :). That said, formal requirements on JDK/Python versions haven't been documented. Will look into including such details along with each release. {quote}We deploy inside Docker containers and it depends on the base distro image. {quote} Ubuntu 20.04 is used in Ranger CI, where the latest Python 3 available is 3.8.10. > Clarify requirements regarding Python version > --------------------------------------------- > > Key: RANGER-5133 > URL: https://issues.apache.org/jira/browse/RANGER-5133 > Project: Ranger > Issue Type: Task > Components: admin, tagsync, usersync > Affects Versions: 2.5.0 > Reporter: Krzysztof Sobolewski > Priority: Major > > There are plenty of Python scripts in Ranger, but it's unclear to me what > version of Python they should be running on. Our deployment environment > contains a fairly recent version of Python 3 (because Python 2 is long EOL), > and, for example, the database scripts do not work. For example, we had to > make the following change: > {code:java} > fcp = ConfigParser() > fcp.optionxform = str > - fcp.readfp(config) > + fcp.read_file(config) > {code} > That's because `readfp` is no longer available in newer Python versions. Or, > the escape syntax in strings has changed and newer Python spews a lot of > warnings about it (the old syntax is about to be removed in the future). > So my request here is to clarify that and/or fixup the scripts so they work > on current version of Python. Thanks! -- This message was sent by Atlassian Jira (v8.20.10#820010)