Skip to content

Python emitter using deprecated node api in install step #4283

Description

@timotheeguerin
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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions