Skip to content
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 Python version check #167

Merged
merged 2 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions changelogs/fragments/167-python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- "Adjust the Python version check in ``main()`` to test for Python 3.9 instead of 3.6, which is the minimum required Python version since version 0.18.0 (https://github.com/ansible-community/antsibull-changelog/pull/167)."
4 changes: 2 additions & 2 deletions src/antsibull_changelog/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,8 +869,8 @@ def main() -> int:
See constants.py for the return codes.
"""

if sys.version_info < (3, 6):
print("Needs Python 3.6 or later")
if sys.version_info < (3, 9):
print("Needs Python 3.9 or later")
return C.RC_OLD_PYTHON

return run(sys.argv)