-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove support for building ansible < 6.0.0 (#477)
* ansible setup.py: Remove code for old versions Relates: #472 * remove other code for < ansible 6 * error when trying to build an unsupported version
- Loading branch information
Showing
5 changed files
with
32 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
removed_features: | ||
- Remove code to build ansible versions < 6.0.0 from the ``setup.py`` | ||
template and elsewhere in the codebase. | ||
``antsibull-build`` will error out if a user attempts to build | ||
an unsupported version | ||
(https://github.com/ansible-community/antsibull/pull/477). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright (C) 2023 Maxwell G <maxwell@gtmx.me> | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or | ||
# https://www.gnu.org/licenses/gpl-3.0.txt) | ||
|
||
""" | ||
Constants used throughout the antsibull codebase | ||
""" | ||
|
||
from __future__ import annotations | ||
|
||
from packaging.version import Version as PypiVer | ||
|
||
MINIMUM_ANSIBLE_VERSION = PypiVer('6.0.0') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters