From e3a229125afd62af149867a1c841df730d12e72f Mon Sep 17 00:00:00 2001 From: Kristian Amlie Date: Mon, 10 Oct 2022 15:20:48 +0200 Subject: [PATCH] test: Keep test dependencies in mender-convert. Intuitively it might make sense to keep them in mender-image-tests, but this has problems when trying to test updates to the file, so we resort to duplicating it instead. Ticket: QA-464 Signed-off-by: Kristian Amlie --- .github/dependabot.yml | 7 +++++++ .gitlab-ci.yml | 2 +- tests/requirements_py3.txt | 28 ++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 tests/requirements_py3.txt diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 09ec26d..c8bed22 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,5 +1,12 @@ version: 2 updates: + - commit-message: + prefix: chore + directory: /tests + package-ecosystem: pip + schedule: + interval: monthly + day: saturday - commit-message: prefix: chore directory: / diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b412ea..3e6261a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -173,7 +173,7 @@ convert_raspbian_raspberrypi4: awscli unzip qemu-system-x86 ovmf curl docker.io s3cmd fdisk gnupg-agent # Python3 dependencies - python3 -m pip install -U pip - - pip3 install --ignore-installed -r https://raw.githubusercontent.com/mendersoftware/meta-mender/master/tests/acceptance/requirements_py3.txt + - pip3 install --ignore-installed -r tests/requirements_py3.txt # Load image under test - export IMAGE_NAME=$DOCKER_REPOSITORY:pr - docker load -i image.tar diff --git a/tests/requirements_py3.txt b/tests/requirements_py3.txt new file mode 100644 index 0000000..de66795 --- /dev/null +++ b/tests/requirements_py3.txt @@ -0,0 +1,28 @@ +attrs==22.1.0 +bcrypt==4.0.0 +certifi==2022.9.24 +cffi==1.15.1 +chardet==5.0.0 +cryptography==38.0.1 +filelock==3.8.0 +idna==3.4 +iniconfig==1.1.1 +invoke==1.6.0 +packaging==21.3 +pathlib2==2.3.7.post1 +pluggy==1.0.0 +psutil==5.9.2 +py==1.11.0 +pycparser==2.21 +PyNaCl==1.5.0 +pyparsing==3.0.9 +pytest==7.1.3 +pytest-html==3.1.1 +pytest-metadata==2.0.2 +python-lzo==1.14 +PyYAML==6.0 +requests==2.28.1 +six==1.16.0 +toml==0.10.2 +ubi-reader==0.8.2 +urllib3==1.26.12