-
Notifications
You must be signed in to change notification settings - Fork 31
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
remove support for building ansible < 6.0.0 #477
Conversation
Hmm, looks like ansible-community/antsibull-changelog@15b5bb0 broke the CI |
Why should only the setup.py template be updated, and not everything else related to older Ansible versions? Also please move the real bugfix (what you declare a 'minor change') to a separate PR, so it is separate from the breaking change (what you call 'bugfix'). |
This was one glaring example that I noticed.
Yeah, not sure why I classified that as a bugfix... I'll fix that and split this out. |
ac19497
to
05c5abf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking this as a draft to prevent accidental merging |
16cde92
to
d24ba10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably fail if ansible_version < 6.0.0 is true somewhere early on, and mention that Ansible < 6.0.0 is no longer supported by this version. Potentially already do this in src/antsibull/cli/antsibull_build.py
?
Should we allow setting some sort of env var (such as |
I would simply fail completely. If someone wants to build an older version of Ansible, they should install an older antsibull version. And if for some reason such a workaround is needed in the future, it can still be added. |
046aa20
to
bf7f315
Compare
Done! |
There is also some more code in src/antsibull/build_changelog.py that can be removed; I can do that in a follow-up PR. |
@gotmax23 thanks for doing this! |
Closes: #472