Skip to content

Running feast version command throw error #4532

Closed

Description

@EXPEbdodla

Expected Behavior

Should return the version without GRPCIO dependencies installed.

Current Behavior

Requires GRPCIO dependencies to be installed otherwise throws error

python3.11/site-packages/feast/errors.py", line 8, in <module> from grpc import StatusCode as GrpcStatusCode ModuleNotFoundError: No module named 'grpc'

Steps to reproduce

Install latest feast and run feast version command

Specifications

  • Version: Master branch
  • Platform: Mac
  • Subsystem:

Possible Solution

  1. Lazy imports with Try and Except
  2. Either make GRPCIO dependencies as required (or)

Activity

  1. tokoko commented on Sep 18, 2024

    @tokoko
    Collaborator

    thanks, I fixed it in #4478, but was unable to merge for unrelated reasons and forgot about it. I'll do a separate PR just for this.

  2. self-assigned this
    on Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions