general: stop supporting django 1.8 (#32728)

This commit is contained in:
Frédéric Péters 2019-05-01 15:28:18 +02:00
parent 388028605e
commit 055181005f
4 changed files with 4 additions and 6 deletions

2
Jenkinsfile vendored
View File

@ -23,7 +23,7 @@ pipeline {
steps {
script {
if (env.JOB_NAME == 'chrono' && env.GIT_BRANCH == 'origin/master') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder chrono'
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch chrono'
}
}
}

2
debian/control vendored
View File

@ -9,7 +9,7 @@ X-Python-Version: >= 2.7
Package: python-chrono
Architecture: all
Depends: ${misc:Depends}, ${python:Depends},
python-django (>= 1.8),
python-django (>= 1:1.11),
python-gadjo,
python-requests
Recommends: python-django-mellon

View File

@ -147,7 +147,7 @@ setup(
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
install_requires=['django>=1.8, <1.12',
install_requires=['django>=1.11, <1.12',
'gadjo',
'djangorestframework>=3.1, <3.7',
'django-jsonfield >= 0.9.3',

View File

@ -1,5 +1,5 @@
[tox]
envlist = py2-coverage-django18-pylint,{py2,py3}-coverage-django111
envlist = py2-coverage-pylint,py3-coverage
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/chrono/{env:BRANCH_NAME:}
[testenv]
@ -11,8 +11,6 @@ setenv =
CHRONO_SETTINGS_FILE=tests/settings.py
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov-report html --cov=chrono/
deps =
django18: django>=1.8,<1.9
django111: django>=1.11,<1.12
pytest-cov
pytest-django
pytest>=3.3.0,<4