setup-python
setup-python copied to clipboard
Action emits `[DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.`
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:
- [x] Ubuntu
- [ ] macOS
- [ ] Windows
Runner type:
- [x] 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