-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Cannot re-lock Pipfile.lock when mysql_config is required #10850
Comments
I forget where it was discussed, but I think previously someone proved that the official python Docker images include some database drivers like this. If so then we should too, but this is not the right repo for it |
I have not found any evidence that the MySQL headers are included in any official python image. The official images include I do see the referenced issue (containerbase/base#16): it seems that this would probably solve my problem (and the problem of any missing headers for package builds, more broadly). I have no illusion that this feature will be added soon-- are there any options I'm not considering? I can't see any documentation on using a custom docker image (and I'd guess this isn't supported with the hosted runner, anyways). If there is nothing else I can do- and we can conclude that this isn't an issue or feature request that can be filled, I suppose this can be closed. |
I'm going to slightly correct my previous statement. The mysql development headers aren't available in the
|
I'm pretty sure installing @wastrachan Can you please elaborate which packages are required for ubuntu focal to successfully run pip lock? |
Duplicate of containerbase/base#98 |
How are you running Renovate?
If using the hosted app, please skip to the next section.
Otherwise, if self-hosted, please complete the following:
Please select which platform you are using:
Renovate version: 25.56.0
Describe the bug
Renovate fails re-locking Pipfile.lock after performing a dependency update in the Pipfile.
This Pipfile contains mysqlclient which requires MySQL development headers (mysql_config or mariadb_config) to build.
Presumably these headers (mysql_config, mariadb_config) are missing from the docker.io/renovate/python Docker image. This could be overcome by making the necessary headers available in the base image or by providing a mechanism to a) override the base image or b) install additional dependencies prior to the re-locking task
Relevant debug logs
Have you created a minimal reproduction repository?
Please read the minimal reproductions documentation to learn how to make a good minimal reproduction repository.
Additional context
Reproduction: https://github.com/wastrachan/renovate-reproduction
Reproduction PR: https://github.com/wastrachan/renovate-reproduction/pull/2
The text was updated successfully, but these errors were encountered: