From ec9545242295e66e314cd5ce622081c63bdfd869 Mon Sep 17 00:00:00 2001 From: keewis Date: Wed, 8 Jun 2022 15:52:08 +0200 Subject: [PATCH] more testpypi workflow fixes (#6673) * print the modified version of pyproject.toml * add --pre --- .github/workflows/testpypi-release.yaml | 1 + doc/getting-started-guide/installing.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testpypi-release.yaml b/.github/workflows/testpypi-release.yaml index ee2365cb88c..fbef093540b 100644 --- a/.github/workflows/testpypi-release.yaml +++ b/.github/workflows/testpypi-release.yaml @@ -30,6 +30,7 @@ jobs: run: | python .github/workflows/configure-testpypi-version.py pyproject.toml git update-index --assume-unchanged pyproject.toml + cat pyproject.toml - name: Build tarball and wheels run: | diff --git a/doc/getting-started-guide/installing.rst b/doc/getting-started-guide/installing.rst index 6c7c82dec72..68472476fd7 100644 --- a/doc/getting-started-guide/installing.rst +++ b/doc/getting-started-guide/installing.rst @@ -155,7 +155,7 @@ To install the most recent development version, install from github:: or from TestPyPI:: - $ python -m pip install --index-url https://test.pypi.org/simple --extra-index-url https://pypi.org/simple xarray + $ python -m pip install --index-url https://test.pypi.org/simple --extra-index-url https://pypi.org/simple --pre xarray Testing -------