diff --git a/.github/workflows/e2e-cache-freethreaded.yml b/.github/workflows/e2e-cache-freethreaded.yml index 60c6f42a..2c28be52 100644 --- a/.github/workflows/e2e-cache-freethreaded.yml +++ b/.github/workflows/e2e-cache-freethreaded.yml @@ -238,7 +238,7 @@ jobs: ] python-version: [3.13.0t, 3.13.1t, 3.13.2t] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python uses: ./ with: @@ -264,7 +264,7 @@ jobs: ] python-version: [3.13.0t, 3.13.1t, 3.13.2t] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python uses: ./ with: diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index 592350b4..ed03de63 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -325,7 +325,7 @@ jobs: ] python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python uses: ./ with: @@ -351,7 +351,7 @@ jobs: ] python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python uses: ./ with: diff --git a/action.yml b/action.yml index 3b98d13a..7a9a7b63 100644 --- a/action.yml +++ b/action.yml @@ -31,8 +31,8 @@ inputs: default: false pip-version: description: "Used to specify the version of pip to install with the Python. Supported format: major[.minor][.patch]." - pip-install: - description: "Used to specify the packages to install with pip after setting up Python. Can be a requirements file or package names." + pip-install: + description: "Used to specify the packages to install with pip after setting up Python. Can be a requirements file or package names." outputs: python-version: description: "The installed Python or PyPy version. Useful when given a version range as input." diff --git a/dist/setup/index.js b/dist/setup/index.js index cfbfdd6b..92f2ee09 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -97964,7 +97964,7 @@ function installPipPackages() { core.info('Successfully installed pip packages'); } catch (error) { - core.setFailed(`Failed to install pip packages from "${pipInstall}". Please verify that the package names and versions in the requirements file are correct, that the specified packages and versions can be resolved from PyPI or the configured package index, and that your network connection is stable and allows access to the package index.`); + core.setFailed(`Failed to install pip packages from "${pipInstall}". Please verify that the package names, versions, or requirements files provided are correct, that the specified packages and versions can be resolved from PyPI or the configured package index, and that your network connection is stable and allows access to the package index.`); } }); } diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index a412622f..e20eb058 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -681,9 +681,9 @@ The `pip-install` input allows you to install dependencies as part of the Python ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.13' pip-install: -r requirements.txt diff --git a/src/setup-python.ts b/src/setup-python.ts index c1732d7e..482d9fc1 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -37,7 +37,7 @@ async function installPipPackages() { core.info('Successfully installed pip packages'); } catch (error) { core.setFailed( - `Failed to install pip packages from "${pipInstall}". Please verify that the package names and versions in the requirements file are correct, that the specified packages and versions can be resolved from PyPI or the configured package index, and that your network connection is stable and allows access to the package index.` + `Failed to install pip packages from "${pipInstall}". Please verify that the package names, versions, or requirements files provided are correct, that the specified packages and versions can be resolved from PyPI or the configured package index, and that your network connection is stable and allows access to the package index.` ); } }