-
Notifications
You must be signed in to change notification settings - Fork 2
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
Control installation of Python 2 via a role variable #46
Merged
mcdonnnj
merged 6 commits into
develop
from
improvement/control-installation-of-python2-via-role-var
Sep 28, 2022
Merged
Control installation of Python 2 via a role variable #46
mcdonnnj
merged 6 commits into
develop
from
improvement/control-installation-of-python2-via-role-var
Sep 28, 2022
Conversation
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 covers the case where Python 2 is installed alongside Python 3.
DRYer is better!
jsf9k
added
blocked
This issue or pull request is awaiting the outcome of another issue or pull request
breaking change
This issue or pull request involves changes to existing functionality
improvement
This issue or pull request will add or improve functionality, maintainability, or ease of use
labels
May 18, 2022
dav3r
approved these changes
May 18, 2022
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.
Lovely! 💪 💼
mcdonnnj
approved these changes
May 19, 2022
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.
An excellent improvement. All I have are a couple of questions about packages.
…ython 2 Note that this can only be done for older Linux distributions such as Amazon Linux 2, Debian Stretch, and Debian Buster. This is because Python 2 is well past EOL and therefore the necessary Python 2 packages do not exist in newer distributions.
8 tasks
9 tasks
jsf9k
added a commit
to cisagov/cyhy_amis
that referenced
this pull request
May 24, 2022
This change is being made for testing purposes, and will be reverted after the following PRs are merged: - cisagov/ansible-role-pip#50 - cisagov/ansible-role-python#46
jsf9k
added a commit
to cisagov/cyhy_amis
that referenced
this pull request
May 24, 2022
This change is being made for testing purposes, and will be reverted after the following PRs are merged: - cisagov/ansible-role-pip#50 - cisagov/ansible-role-python#46
jsf9k
added a commit
to cisagov/cyhy_amis
that referenced
this pull request
May 25, 2022
This change is being made for testing purposes, and will be reverted after the following PRs are merged: - cisagov/ansible-role-pip#50 - cisagov/ansible-role-python#46
This was referenced Jun 7, 2022
8 tasks
mcdonnnj
pushed a commit
to cisagov/cyhy_amis
that referenced
this pull request
Jun 9, 2022
This change is being made for testing purposes, and will be reverted after the following PRs are merged: - cisagov/ansible-role-pip#50 - cisagov/ansible-role-python#46
8 tasks
jsf9k
added a commit
to cisagov/ansible-role-cyhy-feeds
that referenced
this pull request
Jun 10, 2022
Also ensure that this Ansible role works with the forthcoming code in cisagov/ansible-role-python#46 and cisagov/ansible-role-pip#50.
jsf9k
added a commit
to cisagov/ansible-role-cyhy-feeds
that referenced
this pull request
Jun 10, 2022
Also ensure that this Ansible role works with the forthcoming code in cisagov/ansible-role-python#46 and cisagov/ansible-role-pip#50.
jsf9k
added a commit
to cisagov/cyhy_amis
that referenced
this pull request
Jun 23, 2022
This change is being made for testing purposes, and will be reverted after the following PRs are merged: - cisagov/ansible-role-pip#50 - cisagov/ansible-role-python#46
mcdonnnj
pushed a commit
to cisagov/cyhy_amis
that referenced
this pull request
Jul 20, 2022
This change is being made for testing purposes, and will be reverted after the following PRs are merged: - cisagov/ansible-role-pip#50 - cisagov/ansible-role-python#46
jsf9k
added a commit
to cisagov/cyhy_amis
that referenced
this pull request
Sep 9, 2022
This change is being made for testing purposes, and will be reverted after the following PRs are merged: - cisagov/ansible-role-pip#50 - cisagov/ansible-role-python#46
mcdonnnj
deleted the
improvement/control-installation-of-python2-via-role-var
branch
September 28, 2022 23:57
7 tasks
mcdonnnj
pushed a commit
to cisagov/cyhy_amis
that referenced
this pull request
Oct 11, 2022
This change is being made for testing purposes, and will be reverted after the following PRs are merged: - cisagov/ansible-role-pip#50 - cisagov/ansible-role-python#46
mcdonnnj
pushed a commit
to cisagov/cyhy_amis
that referenced
this pull request
Oct 17, 2022
This change is being made for testing purposes, and will be reverted after the following PRs are merged: - cisagov/ansible-role-pip#50 - cisagov/ansible-role-python#46
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
blocked
This issue or pull request is awaiting the outcome of another issue or pull request
breaking change
This issue or pull request involves changes to existing functionality
improvement
This issue or pull request will add or improve functionality, maintainability, or ease of use
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🗣 Description
This pull request modifies this role to control the installation of Python 2 via a role variable. Previously Python 2 was installed only on Debian Stretch.
Note that I have added the
blocked
label because this PR should be merged along with:💭 Motivation and context
This change is part of the work that will allow us to build CyHy AMIs on top of on newer Debian releases.
🧪 Testing
All automated testing passes.
✅ Pre-approval checklist