Closed
Description
We are experiencing issues with installing the newest version of spanner released today, both locally and on github action runners that start by installing dependencies. See the attached error output from pip:
Downloading sqlalchemy_spanner-1.12.0.tar.gz (81 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
╰─> [17 lines of output]
Traceback (most recent call last):
File "[redacted]/local/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "[redacted]/local/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "[redacted]/local/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/private/var/folders/0p/_plxg68x0618jblj65y7hhpw0000gn/T/pip-build-env-c6_4e7e4/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "/private/var/folders/0p/_plxg68x0618jblj65y7hhpw0000gn/T/pip-build-env-c6_4e7e4/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/private/var/folders/0p/_plxg68x0618jblj65y7hhpw0000gn/T/pip-build-env-c6_4e7e4/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/0p/_plxg68x0618jblj65y7hhpw0000gn/T/pip-build-env-c6_4e7e4/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "<string>", line 42, in <module>
FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/0p/_plxg68x0618jblj65y7hhpw0000gn/T/pip-install-q1p1u2ya/sqlalchemy-spanner_e711b9fe913e41658bd6f8db617b9f34/version.py'
Environment details
- Programming language: Python
- OS: MacOS Sequoia 15.5 and Unbuntu 24.04.2
- Language runtime version: 3.9, 3.10, 3.11, 3.12
- Package version: 1.12.0
Steps to reproduce
- Create a python environment - we use
python3 -m venv .venv
and then activate it - Create a requirements.txt (or your favorite installer) with just
sqlalchemy-spanner
- try
pip install -r requirements.txt
Thanks!