blue-yonder / turbodbc

Turbodbc is a Python module to access relational databases via the Open Database Connectivity (ODBC) interface. The module complies with the Python Database API Specification 2.0.
http://turbodbc.readthedocs.io/en/latest
MIT License
616 stars 86 forks source link

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

Closed rupurt closed 5 months ago

rupurt commented 8 months ago

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",
]