<#17961 Warning about deprecation of [python-repos...
# github-notifications
q
#17961 Warning about deprecation of [python-repos].repos option that doesn't appear in pants.toml Issue created by huonw Describe the bug When I run a recent pre-release version of pants (between 2.16.0.dev4 and 5b13bdd), I get a warning about an option that doesn't appear in the
pants.toml
file:
Copy code
15:22:49.41 [WARN] DEPRECATED: option 'repos' in scope 'python-repos' is scheduled to be removed in version 3.0.0.dev0.

A deprecated alias for `[python-repos].find_links`.
This is with an absolutely minimal pants.toml: https://gist.github.com/huonw/9424a2a6d63f4c14826d5cbbc98c702c
Copy code
[GLOBAL]
pants_version = "2.16.0.dev4"

[anonymous-telemetry]
enabled = false
Copy code
git clone <https://gist.github.com/huonw/9424a2a6d63f4c14826d5cbbc98c702c>
cd 9424a2a6d63f4c14826d5cbbc98c702c

# OK (no warnings): 2.16.0.dev4
./pants version

# BUG (warnings): more recent commit
PANTS_SHA=5b13bdd36ec8cd27c565b15122c1ca5344a597f7 ./pants version
# ... [WARN] DEPRECATED: option 'repos' in scope 'python-repos' is scheduled to be removed in version 3.0.0.dev0. ...
Pants version 5b13bdd OS macOS Additional info https://gist.github.com/huonw/9424a2a6d63f4c14826d5cbbc98c702c pantsbuild/pants