Modify ↓
Opened 7 months ago
Closed 6 months ago
#13755 closed defect (cantfix)
actions/setup-python with python-version 3.5 failing on GitHub Actions
Reported by: | Jun Omae | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | project | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
- See https://github.com/edgewall/trac/actions/runs/9240552839/job/25420971157#step:4:28
- The issue has already been reported at https://github.com/actions/setup-python/issues/866.
- Workaround is to set environment
PIP_TRUSTED_HOST="pypi.python.org pypi.org files.pythonhosted.org"
.
-
.github/workflows/build.yml
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bfadc0e2d..a706677db 100644
a b jobs: 103 103 - name: Checkout 104 104 uses: actions/checkout@v4 105 105 106 - name: Workaround for pip with Python 3.5 107 if: ${{ matrix.python-version == '3.5' }} 108 run: | 109 echo 'PIP_TRUSTED_HOST=pypi.python.org pypi.org files.pythonhosted.org' >>"$GITHUB_ENV" 110 106 111 - name: Set up Python ${{ matrix.python-version }} 107 112 uses: actions/setup-python@v5 108 113 with: … … jobs: 175 180 ref: v1.4 176 181 path: py3c 177 182 183 - name: Workaround for pip with Python 3.5 184 if: ${{ matrix.python-version == '3.5' }} 185 run: | 186 echo 'PIP_TRUSTED_HOST=pypi.python.org pypi.org files.pythonhosted.org' >>"$GITHUB_ENV" 187 178 188 - name: Set up Python ${{ matrix.python-version }} 179 189 uses: actions/setup-python@v5 180 190 with:
Attachments (0)
Change History (2)
comment:1 by , 7 months ago
comment:2 by , 6 months ago
Milestone: | 1.6.1 |
---|---|
Resolution: | → cantfix |
Status: | assigned → closed |
The issue of setup-python has been closed. No fix except the workaround.
Note:
See TracTickets
for help on using tickets.
Applied in [17808] and merged in [17809]. I'll revert the changes if the root cause is fixed.