Closed fergalmonaghan closed 1 year ago
Thank you! Could you please send a pull request to fix this?
Hi @sunng87! I did clone the repo, created a branch, and fixed the issue locally, but then could not find a way to push my branch back up? At that point I presumed that only certain people would be allowed to make changes. Sorry if I am missing something, would you mind pointing me in the right direction to creating a pull request?
I will try this approach where I have to fork the repo first: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request
Ok I have created the Pull Request now: https://github.com/jiptool/jip/pull/68 Thanks for the prompt! :)
How do we get a new version of jip released with this fix in it? pip install jip
still pulls down 0.9.15 with the issue in it
0.9.16 is on pypi.
It has been years since I released this package to pypi. Just let me know if there is issue with the new package.
The long-deprecated getchildren function has been removed since python 3.9: https://docs.python.org/3.8/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.getchildren
When I upgrade from python 3.7 to python 3.10 and change nothing else, and then run this command:
jip install org.apache.spark:spark-avro_2.12:3.3.1
I now hit this new issue:
Running this find+replace command first to upgrade line 249 of
jip/maven.py
before rerunningjip install
resolves the issue:sed -i '' -e 's/properties_ele.getchildren()/list(properties_ele)/g' venv/lib/python*/site-packages/jip/maven.py