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

Remove pinning of grpcio dependencies #485

Merged
merged 3 commits into from
Nov 3, 2023
Merged

Conversation

krithika369
Copy link
Collaborator

@krithika369 krithika369 commented Nov 3, 2023

What this PR does / why we need it:

With #465, we no longer need to pin the grpcio related libraries, which will in turn constrain the protobuf dependencies.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

Remove pinning of grpcio dependencies

Checklist

  • Added unit test, integration, and/or e2e tests
  • Tested locally
  • Updated documentation
  • Update Swagger spec if the PR introduce API changes
  • Regenerated Golang and Python client if the PR introduce API changes

@@ -122,7 +122,7 @@ def main(spec_path, spark):
.builder \
.appName(args.job_name) \
.getOrCreate()
spark.conf.set("spark.sql.execution.arrow.enabled", "true")
spark.conf.set("spark.sql.execution.arrow.pyspark.enabled", "true")
Copy link
Collaborator Author

@krithika369 krithika369 Nov 3, 2023

Choose a reason for hiding this comment

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

This is a small fix since spark.sql.execution.arrow.enabled option is now deprecated in favor of this.

@ghost
Copy link

ghost commented Nov 3, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

Copy link
Contributor

@ariefrahmansyah ariefrahmansyah left a comment

Choose a reason for hiding this comment

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

lgtm! thanks, @krithika369

@krithika369
Copy link
Collaborator Author

Thanks for the quick review, @ariefrahmansyah ! Merging.

@krithika369 krithika369 merged commit fefc84e into main Nov 3, 2023
72 checks passed
@krithika369 krithika369 deleted the remove_grpcio_requirement branch November 3, 2023 05:19
krithika369 added a commit that referenced this pull request Nov 3, 2023
<!--  Thanks for sending a pull request!  Here are some tips for you:

1. Run unit tests and ensure that they are passing
2. If your change introduces any API changes, make sure to update the
e2e tests
3. Make sure documentation is updated for your PR!

-->

**What this PR does / why we need it**:
<!-- Explain here the context and why you're making the change. What is
the problem you're trying to solve. --->

Follow up from #485

`grpcio-reflection` is needed as a dependency for the Pyfunc UPI server.
Adding it back, without pinning the version.

**Which issue(s) this PR fixes**:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

Fixes #

**Does this PR introduce a user-facing change?**:
<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required. Enter your extended release note in
the block below.
If the PR requires additional action from users switching to the new
release, include the string "action required".

For more information about release notes, see kubernetes' guide here:
http://git.k8s.io/community/contributors/guide/release-notes.md
-->

```release-note
Fix: Add back grpcio-reflection as a dependency
```

**Checklist**

- [ ] Added unit test, integration, and/or e2e tests
- [ ] Tested locally
- [ ] Updated documentation
- [ ] Update Swagger spec if the PR introduce API changes
- [ ] Regenerated Golang and Python client if the PR introduce API
changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants