In #537, we have removed support for Python 2.7 on EL 7 which means that this test is now useless:
|
# The latest LTS release of Django does not work on RHEL 7 (due to an old version of SQLite), |
|
# and no longer supports Python 2. So on all CentOS/RHEL 7 images and all Python 2 images, |
|
# we're using the old Django LTS version 1.11.x from the main git branch of the django-ex project. |
|
# In all other cases we're using the newer Django LTS version 2.2.x from the corresponding git branch. |
|
{% raw %} |
|
if [[ ${VERSION} == "2.7" ]] || docker inspect ${IMAGE_NAME} --format "{{.Config.Env}}" | tr " " "\n" | grep -q "^PLATFORM=el7"; then |
|
{% endraw %} |
|
django_example_repo_url="https://github.com/sclorg/django-ex.git" |
We can remove it from the sources here but it makes me think about what to do with the django-ex project. If the master branch of django-ex is not used anymore anywhere it might make sense to make it a signpost with links to other branches and remove the obsoleted source code.
What do you think @phracek @pkubatrh @hhorak ?