aws-cloudformation / cfn-lint

CloudFormation Linter
MIT No Attribution
2.45k stars 593 forks source link

Is Valid latest release v1.3.0? #3330

Closed o-ga09 closed 4 months ago

o-ga09 commented 4 months ago

cfn-lint Version v1.3.0

You can use cfn-lint --version to check the cfn-lint version on your system

Provide additional details e.g. code snippets. Be sure to remove any sensitive data.

Is v1.3.0 the latest release for issues in cfn-lint, without pre-release?

I'm getting pip with no version specified to fail.

tanya-ok commented 4 months ago

There were problems with 1.3.0 too. For now, I temporarily set the version to 0.87.7: pip install cfn-lint==0.87.7

egut commented 4 months ago

@tanya-ok I did the same in our CI/CD.

r-heimann commented 4 months ago

For anyone wondering, v1 is now GA: https://aws.amazon.com/blogs/devops/aws-cloudformation-linter-v1/

o-ga09 commented 4 months ago

@r-heimann Thanks you!!! I see. v1 is released now GA

QuinnyPig commented 4 months ago

Original cfn-lint to cfn-lint v1 has some breaking changes. What in the wide world of sports is going on with this insane versioning scheme?

kddejong commented 4 months ago

Sorry for the weird jump to 1.3 as I worked to rewrite cfn-lint from specs to schemas I went through a few iterations of the logic. During testing (my own and customer feedback) I was evaluating the results and how to better scale going forward so I would do a rewrite of a portion of the solution and bump the version. We did pre-releases into pypi (now mostly removed) and GitHub releases (still exist) but unless you are providing the correct parameters (or watching our different communication channels) you wouldn't have seen them or tested them.

I would suggest using pip install "cfn-lint<1" instead of pip install cfn-lint==0.87.7 as we will continue to update the v0 version with fixes and new versions of the specs as they are released (deprecation date TBD). Please submit any issues you may find as I'm working quickly to resolve them. If we were integrating into cfn-lint either with another python package or using custom rules we can have a discussion about how to modify your rules to work with the schemas and the deprecated code.

Since we only had one major version upgrade in the 6 years of cfn-lint this next question may not arise a lot. My goal has always been to make your life easier when working with CloudFormation. For future knowledge and to improve this process going forward please let me know what I could have done differently.