I have a Python project making use of duckdb. The app built successsfully with cli 48.2.9 on October 23rd, but now with cli 50.1.3 it generates a ModuleNotFoundError: No module named 'duckdb.duckdb'. What could have changed between these 2 cli versions?
I am deploying via Git integration. I am using requirements.txt which has duckdb pinned to 1.3.2. I am using import duckdb in my code, but in turn this calls from duckdb.duckdb import. I wouldn’t expect the same codebase to generate different outputs based on an updated vercel cli.
The build logs are not very verbose, they just say:
Vercel CLI 50.1.3
WARN! Due to builds existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: Error List
No Python version specified in pyproject.toml or Pipfile.lock. Using latest installed version: 3.12
Creating virtual environment at “/vercel/path0/.vercel/python/.venv”…
Using uv at “/usr/local/bin/uv”
Installing required dependencies from requirements.txt with uv…
Build Completed in /vercel/output [7s]
Similar to:
Running “vercel build”
Vercel CLI 48.2.9
WARN! Due to builds existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
No Python version specified in pyproject.toml or Pipfile.lock. Using latest installed version: 3.12
Installing required dependencies from requirements.txt…
Using uv at “/usr/local/bin/uv”
Build Completed in /vercel/output [2s]
The support chat didn’t help. Any hint/suggestion would be much appreciated. Thanks!