dongjoon-hyun opened a new pull request #32215:
URL: https://github.com/apache/spark/pull/32215


   ### What changes were proposed in this pull request?
   
   SPARK-10498 added the initial Jira client requirement with 1.0.3 five year 
ago (2016 January). As of today, it causes `dev/merge_spark_pr.py` failure with 
`Python 3.9.4` due to this old dependency. This PR aims to upgrade it to the 
latest version, 2.0.0. The latest version is also a little old (2018 July).
   - https://pypi.org/project/jira/#history
   
   ### Why are the changes needed?
   
   ```
   $ pyenv global 3.9.4
   $ pip freeze | grep jira
   jira==1.0.3
   $ dev/merge_spark_pr.py
   Traceback (most recent call last):
     File "/Users/dongjoon/APACHE/spark-merge/dev/merge_spark_pr.py", line 39, 
in <module>
       import jira.client
     File 
"/Users/dongjoon/.pyenv/versions/3.9.4/lib/python3.9/site-packages/jira/__init__.py",
 line 5, in <module>
       from .config import get_jira
     File 
"/Users/dongjoon/.pyenv/versions/3.9.4/lib/python3.9/site-packages/jira/config.py",
 line 17, in <module>
       from .client import JIRA
     File 
"/Users/dongjoon/.pyenv/versions/3.9.4/lib/python3.9/site-packages/jira/client.py",
 line 165
       validate=False, get_server_info=True, async=False, logging=True, 
max_retries=3):
                                             ^
   SyntaxError: invalid syntax
   ```
   
   ```
   $ pip install jira==2.0.0
   $ dev/merge_spark_pr.py
   git rev-parse --abbrev-ref HEAD
   Which pull request would you like to merge? (e.g. 34):
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This is a committer-only script.
   
   ### How was this patch tested?
   
   Manually.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to