markhoerth / dremio_client

Apache License 2.0
31 stars 26 forks source link

Conda version seems to be stale #223

Open adillow opened 3 years ago

adillow commented 3 years ago

Description

I'm trying from dremio_client import flight, I get the following error message:

/opt/conda/lib/python3.8/site-packages/pyarrow/compat.py:24: FutureWarning: pyarrow.compat has been deprecated and will be removed in a future release
  warnings.warn("pyarrow.compat has been deprecated and will be removed in a "

Then, when I try to connect, I get the following error message:

/opt/conda/lib/python3.8/site-packages/dremio_client/flight/__init__.py in connect(*args, **kwargs)
    101 
    102     def connect(*args, **kwargs):
--> 103         raise NotImplementedError("Python Flight bindings require Python 3 and pyarrow > 0.14.0")
    104 
    105     def query(*args, **kwargs):

NotImplementedError: Python Flight bindings require Python 3 and pyarrow > 0.14.0

What I Did

I built the docker image, pulling 0.10.1 from conda, today. I'm not super familiar with conda, so I may be doing something wrong, however this appears to be the latest version number: https://github.com/rymurr/dremio_client/blob/master/conda.recipe/meta.yaml#L2

It appears this is executing code that was changed quite some time ago (See compat error above): https://github.com/rymurr/dremio_client/commit/18efb0ec307e33587fadbb8265eab337ad9a1cd0

Finally, it looks like an artifact hasn't been published to conda in over a year: https://anaconda.org/rymurr/dremio_client. Is it possible the deployment process is broken?

rymurr commented 3 years ago

Hey @adillow the Conda version isn't really maintained anymore. You can check out @harelwa s effort to add dremio_client to conda forge: https://github.com/conda-forge/staged-recipes/pull/14594 I believe its already available as conda install python-dremio-client

harelwa commented 3 years ago

Hi @adillow + @rymurr ,

Indeed, version 0.14.0 is now available from conda-forge official channel

feedstock @ github: https://github.com/conda-forge/python-dremio-client-feedstock

package @ anaconda/conda-forge channel: https://anaconda.org/conda-forge/python-dremio-client

Enjoy