<#17598 deprecation warning should display package...
# github-notifications
q
#17598 deprecation warning should display package that triggered the deprecation New issue created by tdyas Saw the following deprecation warning while developing on pants
main
branch:
Copy code
20:01:54.23 [WARN] DEPRECATED: `pants.engine.environment.Environment` is scheduled to be removed in version 2.17.0.dev0.

Use `pants.engine.env_vars.EnvironmentVars`.
20:01:54.23 [WARN] DEPRECATED: `pants.engine.environment.EnvironmentRequest` is scheduled to be removed in version 2.17.0.dev0.

Use `pants.engine.env_vars.EnvironmentVarsRequest`.
20:01:54.25 [WARN] DEPRECATED: `pants.engine.environment.CompleteEnvironment` is scheduled to be removed in version 2.17.0.dev0.

Use `pants.engine.env_vars.CompleteEnvironmentVars`.
It is probably coming from the Toolchain plugin, but the deprecation warnings do not display the package that is triggering the deprecation warning. They should. pantsbuild/pants