diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 815bd4c8d..662d7e4b5 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -73,8 +73,16 @@ jobs: python-version: '3.13' - name: Verify 3.13 run: python __tests__/verify-python.py 3.13 + + - name: Install pipx (Windows) + if: runner. os == 'Windows' + run: python -m pip install pipx + - name: Run python-path sample 3.13 run: pipx run --python '${{ steps.cp313.outputs.python-path }}' nox --version + env: + PIPX_HOME: '${{ runner.temp }}/pipx' + PIPX_BIN_DIR: '${{ runner.temp }}/pipx/bin' - name: Run with setup-python ==3.13 uses: ./ diff --git a/__tests__/data/requirements-linux.txt b/__tests__/data/requirements-linux.txt index e8ce27a19..2dc785991 100644 --- a/__tests__/data/requirements-linux.txt +++ b/__tests__/data/requirements-linux.txt @@ -8,5 +8,5 @@ packaging==20.7 pdf2image==1.12.1 Pygments==2.6.1 requests==2.32.4 -urllib3==2.6.0 +urllib3==2.6.3 xlrd==1.2.0 \ No newline at end of file diff --git a/__tests__/data/requirements.txt b/__tests__/data/requirements.txt index cc0f0648d..250612de3 100644 --- a/__tests__/data/requirements.txt +++ b/__tests__/data/requirements.txt @@ -42,6 +42,6 @@ pywin32-ctypes==0.2.0 requests==2.32.4 -urllib3==2.6.0 +urllib3==2.6.3 xlrd==1.2.0 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 94fdee3a5..71a759bb8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "setup-python", - "version": "6.0.1", + "version": "6.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "setup-python", - "version": "6.0.1", + "version": "6.2.0", "license": "MIT", "dependencies": { "@actions/cache": "^5.0.1", @@ -531,7 +531,6 @@ "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/generator": "^7.28.5", @@ -1819,7 +1818,6 @@ "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", "@typescript-eslint/scope-manager": "5.62.0", @@ -1855,7 +1853,6 @@ "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", "dev": true, "license": "BSD-2-Clause", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "5.62.0", "@typescript-eslint/types": "5.62.0", @@ -2048,7 +2045,6 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2363,7 +2359,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -2764,7 +2759,6 @@ "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -3804,7 +3798,6 @@ "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -5644,7 +5637,6 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index 932bc0d76..ddf2fc116 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "setup-python", - "version": "6.0.1", + "version": "6.2.0", "private": true, "description": "Setup python action", "main": "dist/index.js",