-
-
Notifications
You must be signed in to change notification settings - Fork 466
Closed
Labels
🐛 bugSomething isn't workingSomething isn't working
Description
Describe the bug
Using the GitHub action pdm-project/setup-pdm@v4 on Windows to install pdm can result in syncs that can fail with the error: sqlite3.OperationalError: database is locked
Here are the logs of a failed job, including additional debug if the installed pdm virtual environment: https://github.com/bombaci-vsc/sarkit/actions/runs/21015958166/job/60421036467
The symptoms seem to be the same as #3719. However the setup-pdm action doesn't provide an easy way change the installed version of hishel.
setup-pdm@v4 installs pdm[locked], which as of 2.26.4 depends on hishel==1.1.7.
To reproduce
- Use a GitHub Windows runner
- Use
pdm-project/setup-pdm@v4to install pdm 2.26.4 - Run
pdm lock; pdm sync;
Expected Behavior
pdm sync completes without error
Environment Information
PDM version:
2.26.4
Python Interpreter:
/home/runner/work/sarkit/sarkit/.venv/bin/python (3.14)
Project Root:
/home/runner/work/sarkit/sarkit
Local Packages:
/home/runner/work/sarkit/sarkit/.venv/lib/python3.14/site-packages
{
"implementation_name": "cpython",
"implementation_version": "3.14.2",
"os_name": "posix",
"platform_machine": "x86_64",
"platform_release": "6.11.0-1018-azure",
"platform_system": "Linux",
"platform_version": "#18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025",
"python_full_version": "3.14.2",
"platform_python_implementation": "CPython",
"python_version": "3.14",
"sys_platform": "linux"
}
Verbose Command Output
No response
Additional Context
No response
Are you willing to submit a PR to fix this bug?
- Yes, I would like to submit a PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working