Skip to content

Commit b2052b4

Browse files
committedJun 1, 2021
Update build matrix, stop advertising Python 2 or Django 1.11
The dependencies (django-parler) no longer support this either.
1 parent a2bc50c commit b2052b4

File tree

5 files changed

+16
-37
lines changed

5 files changed

+16
-37
lines changed
 

‎.travis.yml

+7-23
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,19 @@
1-
dist: xenial
2-
language: python
31
sudo: false
2+
language: python
43
cache: pip
54
python:
65
- '3.6'
7-
- '3.5'
8-
- '2.7'
6+
- '3.7'
7+
- '3.8'
98
env:
10-
- PACKAGES="django>=1.11,<1.12"
11-
- PACKAGES="django>=2.0,<2.1"
12-
- PACKAGES="django>=2.1,<2.2"
13-
- PACKAGES="django>=2.2,<2.3"
14-
matrix:
15-
exclude:
16-
- python: '2.7'
17-
env: PACKAGES="django>=2.0,<2.1"
18-
- python: '2.7'
19-
env: PACKAGES="django>=2.1,<2.2"
20-
- python: '2.7'
21-
env: PACKAGES="django>=2.2,<2.3"
9+
- DJANGO="2.2.*"
10+
- DJANGO="3.0.*"
11+
- DJANGO="3.1.*"
2212
before_install:
2313
- pip install codecov
2414
install:
2515
- pip install -U pip wheel setuptools
26-
- pip install -q $PACKAGES -r test-requirements.txt -e .
16+
- pip install -q "django==$DJANGO" -r test-requirements.txt -e .
2717
script:
2818
- coverage run --rcfile=.coveragerc runtests.py
2919
after_success:
@@ -32,12 +22,6 @@ branches:
3222
only:
3323
- master
3424
notifications:
35-
irc:
36-
channels:
37-
- irc.freenode.org#django-fluent
38-
template:
39-
- '%{repository}#%{build_number} (%{commit}) %{message} -- %{build_url}'
40-
skip_join: true
4125
email:
4226
recipients:
4327
- travis@edoburu.nl

‎setup.cfg

-3
This file was deleted.

‎setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def find_version(*parts):
4848
# Work around https://github.com/html5lib/html5lib-python/issues/189
4949
"html5lib >= 0.999, != 0.9999, != 1.0b5, != 0.99999, != 1.0b6",
5050
],
51-
requires=["Django (>=1.11)"],
51+
requires=["Django (>=2.2)"],
5252
extras_require={
5353
"code": ["Pygments"],
5454
"disquscommentsarea": ["django-disqus"],
@@ -77,7 +77,6 @@ def find_version(*parts):
7777
"License :: OSI Approved :: Apache Software License",
7878
"Operating System :: OS Independent",
7979
"Programming Language :: Python",
80-
"Programming Language :: Python :: 2.7",
8180
"Programming Language :: Python :: 3",
8281
"Programming Language :: Python :: 3.5",
8382
"Programming Language :: Python :: 3.6",

‎test-requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
django-wysiwyg
2-
html5lib==1.0b10
2+
html5lib
33
Pillow
44
micawber
55
docutils
66
textile
7-
MarkDown==2.6.8
7+
MarkDown
88
pygments
99
disqus
1010
#twitter-text-py

‎tox.ini

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
22
envlist=
3-
py27-django{111},
4-
py36-django{111,20,21,22},
5-
# py35-django-dev,
3+
py36-django{22,30,31},
4+
py37-django{22,30,31},
5+
py38-django{22,30,31},
66
docs,
77

88
[testenv]
@@ -15,18 +15,17 @@ deps =
1515
Pillow
1616
Pygments
1717
micawber
18-
django111: Django >= 1.11,<1.12
19-
django20: Django >= 2.0,<2.1
20-
django21: Django >= 2.1,<2.2
2118
django22: Django >= 2.2,<2.3
19+
django30: Django >= 3.0,<3.1
20+
django31: Django >= 3.1,<3.2
2221
django-dev: https://github.com/django/django/tarball/master
2322
commands=
2423
python --version
2524
python runtests.py
2625

2726
[testenv:docs]
28-
changedir = docs
2927
deps =
3028
Sphinx
3129
-r{toxinidir}/docs/_ext/djangodummy/requirements.txt
30+
changedir = docs
3231
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

0 commit comments

Comments
 (0)