Cut test MySQL 8 with incompatible pymysql 0.7.11

It fails to connect with error about cryptography unsupported
This commit is contained in:
Laurent Indermuehle 2023-01-20 18:43:14 +01:00
commit 20965d2fa2
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
3 changed files with 1 additions and 33 deletions

View file

@ -89,11 +89,6 @@ jobs:
# ==================================================================
# MySQL 8 + Python 3.8
# ==================================================================
- ansible: stable-2.12
db_engine_version: mysql:8.0.31
python: '3.8'
connector: pymysql==0.7.11
docker_image: ghcr.io/laurent-indermuehle/test-container-my80-py38-pymysql0711:latest
- ansible: stable-2.12
db_engine_version: mysql:8.0.31
python: '3.8'
@ -105,12 +100,7 @@ jobs:
connector: mysqlclient==2.0.1
docker_image: ghcr.io/laurent-indermuehle/test-container-my80-py38-mysqlclient201:latest
- ansible: stable-2.13
db_engine_version: mysql:8.0.31
python: '3.8'
connector: pymysql==0.7.11
docker_image: ghcr.io/laurent-indermuehle/test-container-my80-py38-pymysql0711:latest
- ansible: stable-2.13
- ansible: stable-2.13
db_engine_version: mysql:8.0.31
python: '3.8'
connector: pymysql==0.9.3

View file

@ -38,7 +38,6 @@ jobs:
- subfolder: my80-py310-mysqlclient211
- subfolder: my80-py310-pymysql102
- subfolder: my80-py38-mysqlclient201
- subfolder: my80-py38-pymysql0711
- subfolder: my80-py38-pymysql093
- subfolder: my80-py39-mysqlclient203
- subfolder: my80-py39-pymysql093

View file

@ -1,21 +0,0 @@
FROM quay.io/ansible/ubuntu2004-test-container:main
# ubuntu2004 comes with mysql-client-8
# iproute2 # To grab docker network gateway address
# python3.8-dev # Reqs for mysqlclient
# default-libmysqlclient-dev # Reqs for mysqlclient
# build-essential # Reqs for mysqlclient
RUN apt update -y && \
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
python3.8 \
python3.8-dev \
mysql-client \
iproute2 \
default-libmysqlclient-dev \
build-essential
RUN python3.8 -m pip install --disable-pip-version-check --no-cache-dir pymysql==0.7.11
ENV container=docker
CMD ["/sbin/init"]