File tree 8 files changed +15
-22
lines changed 8 files changed +15
-22
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: 2.1
3
3
jobs :
4
4
tests :
5
5
docker :
6
- - image : ' cimg/python:3.6 '
6
+ - image : ' cimg/python:3.8 '
7
7
environment :
8
8
TOX_POSARGS : ' '
9
9
- image : ' docker.elastic.co/elasticsearch/elasticsearch:7.14.0'
19
19
20
20
tests-embedapi :
21
21
docker :
22
- - image : ' cimg/python:3.6 '
22
+ - image : ' cimg/python:3.8 '
23
23
steps :
24
24
- checkout
25
25
- run : git submodule sync
29
29
30
30
checks :
31
31
docker :
32
- - image : ' cimg/python:3.6 '
32
+ - image : ' cimg/python:3.8 '
33
33
environment :
34
34
NODE_VERSION : 10.17.0
35
35
steps :
Original file line number Diff line number Diff line change 1
- FROM ubuntu:18 .04
1
+ FROM ubuntu:20 .04
2
2
3
3
ARG GITHUB_TOKEN
4
4
Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ you may want to verify those changes locally before pushing upstream.
31
31
32
32
$ git clone --recurse-submodules https://github.com/readthedocs/readthedocs.org/
33
33
34
- #. create a virtual environment with Python 3.6
35
- (preferably the latest release, 3.6.15 at the time of writing),
34
+ #. create a virtual environment with Python 3.8
35
+ (preferably the latest release, 3.8.12 at the time of writing),
36
36
activate it, and upgrade both pip and setuptools:
37
37
38
38
.. code-block :: console
39
39
40
40
$ cd readthedocs.org
41
- $ python3.6 -m venv .venv
41
+ $ python3.8 -m venv .venv
42
42
$ source .venv/bin/activate
43
43
(.venv) $ python -m pip install -U pip setuptools
44
44
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ save some work while typing docker compose commands. This section explains these
142
142
``inv docker.test ``
143
143
Runs all the test suites inside the container.
144
144
145
- * ``--arguments `` will pass arguments to Tox command (e.g. ``--arguments "-e py36 -- -k test_api" ``)
145
+ * ``--arguments `` will pass arguments to Tox command (e.g. ``--arguments "-e py38 -- -k test_api" ``)
146
146
147
147
``inv docker.pull ``
148
148
Downloads and tags all the Docker images required for builders.
Original file line number Diff line number Diff line change @@ -46,13 +46,13 @@ To target a specific environment:
46
46
47
47
.. prompt :: bash
48
48
49
- tox -e py36
49
+ tox -e py38
50
50
51
51
The ``tox `` configuration has the following environments configured. You can
52
52
target a single environment to limit the test suite:
53
53
54
- py36
55
- Run our test suite using Python 3.6
54
+ py38
55
+ Run our test suite using Python 3.8
56
56
57
57
lint
58
58
Run code linting using `Prospector `_. This currently runs `pylint `_,
Original file line number Diff line number Diff line change @@ -57,8 +57,7 @@ pyquery==1.4.3
57
57
# NOTE: this dep can be removed in python 3.7 in favor of ``date.fromisoformat``
58
58
python-dateutil==2.8.2
59
59
60
- # Version 3.6.3 is not available for Python 3.6
61
- orjson==3.6.1 # pyup: ignore
60
+ orjson==3.6.3
62
61
63
62
# Utils
64
63
django-gravatar2==1.4.4
Original file line number Diff line number Diff line change @@ -11,13 +11,7 @@ pytest-cov==2.12.1
11
11
apipkg==2.0.0
12
12
execnet==1.9.0
13
13
14
- # Mercurial 4.3 and newer require Python 2.7
15
- # Mercurial is actively being ported to Python 3. As of Mercurial 4.3,
16
- # some commands work on Python 3. However, Python 3 is not yet a
17
- # supported platform.
18
- # mercurial-scm.org/wiki/SupportedPythonVersions
19
- # (Pinned to 4.4.2 since what we need for testing is still useful)
20
- Mercurial==4.4.2 # pyup: ignore
14
+ Mercurial==5.5
21
15
22
16
yamale==2.2.0 # pyup: <3.0
23
17
pytest-mock==3.6.1
Original file line number Diff line number Diff line change 1
1
[tox]
2
2
minversion =2.9.0
3
- envlist = py36 ,lint,docs
3
+ envlist = py38 ,lint,docs
4
4
skipsdist = True
5
5
6
6
[testenv]
@@ -15,7 +15,7 @@ passenv = CI TRAVIS TRAVIS_* HOME
15
15
deps = -r{toxinidir}/requirements/testing.txt
16
16
changedir = {toxinidir}/readthedocs
17
17
basepython =
18
- python3.6
18
+ python3.8
19
19
commands =
20
20
/bin/sh -c ' \
21
21
export DJANGO_SETTINGS_MODULE=readthedocs.settings.test; \
You can’t perform that action at this time.
0 commit comments