From 53e51ca50f383b6ee7689caa27239ef6657e19f7 Mon Sep 17 00:00:00 2001 From: vshepard Date: Sat, 15 Mar 2025 20:24:12 +0100 Subject: [PATCH] Add requirements.txt to pg_probackup2 --- .../pg_probackup2/pg_probackup2/tests/requrements.txt | 10 ++++++++++ .../pg_probackup2/pg_probackup2/tests/test_basic.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 testgres/plugins/pg_probackup2/pg_probackup2/tests/requrements.txt diff --git a/testgres/plugins/pg_probackup2/pg_probackup2/tests/requrements.txt b/testgres/plugins/pg_probackup2/pg_probackup2/tests/requrements.txt new file mode 100644 index 00000000..e15a73e9 --- /dev/null +++ b/testgres/plugins/pg_probackup2/pg_probackup2/tests/requrements.txt @@ -0,0 +1,10 @@ +# Testgres can be installed in the following ways: +# 1. From a pip package (recommended) +# testgres==1.8.5 +# 2. From a specific Git branch, tag or commit +# git+https://github.com/postgrespro/testgres.git@ +# git+https://github.com/postgrespro/testgres.git@master +# git+https://github.com/postgrespro/testgres.git@master#egg=testgres-pg_probackup2&subdirectory=testgres/plugins/pg_probackup2 +# 3. From a local directory +# /path/to/local/directory/testgres +testgres==1.10.5 \ No newline at end of file diff --git a/testgres/plugins/pg_probackup2/pg_probackup2/tests/test_basic.py b/testgres/plugins/pg_probackup2/pg_probackup2/tests/test_basic.py index ba788623..f22a62bf 100644 --- a/testgres/plugins/pg_probackup2/pg_probackup2/tests/test_basic.py +++ b/testgres/plugins/pg_probackup2/pg_probackup2/tests/test_basic.py @@ -4,7 +4,7 @@ import shutil import pytest -from ...... import testgres +import testgres from ...pg_probackup2.app import ProbackupApp from ...pg_probackup2.init_helpers import Init, init_params from ..storage.fs_backup import FSTestBackupDir