turbodbc icon indicating copy to clipboard operation
turbodbc copied to clipboard

Can't resolve correct pyarrow verision with pip and pyproject.toml

Open rupurt opened this issue 2 years ago • 0 comments

Hi,

I'm trying to install turbodbc with pyarrow support in a pip venv but I get the following dependency resolution error:

Collecting turbodbc[pyarrow]~=4.10.1 (from evac==0.0.2)
  Using cached turbodbc-4.10.1.tar.gz (84 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
ERROR: Some build dependencies for turbodbc[pyarrow]~=4.10.1 from https://files.pythonhosted.org/packages/2d/7e/5dcd3b065c22ea030bbe26dc0afe57c5e0935974fd36f2928d8ddf81aa12/turbodbc-4.10.1.tar.gz (from evac==0.0.2) conflict with the backend dependencies: pyarrow==15.0.0 is incompatible with pyarrow>=7,<15.

In my pyproject.toml I've tried setting pyarrow <15 but turbodbc doesn't seem to respect it.

dependencies = [
  "pyarrow <15.0.0",
  "turbodbc[pyarrow] ~=4.10.1",
]

rupurt avatar Feb 06 '24 09:02 rupurt