Skip to content

Commit 1818c01

Browse files
Fix Upfunnel promo Thor merchant setup deps
1 parent 1a81dff commit 1818c01

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

‎tools/buildkite/create_upfunnel_promo_thor_merchant.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def add_all_the_things_paths(all_the_things_dir: Path) -> None:
2222
e2e_dir = all_the_things_dir / "test_framework" / "tests" / "e2e"
2323
upfunnel_dir = e2e_dir / "thor" / "upfunnel_messaging"
2424
api_dir = all_the_things_dir / "test_framework" / "api"
25-
for path in (str(upfunnel_dir), str(e2e_dir), str(api_dir)):
25+
chameleon_toolkit_dir = all_the_things_dir / "chameleon" / "toolkit"
26+
for path in (str(upfunnel_dir), str(e2e_dir), str(api_dir), str(chameleon_toolkit_dir)):
2627
if path not in sys.path:
2728
sys.path.insert(0, path)
2829

‎tools/buildkite/upfunnel_promo_thor_tests.yaml‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,21 @@ steps:
4747
"$$PYTHON_BIN" -c 'import sys; sys.exit("Upfunnel test framework requires Python 3.9+") if sys.version_info < (3, 9) else None'
4848
"$$PYTHON_BIN" -m venv .upfunnel-promo-thor-venv
4949
. .upfunnel-promo-thor-venv/bin/activate
50-
python -m pip install --upgrade pip uv
51-
uv pip install -e "$ALL_THE_THINGS_DIR/test_framework/tests/e2e"
50+
python -m pip install --upgrade pip
51+
python -m pip install \
52+
aiohttp \
53+
aiohttp-retry \
54+
beautifulsoup4 \
55+
nest-asyncio \
56+
"pydantic>=2" \
57+
pytest \
58+
python-dateutil \
59+
pyyaml \
60+
requests \
61+
tenacity \
62+
typing-extensions \
63+
urllib3 \
64+
yarl
5265
python tools/buildkite/create_upfunnel_promo_thor_merchant.py --backend-url "$$BACKEND_URL"
5366
printf 'AFFIRM_PROMO_BASE_URL=%q\n' "$$BACKEND_URL" >> upfunnel-promo-thor.env
5467
agents:

0 commit comments

Comments
 (0)