-
-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend deprecation period for python_awslambda
alias
#20101
Conversation
I tried to automatically cherry-pick this change back to each relevant milestone, so that it is available in those older releases of Pants. ❌ 2.18.xI was unable to cherry-pick this PR to 2.18.x, likely due to merge-conflicts. Steps to Cherry-Pick locallyTo resolve:
Please note that I cannot re-run CI if a job fails. Please work with your PR approver(s) to re-run CI if necessary. When you're done manually cherry-picking, please remove the Thanks again for your contributions! |
This PR extends the deprecation of the old `python_awslambda` alias for the `python_aws_lambda_function` target, to make it easier/smoother for people to upgrade to 2.18 and particularly 2.19. We renamed the `python_awslambda` target to `python_aws_lambda_function` in #19216 (in 2.18), and deprecated the old name. This was originally scheduled to be removed in 2.19, and happened in #19759, but I've reconsidered that slightly: 2.17 - 2.19 is a time of much upheaval for Pants' FaaS support, so it seems sensible to try to smooth that over if we can, especially for something like this, that's just two lines of configuration (not even "real" code).
…#20101) (#20125) This PR extends the deprecation of the old `python_awslambda` alias for the `python_aws_lambda_function` target, to make it easier/smoother for people to upgrade to 2.18 and particularly 2.19. We renamed the `python_awslambda` target to `python_aws_lambda_function` in #19216 (in 2.18), and deprecated the old name. This was originally scheduled to be removed in 2.19, and happened in #19759, but I've reconsidered that slightly: 2.17 - 2.19 is a time of much upheaval for Pants' FaaS support, so it seems sensible to try to smooth that over if we can, especially for something like this, that's just two lines of configuration (not even "real" code).
The `python_awslambda` target was replaced by `python_aws_lambda_function` in #19216, first released in 2.18.0.dev1 (the deprecation was extended in #20101). We're now up to 2.21 (#20609), and thus the deprecation has expired and this can be removed. This has been deprecated for 3 versions, and is easy for users to adapt to, so doesn't seem worth extending.
This PR extends the deprecation of the old
python_awslambda
alias for thepython_aws_lambda_function
target, to make it easier/smoother for people to upgrade to 2.18 and particularly 2.19.We renamed the
python_awslambda
target topython_aws_lambda_function
in #19216 (in 2.18), and deprecated the old name. This was originally scheduled to be removed in 2.19, and happened in #19759, but I've reconsidered that slightly: 2.17 - 2.19 is a time of much upheaval for Pants' FaaS support, so it seems sensible to try to smooth that over if we can, especially for something like this, that's just two lines of configuration (not even "real" code).