File tree Expand file tree Collapse file tree
src/donor_reporting_portal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ dist: xenial
22language : python
33
44python :
5- - 3.8
5+ - 3.9
66
77env :
88 global :
Original file line number Diff line number Diff line change 1+ Release 1.5
2+ ----------------
3+ * python 3.9
4+
5+
16Release 1.4
27----------------
38* added new relic
Original file line number Diff line number Diff line change @@ -66,4 +66,4 @@ uwsgi = "*"
6666django-picklefield = " *"
6767
6868[requires ]
69- python_version = " 3.8 "
69+ python_version = " 3.9 "
Original file line number Diff line number Diff line change 1- ARG BASE_IMAGE=1.4
1+ ARG BASE_IMAGE=1.5
22
33FROM unicef/donor-reporting-portal-backend:${BASE_IMAGE}-base
44
Original file line number Diff line number Diff line change 1- FROM python:3.8.2 -alpine3.10
1+ FROM python:3.9.0 -alpine3.12
22
33ARG PIPENV_ARGS
44
@@ -78,15 +78,15 @@ RUN cd /code \
7878 && pipenv install --verbose --system --deploy --ignore-pipfile $PIPENV_ARGS \
7979 && sha1sum Pipfile.lock > /CHECKSUM
8080
81- # need to removes some code not py3.8 compliant
82- RUN rm -fr /usr/local/lib/python3.8 /site-packages/psycopg2/tests/* \
83- /usr/local/lib/python3.8 /site-packages/tornado/test/* \
84- /usr/local/lib/python3.8 /site-packages/pipenv/patched/yaml2/*
81+ # need to removes some code not py3.9 compliant
82+ RUN rm -fr /usr/local/lib/python3.9 /site-packages/psycopg2/tests/* \
83+ /usr/local/lib/python3.9 /site-packages/tornado/test/* \
84+ /usr/local/lib/python3.9 /site-packages/pipenv/patched/yaml2/*
8585
8686# before compile site-packages
87- RUN find /usr/local/lib/python3.8 / -name *.pyc | xargs rm -f \
88- && python -O -m compileall -fqb /usr/local/lib/python3.8 \
89- && find /usr/local/lib/python3.8 / -name *.py | xargs rm -f
87+ RUN find /usr/local/lib/python3.9 / -name *.pyc | xargs rm -f \
88+ && python -O -m compileall -fqb /usr/local/lib/python3.9 \
89+ && find /usr/local/lib/python3.9 / -name *.py | xargs rm -f
9090
9191RUN apk del .fetch-deps .build-deps .build-deps-edge .donor_reporting_portal-build-deps \
9292 && rm -rf /var/cache/apk/* \
Original file line number Diff line number Diff line change 1- FROM python:3.8.2 -alpine3.10
1+ FROM python:3.9.0 -alpine3.12
22
33ARG BUILD_DATE
44ARG PIPENV_ARGS
@@ -78,7 +78,7 @@ RUN pip install pip pipenv --upgrade
7878
7979RUN set -ex \
8080 ls -al /code \
81- && find /usr/local/lib/python3.8 / -name *.pyc | xargs rm -f \
81+ && find /usr/local/lib/python3.9 / -name *.pyc | xargs rm -f \
8282 && pipenv install --verbose --system --deploy --ignore-pipfile $PIPENV_ARGS \
8383 && pip3 install . \
8484 && rm -fr /code
@@ -132,11 +132,11 @@ RUN rm -rf /var/cache/apk/* \
132132 && rm -fr /root/.cache/ \
133133 && rm -fr /usr/include/
134134
135- RUN find /usr/local/lib/python3.8 / -name *.pyc | xargs rm -f \
135+ RUN find /usr/local/lib/python3.9 / -name *.pyc | xargs rm -f \
136136 && python -O -m compileall -fqb /usr/local/lib/python3.6
137137
138138# removes source files
139- RUN find /usr/local/lib/python3.8 / -name *.py | xargs rm -f
139+ RUN find /usr/local/lib/python3.9 / -name *.py | xargs rm -f
140140
141141ADD docker/entrypoint.sh /usr/local/bin/docker-entrypoint.sh
142142ADD docker/wait-for-it.sh /usr/local/bin/wait-for-it.sh
Original file line number Diff line number Diff line change 22DATABASE_URL? =
33DOCKER_PASS? =
44DOCKER_USER? =
5- TARGET? =1.4 .0
5+ TARGET? =1.5 .0
66BASE? =$(shell echo "${TARGET}" | sed "s/\([0-9]\) \.\([0-9]\)\.\(.*\)/\1.\2/g" )
77# below vars are used internally
88BUILD_OPTIONS? =
Original file line number Diff line number Diff line change 3939 'Operating System :: POSIX :: Linux' ,
4040 'Programming Language :: Python :: 3' ,
4141 'Programming Language :: Python :: 3.8' ,
42+ 'Programming Language :: Python :: 3.9' ,
4243 'Framework :: Django' ,
4344 'Framework :: Django :: 3.0' ,
4445 'Framework :: Flake8' ,
Original file line number Diff line number Diff line change 11NAME = 'donor-reporting-portal'
2- VERSION = __version__ = '1.4 '
2+ VERSION = __version__ = '1.5 '
You can’t perform that action at this time.
0 commit comments