Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-47055][PYTHON] Upgrade MyPy 1.8.0 #45115

Closed
wants to merge 3 commits into from

Conversation

HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR proposes upgrade MyPy to 1.8.0.

Why are the changes needed?

To unblock the full support of Python 3.12 with CI. This unblocks #45113

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manually ran dev/line-python

Was this patch authored or co-authored using generative AI tooling?

No.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending CIs.

@HyukjinKwon
Copy link
Member Author

Ah .. I need to fix MyPy data tests too.. I will turn this to a draft for now.

@HyukjinKwon HyukjinKwon marked this pull request as draft February 15, 2024 09:11
@HyukjinKwon HyukjinKwon marked this pull request as ready for review February 15, 2024 09:23
if [[ "$MYPY_DATA_TEST" == "true" ]]; then
mypy_data_test
fi
# TODO(SPARK-47057): Reeanble MyPy data test
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will enable this in a separate PR once this PR is merged.

@dongjoon-hyun
Copy link
Member

Python linter seems to complain still.

@HyukjinKwon
Copy link
Member Author

Merged to master.

dongjoon-hyun pushed a commit that referenced this pull request Feb 16, 2024
…n 3.12 support

### What changes were proposed in this pull request?

This PR unpins the version for torch in our CI.

This PR is dependent on #45115

### Why are the changes needed?

Testing latest version. This also blocks SPARK-46078.

### Does this PR introduce _any_ user-facing change?

No, dev-only.

### How was this patch tested?

Manually tested via `./dev/lint-python`.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #45113 from HyukjinKwon/SPARK-47054.

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
HyukjinKwon added a commit that referenced this pull request Feb 17, 2024
### What changes were proposed in this pull request?

This is a followup of #45115 that enables MyPy data test.

### Why are the changes needed?

To reenable MyPy data test.

### Does this PR introduce _any_ user-facing change?

No, test-only.

### How was this patch tested?

Manually ran the test via `./dev/lint-python`.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #45135 from HyukjinKwon/SPARK-47057.

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants