FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: Explicit protobuf build version; consistent build/setup deps by cburroughs · Pull Request #4472 · feast-dev/feast · GitHub

build: Explicit protobuf build version; consistent build/setup deps - #4472

Merged
tokoko merged 1 commit into
feast-dev:masterfrom
cburroughs:csb/explicit-proto-ver
Sep 3, 2024
Merged

build: Explicit protobuf build version; consistent build/setup deps#4472
tokoko merged 1 commit into
feast-dev:masterfrom
cburroughs:csb/explicit-proto-ver

Conversation

Copy link
Copy Markdown
Contributor

Right now if one downloads feast-0.40.1-py2.py3-none-any.whl from PyPi it contains:

$ grep 'Protobuf Python Version' feast/protos/feast/registry/RegistryServer_pb2.py

Which is outside

$ grep 'protobuf<' feast-0.40.1.dist-info/METADATA
Requires-Dist: protobuf<5.0.0,>=4.24.0

Leading to runtime errors (#4437). This was mitigated by #4438. This change tightens this up further by:

  • Deleting the Makefile command that was trying to do this unsuccessfully.
  • Aligns the setup/build requirements
  • Sets the version of protobuf to match the minimum of the range. There is no guarantee that protos generated by 4.X will work with 4.(X-1).

Right now if one downloads `feast-0.40.1-py2.py3-none-any.whl` from
PyPi it contains:
```
$ grep 'Protobuf Python Version' feast/protos/feast/registry/RegistryServer_pb2.py
```
Which is outside
```
$ grep 'protobuf<' feast-0.40.1.dist-info/METADATA
Requires-Dist: protobuf<5.0.0,>=4.24.0
```
Leading to runtime errors (feast-dev#4437).  This was mitigated by feast-dev#4438.  This
change tightens this up further by:
 * Deleting the Makefile command that was trying to do this
 unsuccessfully.
 * Aligns the setup/build requirements
 * Sets the version of protobuf to match the *minimum* of the range.
 There is no guarantee that protos generated by `4.X` will work with `4.(X-1)`.

Signed-off-by: Chris Burroughs <chris.burroughs@gmail.com>
cburroughs changed the title build: explicit protobuf build version; consistent build/setup deps build: Explicit protobuf build version; consistent build/setup deps Aug 30, 2024
Comment thread environment-setup.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL