-
Notifications
You must be signed in to change notification settings - Fork 597
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
tests fail after 2020-12-31 #1705
Comments
Thanks for submitting this. I agree with this. We need to figure out a way to articulate the date in our tests so they don't start failing based on day. There are some errors that are time based. In this case as AWS EOLs a certain Lambda environment we want to provide that information to our users. @PatMyron The other thing here is that the allowed values for a Lambda environment would also change as a runtime is EOL. I wonder if we should change how some of this works to rely on AllowedValues than a specific rule for Lambda. |
As the Also multiple dates for each runtime for warn and error level, which is nice to have beyond only having errors one day |
@bmwiedemann how far into the future does the project need tests to pass? Or is the expectation that current tests pass forever? |
This is the relevant test line that'll be flagged in 2021 btw: |
closes #1705 https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html UPDATE – Oct 20, 2020 – We’re extending the support of Python 2.7 in AWS Lambda until at least June 1, 2021. https://aws.amazon.com/blogs/compute/continued-support-for-python-2-7-on-aws-lambda/
closes #1705 https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html UPDATE – Oct 20, 2020 – We’re extending the support of Python 2.7 in AWS Lambda until at least June 1, 2021. https://aws.amazon.com/blogs/compute/continued-support-for-python-2-7-on-aws-lambda/
I usually test +15y from now, because some software will be used that long in some places. But if you can make it work forever, it is even better. |
cfn-lint version: (
cfn-lint --version
) 0.36.0Description of issue.
While working on reproducible builds for openSUSE, I found that our
python-cfn-lint
package fails its tests after 2020-12-31To reproduce:
maybe from
src/cfnlint/data/AdditionalSpecs/LmbdRuntimeLifecycle.json
error log:
The text was updated successfully, but these errors were encountered: