Skip to content

Commit

Permalink
Use python slim images to run tests
Browse files Browse the repository at this point in the history
This should speed-up the tests a bit
  • Loading branch information
mayeut committed May 22, 2021
1 parent 0c59594 commit 7939153
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,11 @@ daemon. These tests will pull a number of docker images if they are not already
available on your system, but it won't update existing images.
To update these images manually, run::

docker pull python:3.6
docker pull python:3.6-slim
docker pull quay.io/pypa/manylinux1_x86_64
docker pull quay.io/pypa/manylinux2010_x86_64
docker pull quay.io/pypa/manylinux2014_x86_64
docker pull quay.io/pypa/manylinux_2_24_x86_64

You may also remove these images using ``docker rmi``.

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_manylinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
PYTHON_ABI_MAJ_MIN = ''.join(PYTHON_MAJ_MIN)
PYTHON_ABI_FLAGS = 'm' if sys.version_info.minor < 8 else ''
PYTHON_ABI = f'cp{PYTHON_ABI_MAJ_MIN}-cp{PYTHON_ABI_MAJ_MIN}{PYTHON_ABI_FLAGS}'
PYTHON_IMAGE_ID = 'python:' + '.'.join(PYTHON_MAJ_MIN)
PYTHON_IMAGE_ID = f'python:{".".join(PYTHON_MAJ_MIN)}-slim'
DEVTOOLSET = {
'manylinux_2_5': 'devtoolset-2',
'manylinux_2_12': 'devtoolset-8',
Expand Down

0 comments on commit 7939153

Please sign in to comment.