GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ImportError: cannot import name 'runtime_version' from 'google.protobuf' in version 0.49.0 · Issue #5383 · feast-dev/feast

ImportError: cannot import name 'runtime_version' from 'google.protobuf' in version 0.49.0 #5383

New issue
Copy link
New issue
Copy link
Closed
Closed
ImportError: cannot import name 'runtime_version' from 'google.protobuf' in version 0.49.0#5383
Copy link
Labels
kind/bugpriority/p2

Description

@Deshmukh1992
Deshmukh1992
opened on May 22, 2025
Issue body actions

I am trying to install below version of feast in docker container

feast==0.49.0
feast[gcp]==0.49.0
feast[redis]==0.49.0

While running Feast I am getting error cannot import name 'runtime_version' from 'google.protobuf'

Expected Behavior

Should work with no error

Current Behavior

File "/usr/local/lib/python3.11/site-packages/feast/__init__.py", line 4, in <module>
	from feast.infra.offline_stores.bigquery_source import BigQuerySource
File "/usr/local/lib/python3.11/site-packages/feast/infra/offline_stores/bigquery_source.py", line 5, in ‹module> 
	from feast import type_map
File "/usr/local/lib/python3.11/site-packages/feast/type_map-py", line 39, in ‹module> 
	from feast.protos.feast.types.Value pb2 import (
File "/usr/local/lib/python3.11/site-packages/feast/protos/feast/types/Value_pb2.py", line 9, in ‹module>
	from google protobuf import runtime_version as _runtime_version
ImportError: cannot import name 'runtime_version' from 'google.protobuf' (/usr/local/lib/python3.11/site-packages/google/protobuf/__init__.py)

Steps to reproduce

Specifications

  • Version: 0.49.0
  • Platform: Linux
  • Subsystem: Build system

Possible Solution

Activity

  1. Deshmukh1992
    added
    kind/bug
    priority/p2
    on May 22, 2025
  2. ntkathole commented on May 23, 2025

    @ntkathole
    ntkathole
    on May 23, 2025
    Member
    More actions

    @Deshmukh1992 Can you please check if master branch fixes this issues for you ? It is fixed via #5309 which will be available in upcoming release.

  3. franciscojavierarceo commented on May 23, 2025

    @franciscojavierarceo
    franciscojavierarceo
    on May 23, 2025
    Member
    More actions

    What protobuf version do you have installed?

  4. Deshmukh1992 commented on May 23, 2025

    @Deshmukh1992
    Deshmukh1992
    on May 23, 2025
    Author
    More actions

    protobuf 4.25.7

  5. franciscojavierarceo commented on May 24, 2025

    @franciscojavierarceo
    franciscojavierarceo
    on May 24, 2025
    Member
    More actions

    Can you try to upgrade your protobuf version?

  6. Deshmukh1992 commented on May 27, 2025

    @Deshmukh1992
    Deshmukh1992
    on May 27, 2025
    Author
    More actions

    @ntkathole I need to use a stable version, as the code being used in production, for now I have downgraded to feast 0.48.1 this worked for me for now.
    @franciscojavierarceo I tried upgrading protobuf version but it is giving me dependency conflict.

    Thanks

    Reacted by Jacek Cała and Francisco Javier Arceo
  7. ntkathole commented on Jul 21, 2026

    @ntkathole
    ntkathole
    on Jul 21, 2026
    Member
    More actions

    This should be fixed in later releases, please reopen if not

  8. ntkathole
    closed this as completedon Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugpriority/p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.