setup-python@v6.1.0 The punycode module is deprecated #1252
Copy link
Copy link
Closed as duplicate
Labels
bugSomething isn't workingSomething isn't working
Description
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/setup-python@v6.1.0
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity
[-]setup-python@v6.1.0[/-][+]setup-python@v6.1.0 The `punycode` module is deprecated[/+]v-priyagupta108 commentedon Dec 3, 2025
Hi @hl2guide 👋,
Thank you for reporting this!
This issue is a duplicate of #1208, which already tracks the deprecation of the
punycodemodule. Please refer to that issue for updates.jsoref commentedon Jan 5, 2026
@priyagupta108 could you close this ticket as a duplicate?
v-HarithaVattikuti commentedon Feb 4, 2026
Closing as a duplicate of #1208. The issue is fixed and released as part of setup-python@v6.2.0.
[DEP0040] DeprecationWarning: Thepunycodemodule is deprecated. Please use a userland alternative instead.#1208