Skip to content

Action emits [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. #1208

@Molkree

Description

@Molkree

Description:
When using this action it emits these lines on the usage step and post step

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

Action version:

Download action repository 'actions/setup-python@v6' (SHA:e797f83bcb11b83ae66e0230d6156d7c80228e7c)

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

3.11-13, probably any version

Repro steps:

name: Setup Python

on:
  workflow_dispatch:

jobs:
  setup:
    name: Setup Python
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v6

https://github.com/Molkree/github_actions/actions/runs/17857148298/job/50778661475#step:2:9

Expected behavior:
No deprecation warnings

Actual behavior:
Deprecation warning

Metadata

Metadata

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