Commit bb2a77f1 authored by Carina Antunes's avatar Carina Antunes
Browse files

Bump python version 3.8

parent 2ea7a272
......@@ -85,7 +85,7 @@ validate-base-image-updated:
# Lint
lint:
image: python:3.6
image: python:3.8
stage: test
only:
refs:
......
......@@ -17,7 +17,7 @@ repos:
rev: stable
hooks:
- id: black
language_version: python3.6
language_version: python3.8
args: [--line-length=120]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
......
......@@ -7,7 +7,7 @@
# under the terms of the MIT License; see LICENSE file for more details.
# Use CentOS7:
FROM gitlab-registry.cern.ch/webservices/cern-search/cern-search-rest-api/cern-search-rest-api-base:1baab88940e876b2bea33d551bf5ed424d0607de
FROM gitlab-registry.cern.ch/webservices/cern-search/cern-search-rest-api/cern-search-rest-api-base:1b4abb66064462b81cacb82f9047d7f05e92f72f
ARG build_env
# CERN Search installation
......
......@@ -6,8 +6,8 @@
# Citadel Search is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# Use CentOS7:
FROM inveniosoftware/centos7-python:3.6
# Use CentOS8:
FROM inveniosoftware/centos8-python:3.8
# Install pre-requisites
RUN yum update -y && \
......@@ -15,10 +15,11 @@ RUN yum update -y && \
gcc \
openssl \
openldap-devel \
https://linuxsoft.cern.ch/cern/centos/7/cern/x86_64/Packages/CERN-CA-certs-20180516-1.el7.cern.noarch.rpm \
mailcap \
https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm && \
yum upgrade -y git
https://linuxsoft.cern.ch/cern/centos/8/CERN/x86_64/Packages/CERN-CA-certs-20200530-1.el8.cern.noarch.rpm \
mailcap
# Symlink python
RUN ln -nsf /usr/bin/python3.8 /usr/bin/python
# CERN Search installation
WORKDIR /${WORKING_DIR}/src
......
......@@ -2,7 +2,7 @@
#
# Requires:
# - poetry
# - python@3.6.0
# - python@3.8.0
version: "2.3"
services:
......
This diff is collapsed.
......@@ -30,7 +30,7 @@ invenio-records-rest = ">=1.7.1,<1.8.0"
invenio-rest = ">=1.2.1,<1.3.0"
invenio-search = {version = ">=1.3.1,<1.4.0", extras = ["elasticsearch7"]}
invenio-theme = ">=1.1.4,<1.2.0"
python = "^3.6.1"
python = "^3.8"
uWSGI = "^2.0.19"
uwsgi-tools = "^1.1.1"
......
......@@ -81,7 +81,7 @@ setup(
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.8",
"Development Status :: 1 - Pre-Alpha",
],
setup_requires=setup_requires,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment