Skip to content

feat: Commit generated python proto files - #4546

Merged
tokoko merged 4 commits into
feast-dev:masterfrom
tokoko:commit-proto-files
Sep 22, 2024
Merged

feat: Commit generated python proto files#4546
tokoko merged 4 commits into
feast-dev:masterfrom
tokoko:commit-proto-files

Conversation

@tokoko

@tokoko tokoko commented Sep 20, 2024

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

Fixes #4541

Signed-off-by: tokoko <togurgenidze@gmail.com>
Signed-off-by: tokoko <togurgenidze@gmail.com>

@franciscojavierarceo franciscojavierarceo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a big one

Comment thread .gitignore Outdated
Signed-off-by: tokoko <togurgenidze@gmail.com>
@EXPEbdodla

Copy link
Copy Markdown
Contributor

Support ends for 4.25.* by end of 2025 Q1. https://protobuf.dev/support/version-support/#python

Conda now has 5.* version packages. https://github.com/conda-forge/protobuf-feedstock/pulls?q=is%3Apr+is%3Aclosed

https://anaconda.org/conda-forge/protobuf/files

Can we try with Version 5 now and see what happens now? We may need lock Protobuf dependency to a version which conda supports. We can do that in a next PR. So we get benefits of Protobuf v5.

@tokoko

tokoko commented Sep 20, 2024

Copy link
Copy Markdown
Collaborator Author

@EXPEbdodla That's a perfect timing 😆 I'd still prefer to defer it to another PR, because we might have that runtime version warning problem to solve somehow with protobuf 5.

Comment thread .gitignore
# Protos
sdk/python/docs/html
sdk/python/feast/protos/
sdk/go/protos/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can probably removes all of the protos from the git ignore, yeah?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I think those are golang ones, I'll look into it later, don't want to push something extra inadvertently.

@franciscojavierarceo franciscojavierarceo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should ask @achals @adchia or @woop if there was a reason we didn't include these protobuf files to begin with before merging this.

@franciscojavierarceo franciscojavierarceo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Think we can update the git ignore to remove all references to protos but this lgtm

@tokoko
tokoko merged commit 00910bc into feast-dev:master Sep 22, 2024
@tokoko
tokoko deleted the commit-proto-files branch September 22, 2024 16:46
@tokoko

tokoko commented Sep 22, 2024

Copy link
Copy Markdown
Collaborator Author

Merged, let's see what this buys us 😆 we can always revert back...

@franciscojavierarceo

franciscojavierarceo commented Sep 22, 2024

Copy link
Copy Markdown
Member

Can you change the PR Title to feature instead of chore? Want to make sure it's included loudly in the release notes 👍

@tokoko tokoko changed the title chore: Commit generated python proto files feat: Commit generated python proto files Sep 22, 2024
tmihalac pushed a commit to tmihalac/feast that referenced this pull request Sep 23, 2024
* chore: commit generated python files to repo

Signed-off-by: tokoko <togurgenidze@gmail.com>

* merge from master

Signed-off-by: tokoko <togurgenidze@gmail.com>

* chore: remove protos from gitignore

Signed-off-by: tokoko <togurgenidze@gmail.com>

---------

Signed-off-by: tokoko <togurgenidze@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commit generated proto files to source control

3 participants