amallya-wisecode opened a new issue, #2350: URL: https://github.com/apache/arrow-adbc/issues/2350
### What happened? I am able to install `adbc-driver-postgresql==1.2.0` without issue in a fresh virtual environment, but not `adbc-driver-postgresql==1.3.0`. Can provide additional information if needed. ### Stack Trace ``` Defaulting to user installation because normal site-packages is not writeable Collecting adbc-driver-postgresql==1.3.0 Using cached adbc_driver_postgresql-1.3.0.tar.gz (18 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [15 lines of output] Traceback (most recent call last): File "/opt/conda/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> main() File "/opt/conda/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/opt/conda/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "/tmp/pip-build-env-eca_y68y/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "/tmp/pip-build-env-eca_y68y/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-eca_y68y/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in run_setup exec(code, locals()) File "<string>", line 44, in <module> ValueError: Must provide ADBC_POSTGRESQL_LIBRARY [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. ``` ### How can we reproduce the bug? Create any virtual environment using any Python framework. I use `uv`, but I am able to reproduce the results when I use `pip` inside it as well. ``` uv venv --python 3.11 uv pip install adbc_driver_postgresql ``` fails for me (replace `uv pip install` with `pip install` and you get the same results). But I am able to run: ``` uv pip install adbc_driver_postgresql==1.2.0 ``` ### Environment/Setup OS: ``` # cat /etc/os-release NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/" SUPPORT_END="2025-06-30 ``` Used `pip`/`uv`. Tried installing `postgresql-server` (version `9.2.24-8.amzn2.0.3`) to see if that helped, but it did not. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org