From 94fe4ad8e374e5f260c184f2b3e4b3ad886173f7 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 26 Mar 2020 09:20:44 -0500 Subject: [PATCH] Add libc6-dev to bindep and pin Pygments for 2.7 The python-builder base image was updated to no longer install recommends. This is inline with the other Infra images and keeps image sizes smaller. gcc recommended libc6-dev - but it turns out we need that for stdio.h for one of our depends. Add it to fix our image builds. Pygments released a python3-only release. Pin back to before that for python2. Change-Id: I18a808748979b7167361d2e5ebce04bc8eaf1347 --- bindep.txt | 1 + requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bindep.txt b/bindep.txt index 5d1c22e..a2b2a25 100644 --- a/bindep.txt +++ b/bindep.txt @@ -1 +1,2 @@ gcc [compile] +libc6-dev [compile] diff --git a/requirements.txt b/requirements.txt index 74e7964..3f63568 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,8 @@ six Jinja2 Werkzeug<0.16 -Pygments +Pygments<2.6;python_version<'3' +Pygments;python_version>='3' SQLAlchemy PyMySQL simplejson