Re: [PR] [SPARK-48068][PYTHON] Fix `mypy` failure in Python 3.10 and 3.11 [spark]

2024-05-01 Thread via GitHub
dongjoon-hyun commented on PR #46314: URL: https://github.com/apache/spark/pull/46314#issuecomment-2088083907 Since Infra Image is using `3.9.19` already, let me upgrade Python version to Python 3.10 at linter job first. ``` $ docker run -it --rm

Re: [PR] [SPARK-48068][PYTHON] Fix `mypy` failure in Python 3.10 and 3.11 [spark]

2024-05-01 Thread via GitHub
dongjoon-hyun commented on PR #46314: URL: https://github.com/apache/spark/pull/46314#issuecomment-2088075633 Thank you, @HyukjinKwon . Ya, let me upgrade it, @HyukjinKwon . -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: [PR] [SPARK-48068][PYTHON] Fix `mypy` failure in Python 3.10 and 3.11 [spark]

2024-05-01 Thread via GitHub
HyukjinKwon commented on PR #46314: URL: https://github.com/apache/spark/pull/46314#issuecomment-2088074043 Maybe we should just upgrade our Python version in CI. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

Re: [PR] [SPARK-48068][PYTHON] Fix `mypy` failure in Python 3.10 and 3.11 [spark]

2024-05-01 Thread via GitHub
HyukjinKwon commented on PR #46314: URL: https://github.com/apache/spark/pull/46314#issuecomment-2088073883 I have the same problem in my local but I think it's because of the Python version we're using -- This is an automated message from the Apache Git Service. To respond to the

Re: [PR] [SPARK-48068][PYTHON] Fix `mypy` failure in Python 3.10 and 3.11 [spark]

2024-05-01 Thread via GitHub
dongjoon-hyun commented on PR #46314: URL: https://github.com/apache/spark/pull/46314#issuecomment-2088052836 Although I verified it locally with Python 3.9, CI seems to behave differently. Let me check more. ``` $ python3 --version Python 3.9.18 $ dev/lint-python

Re: [PR] [SPARK-48068][PYTHON] Fix `mypy` failure in Python 3.10 and 3.11 [spark]

2024-05-01 Thread via GitHub
dongjoon-hyun commented on PR #46314: URL: https://github.com/apache/spark/pull/46314#issuecomment-2088047219 Could you review this PR, @LuciferYang ? -- 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