You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The current deprecation policy provides very little guarantee of stability across versions and time, even for elements of the public-facing API. This results in a considerable amount of churn for users.
Although this can be somewhat helped by tooling to help upgrade, tooling doesn't help with:
scripting outside of Pants
reverting to past versions
muscle memory learned by typing things
The rapid change can also give the impression that Pants is unstable, unpolished, or otherwise not ready for game time. Though many of the features being provided are really interesting, they could also hinder adoption if care is not taken in how they are presented or conserved across versions.
Describe the solution you'd like
We need a deprecation policy that does allow for some churn, and pushes us to have good defaults, but also doesn't break existing users, or does so as sparingly as possible.
To do this we'll have a design doc that we can discuss on, and then we can write a formal deprecation policy based on that.
Describe alternatives you've considered
n/a
Additional context
This was discussed in the Pants contributor meeting on Aug 15, 2022
The text was updated successfully, but these errors were encountered:
…].repos` (#16582)
`find_links` matches the Python ecosystem with pip and Pex. This would have been a better name from the start.
At the same time, we are trying to give stronger backward compatibility for users: #16547. It's relatively cheap for us to support both option names ~indefinitely.
Note that #15627 took away the ability to give multiple flag names for the same option, which we could have used here. I debated reviving that, but I think this is preferable because it makes clear which option is preferred. Users will get a deprecation message when using `[python-repos].repos`, although they can silence it with `--ignore-warnings`.
[ci skip-rust]
…].repos` (pantsbuild#16582)
`find_links` matches the Python ecosystem with pip and Pex. This would have been a better name from the start.
At the same time, we are trying to give stronger backward compatibility for users: pantsbuild#16547. It's relatively cheap for us to support both option names ~indefinitely.
Note that pantsbuild#15627 took away the ability to give multiple flag names for the same option, which we could have used here. I debated reviving that, but I think this is preferable because it makes clear which option is preferred. Users will get a deprecation message when using `[python-repos].repos`, although they can silence it with `--ignore-warnings`.
[ci skip-rust]
Is your feature request related to a problem? Please describe.
The current deprecation policy provides very little guarantee of stability across versions and time, even for elements of the public-facing API. This results in a considerable amount of churn for users.
Although this can be somewhat helped by tooling to help upgrade, tooling doesn't help with:
The rapid change can also give the impression that Pants is unstable, unpolished, or otherwise not ready for game time. Though many of the features being provided are really interesting, they could also hinder adoption if care is not taken in how they are presented or conserved across versions.
Describe the solution you'd like
We need a deprecation policy that does allow for some churn, and pushes us to have good defaults, but also doesn't break existing users, or does so as sparingly as possible.
To do this we'll have a design doc that we can discuss on, and then we can write a formal deprecation policy based on that.
Describe alternatives you've considered
n/a
Additional context
This was discussed in the Pants contributor meeting on Aug 15, 2022
The text was updated successfully, but these errors were encountered: