Skip to content

libsql-ffi v0.9.10 build fails on Windows with PermissionDenied error #105

@pat-ben

Description

@pat-ben

Environment:
OS: Windows 11 (win-amd64)
Python: 3.11 (CPython)
Package manager: uv
libsql-experimental version: 0.0.55
Ran as both regular user and Administrator — same result

Description:
Installing sqlalchemy-libsql fails because libsql-experimental==0.0.55 cannot build on Windows.
The Rust build of libsql-ffi v0.9.10 panics with a PermissionDenied error.

Error:
thread 'main' panicked at libsql-ffi-0.9.10/build.rs:444:6:
called Result::unwrap() on an Err value: Os { code: 5, kind: PermissionDenied, message: "Access is denied." }
The error occurs at build.rs:444 when accessing bundled/SQLite3MultipleCiphers. This happens even when running the terminal as Administrator.

Steps to reproduce:
uv add sqlalchemy-libsql

Note:
I see that PyPI only has wheels for Linux and macOS. Are there plans to support Windows?
Issue #63 reported a similar Windows build failure with an earlier version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions