-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix: Import grpc only for type checking in errors.py #4533
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
b8bc6d7
fix: grpc import error
tokoko 7dd19bb
fix: loosen protobuf build requirement
tokoko ce3b89f
fix: pin grpcio-tools version
tokoko 4cef278
fix: revert build-system in pyproject
tokoko 551e108
fix: add manual install of setuptools and grpcio-tools
tokoko 0d5c139
fix: remove incorrect pixi call
tokoko e0ffa9a
fix: add in-function imports in errors.py
tokoko 8eec3e7
fix: formatting
tokoko cbe330c
Merge branch 'master' into test-import-no-extras
tokoko 7094342
fix: merge changes from master
tokoko bc5e86b
merge from master
tokoko a53001f
fix: add line endings
tokoko 51584b6
fix: add line endings
tokoko c4d54f7
Merge remote-tracking branch 'origin' into test-import-no-extras
tokoko a375685
chore: remove proto generation from make commands
tokoko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| name: smoke-tests | ||
|
|
||
| on: [pull_request] | ||
| jobs: | ||
| unit-test-python: | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| python-version: [ "3.9", "3.10", "3.11"] | ||
| os: [ ubuntu-latest ] | ||
| env: | ||
| OS: ${{ matrix.os }} | ||
| PYTHON: ${{ matrix.python-version }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Setup Python | ||
| id: setup-python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| architecture: x64 | ||
| - name: Install uv | ||
| run: | | ||
| curl -LsSf https://astral.sh/uv/install.sh | sh | ||
| - name: Get uv cache dir | ||
| id: uv-cache | ||
| run: | | ||
| echo "::set-output name=dir::$(uv cache dir)" | ||
| - name: uv cache | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ${{ steps.uv-cache.outputs.dir }} | ||
| key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }} | ||
| - name: Install dependencies | ||
| run: make install-python-dependencies-uv | ||
| - name: Test Imports | ||
| run: python -c "from feast import cli" | ||
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.