googleapis/python-bigquery-dataframes

python 3.8: no module named bigframes.pandas

mvashishtha opened this issue · 1 comments

I tried to use bigframes on python3.8, got version 0.0.0, and found that the bigframes module was unusable because it had no submodules except bigframes.version. After some digging, I looked at pypi.org and saw that there are newer releases of bigframes, but only for python 3.9+.

I'd suggest yanking the pypi wheel for python 3.8, or at least adding a patch release saying very loudly that the 0.0 version is unusable. Either way, I suggest that you say here that you need Python 3.9+ to use bigframes.

Environment details

  • OS type and version:
  • Python version: some 3.8 version
  • pip version: Don't know
  • bigframes version: 0.0.0

Steps to reproduce

  1. conda create --name=bigframes python=3.8
  2. conda activate bigframes
  3. pip install bigframes ipython
  4. ipython
  5. import bigframes.pandas as bpd

Stack trace

In [5]: import bigframes.pandas as bpd
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[5], line 1
----> 1 import bigframes.pandas as bpd

ModuleNotFoundError: No module named 'bigframes.pandas'
tswast commented

Thanks for the report. 0.0.0 is just a dummy package to reserve the package name. I've just yanked it.

We do have python_requires ">=3.9" in our setup.py file, so after I yank it, no version of bigframes will be installable on Python 3.8.

For context, we require Python 3.9+, as we depend on the latest versions of some packages in the pydata ecosystem (especially Ibis), which follows NEP 29 which dropped support for Python 3.8 on April 14, 2023.

If you require 3.8 support, I recommend reaching out to bigframes-feedback@google.com or https://bit.ly/bigframes-feedback with details about your requirements.