setup-python icon indicating copy to clipboard operation
setup-python copied to clipboard

[email protected] The `punycode` module is deprecated

Open hl2guide opened this issue 1 month ago • 2 comments

Description: The punycode module is deprecated for the step "Post Set Up Python 3.14".

Post job cleanup.
(node:2227) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

Partial snippet of my YML file:

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ["3.14"]
    steps:
    - uses: actions/checkout@v6
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/[email protected]
      with:
        python-version: ${{ matrix.python-version }}

Action version: v6.1.0

Platform:

  • [x] Ubuntu
  • [ ] macOS
  • [ ] Windows

Runner type:

  • [x] Hosted
  • [ ] Self-hosted

Tools version: I have tested on Python 3.14.

Repro steps:
Run a job that uses 'setup-python'.

Expected behavior: Deprecation message does not appear.

Actual behavior: Deprecation message appears.

hl2guide avatar Dec 03 '25 04:12 hl2guide