Skip to content

Python emitter using deprecated node api in install step #4283

Open

Description

packages/typespec-python install$ tsx ./eng/scripts/setup/run-python3.ts ./eng/scripts/setup/install.py
packages/typespec-python install: (node:2629) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
packages/typespec-python install: (Use `node --trace-deprecation ...` to show where the warning was created)
packages/typespec-python install: Done
packages/typespec-python prepare$ tsx ./eng/scripts/setup/run-python3.ts ./eng/scripts/setup/prepare.py
packages/typespec-python prepare: (node:2670) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
packages/typespec-python prepare: (Use `node --trace-deprecation ...` to show where the warning was created)
packages/typespec-python prepare: Collecting pyright==1.1.391 (from -r /home/runner/work/typespec-azure/typespec-azure/packages/typespec-python/dev_requirements.txt (line 2))
packages/typespec-python prepare:   Downloading pyright-1.1.391-py3-none-any.whl.metadata (6.7 kB)
packages/typespec-python prepare: Collecting pylint==3.2.7 (from -r /home/runner/work/typespec-azure/typespec-azure/packages/typespec-python/dev_requirements.txt (line 3))

The error is coming from the execution of the TS script packages/typespec-python/eng/scripts/setup/run-python3.ts

Activity

  1. Copilot commented on Apr 22, 2026

    Copilot
    Contributor

    The agent encountered an error and was unable to start working on this issue: The service is temporarily unavailable. Please try again later. (Request id: 4EB9:7E024:17E7E1:181AD5:69E8F553)

  2. added a commit that references this issue on Apr 28, 2026
    997baa9
  3. timotheeguerin commented on May 6, 2026

    @timotheeguerin
    MemberAuthor

    reopening as it seems there is at least another place where this is getting flagged

    packages/typespec-python install$ tsx ./eng/scripts/setup/run-python3.ts ./eng/scripts/setup/install.py
    │ (node:64697) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
    │ (Use node --trace-deprecation ... to show where the warning was created)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions