Skip to content

Commit

Permalink
Apply requested changes for PR#811
Browse files Browse the repository at this point in the history
  • Loading branch information
noliveleger committed Apr 26, 2022
1 parent a127f60 commit 1fa30ad
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ build:

test:
stage: build_test
image: python:3.8
image: python:10
variables:
DJANGO_SECRET_KEY: abcdef
TEST_DATABASE_URL: postgis://kobo:kobo@postgres:5432/kobocat_test
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,12 @@ RUN mkdir -p ${NGINX_STATIC_DIR} && \
RUN apt-get -qq update && \
apt-get -qq -y install \
cron \
gcc \
gdal-bin \
gettext \
git \
gosu \
less \
libpq-dev \
libpq5 \
libproj-dev \
libsqlite3-mod-spatialite \
locales \
Expand Down
7 changes: 1 addition & 6 deletions dependencies/pip/dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with python 3.8
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
#
# pip-compile dependencies/pip/dev.in
Expand Down Expand Up @@ -153,8 +153,6 @@ httmock==1.4.0
# via -r dependencies/pip/dev.in
idna==3.3
# via requests
importlib-metadata==4.11.3
# via markdown
iniconfig==1.1.1
# via pytest
ipdb==0.13.9
Expand Down Expand Up @@ -254,7 +252,6 @@ python-dateutil==2.8.2
# python-crontab
pytz==2022.1
# via
# -r dependencies/pip/requirements.in
# celery
# django
# django-timezone-field
Expand Down Expand Up @@ -329,8 +326,6 @@ xlrd==2.0.1
# via pyxform
xlwt==1.3.0
# via -r dependencies/pip/requirements.in
zipp==3.8.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
7 changes: 1 addition & 6 deletions dependencies/pip/prod.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with python 3.8
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
#
# pip-compile dependencies/pip/prod.in
Expand Down Expand Up @@ -139,8 +139,6 @@ gdata-python3==3.0.1
# via -r dependencies/pip/requirements.in
idna==3.3
# via requests
importlib-metadata==4.11.3
# via markdown
jmespath==1.0.0
# via
# boto3
Expand Down Expand Up @@ -194,7 +192,6 @@ python-dateutil==2.8.2
# python-crontab
pytz==2022.1
# via
# -r dependencies/pip/requirements.in
# celery
# django
# django-timezone-field
Expand Down Expand Up @@ -251,5 +248,3 @@ xlrd==2.0.1
# via pyxform
xlwt==1.3.0
# via -r dependencies/pip/requirements.in
zipp==3.8.0
# via importlib-metadata
2 changes: 1 addition & 1 deletion dependencies/pip/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pyxform==1.9.0
django-reversion<3.0.2
xlwt
openpyxl
celery>=5
celery
celery[redis]
amqp
# new export code relies on
Expand Down
7 changes: 1 addition & 6 deletions dependencies/pip/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with python 3.8
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
#
# pip-compile dependencies/pip/requirements.in
Expand Down Expand Up @@ -139,8 +139,6 @@ gdata-python3==3.0.1
# via -r dependencies/pip/requirements.in
idna==3.3
# via requests
importlib-metadata==4.11.3
# via markdown
jmespath==1.0.0
# via
# boto3
Expand Down Expand Up @@ -194,7 +192,6 @@ python-dateutil==2.8.2
# python-crontab
pytz==2022.1
# via
# -r dependencies/pip/requirements.in
# celery
# django
# django-timezone-field
Expand Down Expand Up @@ -249,5 +246,3 @@ xlrd==2.0.1
# via pyxform
xlwt==1.3.0
# via -r dependencies/pip/requirements.in
zipp==3.8.0
# via importlib-metadata
6 changes: 6 additions & 0 deletions pip-compile.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
#
if [ -z "$(dpkg -l|grep 'libpq-dev')" ]; then
echo "Installing dependencies needed to pip-compile..."
apt-get -qq update && apt-get -qq -y install gcc libpq-dev
fi

for in_file in dependencies/pip/*.in
do
# pass any arguments to pip-compile
Expand Down

0 comments on commit 1fa30ad

Please sign in to comment.