Add smoketests/requirements.txt (#3701)

# Description of Changes

We have added one too many python dependencies. I'm putting them in a
shared file, which will also ease installation for devs running them
locally.

# API and ABI breaking changes

None. CI only.

# Expected complexity level and risk

1

# Testing

Existing CI still passes

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
This commit is contained in:
Zeke Foppa
2025-11-19 14:35:44 -08:00
committed by GitHub
parent aff07a0c2b
commit ca2fd8b709
4 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ jobs:
with: { python-version: '3.12' }
if: runner.os == 'Windows'
- name: Install python deps
run: python -m pip install psycopg2-binary xmltodict
run: python -m pip install -r smoketests/requirements.txt
- name: Run smoketests
# Note: clear_database and replication only work in private
run: python -m smoketests ${{ matrix.smoketest_args }} -x clear_database replication teams
+3
View File
@@ -226,3 +226,6 @@ new.json
# Symlinked output from `nix build`
result
# Python venv directories
venv/
+11
View File
@@ -0,0 +1,11 @@
To use the smoketests, you first need to install the dependencies:
```
python -m venv smoketests/venv
smoketests/venv/bin/pip install -r smoketests/requirements.txt
```
Then, run the smoketests like so:
```
smoketests/venv/bin/python -m smoketests <args>
```
+3
View File
@@ -0,0 +1,3 @@
psycopg2-binary
toml
xmltodict