Skip to content

checking for stdlib extension module _sqlite3... missing #58

Closed
@solvingj

Description

@solvingj

Ubuntu 18.0.4
uname -m: aarch64
Running in docker on M1 mac

portable-python v1.9.6
building 3.12.3

portable-python.yaml

linux:
  allowed-system-libs: /lib/.*
  cpython-modules: libffi zlib xz bzip2 openssl uuid sqlite3

I just hit this error.

Apparently, since early 3.11.0, it's been impossible to statically link sqlite3 into cpython. The good news it just got fixed and backported. The bad news is the "no patching" guideline of this project makes it hard to fix this for any pre-existing version. Any suggestions for this case?

He's the upstream bug report and fix information:

python/cpython#128321

python/cpython#128322

python/cpython#128355 (backport PR to 3.12 branch)

It references the original introduction of the issue in 3.11.0:

python/cpython#30016

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