Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sunset the sqlite3 binary/headers feature #1703

Open
edmorley opened this issue Nov 25, 2024 · 0 comments
Open

Sunset the sqlite3 binary/headers feature #1703

edmorley opened this issue Nov 25, 2024 · 0 comments
Assignees

Comments

@edmorley
Copy link
Member

edmorley commented Nov 25, 2024

This buildpack has historically included the sqlite3 development headers and CLI binary in the build, (a) to support the previous way the Python runtime was built, (b) to allow the use of third party packages like pysqlite.

However:

  1. Our Python runtimes now link against the sqlite library in the base image instead
  2. The pysqlite package doesn't support Python 3, and the related pysqlite3 package (a) offers minimal benefits over the Python stdlib's module (so most people could/should/are using the stdlib version instead), (b) has a binary package available that doesn't need the headers (pysqlite3-binary), (c) has very low usage according to metrics.
  3. Results in slower build times due to the APT download/install step - which from our metrics can vary quite a bit in duration depending on how the Ubuntu APT mirrors are doing.
  4. The feature has already been dropped for the CNB.
  5. The feature is already switched off when using Python 3.13+ or Poetry with the classic buildpack.

As such, we want to fully sunset it for the classic buildpack too.

GUS-W-17308963.

@edmorley edmorley self-assigned this Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant