From 72d78aeebf6770496560881f79080d6bfd4fcc16 Mon Sep 17 00:00:00 2001 From: secwall Date: Sat, 2 Nov 2019 00:43:40 +0300 Subject: [PATCH] Bump postgres and yapf versions --- Dockerfile | 2 +- pgmigrate.py | 1 - tox.ini | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index dd5b74a..9b5f963 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y software-properties-common locales && \ ENV LANG en_US.utf8 ENV DEBIAN_FRONTEND noninteractive -ENV PG_MAJOR 11 +ENV PG_MAJOR 12 RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list diff --git a/pgmigrate.py b/pgmigrate.py index a46745d..47174cf 100755 --- a/pgmigrate.py +++ b/pgmigrate.py @@ -86,7 +86,6 @@ class ConflictTerminator(threading.Thread): """ Kills conflicting pids (only on postgresql > 9.6) """ - def __init__(self, conn_str, interval): threading.Thread.__init__(self, name='terminator') self.daemon = True diff --git a/tox.ini b/tox.ini index b03190d..e6374e0 100644 --- a/tox.ini +++ b/tox.ini @@ -48,7 +48,7 @@ deps = pylint [testenv:yapf] commands = yapf -pd pgmigrate.py -deps = yapf==0.27.0 +deps = yapf==0.28.0 [flake8] copyright-check = True