From f11b3c3168487a7280288d1eb775fa6d94f39cd7 Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Mon, 12 May 2025 09:44:58 -0700 Subject: [PATCH 1/3] Explicitly activate the environment --- .github/workflows/python-test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python-test.yaml b/.github/workflows/python-test.yaml index d242dc1ec5..9234f54f26 100644 --- a/.github/workflows/python-test.yaml +++ b/.github/workflows/python-test.yaml @@ -36,6 +36,7 @@ jobs: version: "0.4.20" cache-dependency-glob: "requirements**.txt" python-version: ${{ matrix.python_version }} + activate-environment: true - name: Setup node uses: actions/setup-node@v4 with: From 900c7e0edad08692855e0415638eac38984231ef Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Mon, 19 May 2025 20:16:08 -0700 Subject: [PATCH 2/3] Remove locust from requirements-dev.txt --- docs/productionizing.md | 8 +------- requirements-dev.txt | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/productionizing.md b/docs/productionizing.md index 8d8ad2e54a..aa22f14e41 100644 --- a/docs/productionizing.md +++ b/docs/productionizing.md @@ -100,13 +100,7 @@ We recommend running a loadtest for your expected number of users. You can use the [locust tool](https://docs.locust.io/) with the `locustfile.py` in this sample or set up a loadtest with Azure Load Testing. -To use locust, first install the dev requirements that includes locust: - -```shell -python -m pip install -r requirements-dev.txt -``` - -Or manually install locust: +First make sure you have the locust package installed in your Python environment: ```shell python -m pip install locust diff --git a/requirements-dev.txt b/requirements-dev.txt index f5bcf15bc8..c035649f27 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -10,6 +10,5 @@ pytest-cov pytest-playwright pytest-snapshot pre-commit -locust pip-tools mypy==1.14.1 From c7fedbc69937ceea9e333c4791f7e42924e98504 Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Mon, 19 May 2025 20:18:58 -0700 Subject: [PATCH 3/3] Newline EOF --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index f45e83bb38..c035649f27 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -11,4 +11,4 @@ pytest-playwright pytest-snapshot pre-commit pip-tools -mypy==1.14.1 \ No newline at end of file +mypy==1.14.1