Skip to content

[3.14] gh-135386: Fix "unable to open database file" errors on readonly DB (GH-135566)#138056

Merged
serhiy-storchaka merged 2 commits intopython:3.14from
miss-islington:backport-c0ae92b-3.14
Oct 8, 2025
Merged

[3.14] gh-135386: Fix "unable to open database file" errors on readonly DB (GH-135566)#138056
serhiy-storchaka merged 2 commits intopython:3.14from
miss-islington:backport-c0ae92b-3.14

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 22, 2025

Add immutable=1 flag for read-only SQLite access to avoid WAL/SHM errors on readonly DB.
(cherry picked from commit c0ae92b)

Co-authored-by: General_K1ng [email protected]
Co-authored-by: Serhiy Storchaka [email protected]

…y DB (pythonGH-135566)

Add immutable=1 flag for read-only SQLite access to avoid WAL/SHM errors on readonly DB.
(cherry picked from commit c0ae92b)

Co-authored-by: General_K1ng <[email protected]>
Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka
Copy link
Member

Included a fix from #138058.

@serhiy-storchaka serhiy-storchaka merged commit 8ab7081 into python:3.14 Oct 8, 2025
46 checks passed
@miss-islington miss-islington deleted the backport-c0ae92b-3.14 branch January 2, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants