Skip to content

[email protected] The punycode module is deprecated #1252

@hl2guide

Description

@hl2guide

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:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions