Skip to content

pipenv lock fails with RenovateBot: ResolutionError #6397

Answered by oatnog
oatnog asked this question in Q&A
Discussion options

You must be logged in to vote

I solved this by making sure the renovate cron jobs run on an image with the C library dependency installed. Instead of using the renovate image directly, I build and image with this simple wrapper:

FROM docker.io/renovate/renovate:latest
USER root
RUN apt-get update && apt-get install -y \
    libgdal-dev \
    gdal-bin \
    && rm -rf /var/lib/apt/lists/*
USER ubuntu

And configure renovate to run on that instead. Pipenv then works as expected.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by oatnog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant