Skip to content

Commit c2fba03

Browse files
committed
Update project to use Ubuntu 22.04 LTS
Ubuntu 22.04 LTS is not yet released, but it's already available to use. We can start allowing testing this image internally before upgrading production servers. Also note that the default Python version was upgraded from 3.8 to 3.10.
1 parent aceb849 commit c2fba03

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ orbs:
66
jobs:
77
tests:
88
docker:
9-
- image: 'cimg/python:3.8'
9+
- image: 'cimg/python:3.10'
1010
environment:
1111
TOX_POSARGS: ''
1212
- image: 'docker.elastic.co/elasticsearch/elasticsearch:7.14.0'
@@ -19,12 +19,12 @@ jobs:
1919
- run: git submodule sync
2020
- run: git submodule update --init
2121
- run: pip install --user tox
22-
- run: tox -e py38
22+
- run: tox -e py310
2323
- codecov/upload
2424

2525
tests-embedapi:
2626
docker:
27-
- image: 'cimg/python:3.8'
27+
- image: 'cimg/python:3.10'
2828
steps:
2929
- checkout
3030
- run: git submodule sync
@@ -34,7 +34,7 @@ jobs:
3434

3535
checks:
3636
docker:
37-
- image: 'cimg/python:3.8'
37+
- image: 'cimg/python:3.10'
3838
environment:
3939
NODE_VERSION: 10.17.0
4040
steps:

dockerfiles/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22

33
ARG GITHUB_USER
44
ARG GITHUB_TOKEN

docs/dev/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ save some work while typing docker compose commands. This section explains these
133133
``inv docker.test``
134134
Runs all the test suites inside the container.
135135

136-
* ``--arguments`` will pass arguments to Tox command (e.g. ``--arguments "-e py38 -- -k test_api"``)
136+
* ``--arguments`` will pass arguments to Tox command (e.g. ``--arguments "-e py310 -- -k test_api"``)
137137

138138
``inv docker.pull``
139139
Downloads and tags all the Docker images required for builders.

docs/dev/tests.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ To target a specific environment:
4646

4747
.. prompt:: bash
4848

49-
tox -e py38
49+
tox -e py310
5050

5151
The ``tox`` configuration has the following environments configured. You can
5252
target a single environment to limit the test suite:
5353

54-
py38
55-
Run our test suite using Python 3.8
54+
py310
55+
Run our test suite using Python 3.10
5656

57-
py38-debug
58-
Same as ``py38``, but there are some useful debugging tools available in the environment.
57+
py310-debug
58+
Same as ``py310``, but there are some useful debugging tools available in the environment.
5959

6060
lint
6161
Run code linting using `Prospector`_. This currently runs `pylint`_,

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion=2.9.0
3-
envlist = py38,lint,docs
3+
envlist = py310,lint,docs
44
skipsdist = True
55

66
[testenv]

0 commit comments

Comments
 (0)