From f407c07f91bed7bebc90d5065561f8f7bd4cf9f0 Mon Sep 17 00:00:00 2001 From: Dhaval Gojiya Date: Sun, 15 Mar 2026 20:09:26 +0530 Subject: [PATCH 1/2] chore: Update uv to the latest version in CI --- .github/workflows/ci.yml | 2 +- README.rst | 26 +++++++++++++++++++++++--- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca41cc96..33d55a45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v7 with: - version: "0.9.29" + version: "0.10.10" - name: Run tests run: uv run --extra=solrcloud run-tests.py diff --git a/README.rst b/README.rst index e5924880..09ceef31 100644 --- a/README.rst +++ b/README.rst @@ -279,8 +279,20 @@ For consistency, this project uses `pre-commit `_ to ma Running Tests ============= -The ``run-tests.py`` script will automatically perform the steps below and is -recommended for testing by default unless you need more control. +This project uses ``pytest`` and is typically run via ``uv``. + +First, install ``uv`` by following the official installation guide: + +https://docs.astral.sh/uv/getting-started/installation/ + +The ``run-tests.py`` script automatically performs the steps below and is +recommended for running the tests unless you need more control. + +You can run it with: + +.. code-block:: console + + $ uv run --extra=solrcloud run-tests.py Running a test Solr instance ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -301,6 +313,14 @@ To stop and remove the Solr test environment:: Running the tests ~~~~~~~~~~~~~~~~~ +Run the standard test suite with: + +.. code-block:: console + + $ uv run pytest + +To run the SolrCloud tests in addition to the standard test suite, enable the `solrcloud` extra: + .. code-block:: console - $ python -m unittest tests + $ uv run --extra=solrcloud pytest From 7f021121e336381e88b8e88b2fe5a4277eafd9e5 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 1 Apr 2026 20:20:16 +0200 Subject: [PATCH 2/2] uv 0.11.2 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33d55a45..2d2a4677 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v7 with: - version: "0.10.10" + version: "0.11.2" - name: Run tests run: uv run --extra=solrcloud run-tests.py