Edgewall Software
Modify

Opened 6 months ago

Closed 5 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

  • .github/workflows/build.yml

    diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
    index bfadc0e2d..a706677db 100644
    a b jobs:  
    103103    - name: Checkout
    104104      uses: actions/checkout@v4
    105105
     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
    106111    - name: Set up Python ${{ matrix.python-version }}
    107112      uses: actions/setup-python@v5
    108113      with:
    jobs:  
    175180        ref: v1.4
    176181        path: py3c
    177182
     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
    178188    - name: Set up Python ${{ matrix.python-version }}
    179189      uses: actions/setup-python@v5
    180190      with:

Attachments (0)

Change History (2)

comment:1 by Jun Omae, 6 months ago

Applied in [17808] and merged in [17809]. I'll revert the changes if the root cause is fixed.

comment:2 by Jun Omae, 5 months ago

Milestone: 1.6.1
Resolution: cantfix
Status: assignedclosed

The issue of setup-python has been closed. No fix except the workaround.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.