Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Fix vagrant provisioning failure by pinning pip python version #1262

Merged
merged 1 commit into from Mar 3, 2021

Conversation

jwalgran
Copy link
Contributor

@jwalgran jwalgran commented Feb 26, 2021

Overview

This approach was copied from another project.

The development VM has only Python 2.7 installed, and the default pip was recently upgraded to only work with Python 3. This pinning ensures that the VM provisions successfully.

Updates to the Ansible version and base box are not directly related, but we updated them as well to match a more recent, working project.

Connects #1265

Testing Instructions

⚠️ Testing this PR involves deleting your VM and your local database ⚠️

  • Check out this branch
  • Delete and recreate your VM $ vagrant destroy -f && ./scripts/setup
    • Ensure it succeeds

Checklist

  • fixup! commits have been squashed
  • CI passes after rebase
  • CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

@jwalgran jwalgran requested a review from TaiWilkin March 3, 2021 15:31
@jwalgran jwalgran marked this pull request as ready for review March 3, 2021 15:33
Copy link
Contributor

@TaiWilkin TaiWilkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for figuring out the fix for this! It works very well!

This approach was copied from another project.

The development VM has only Python 2.7 installed, and the default pip was
recently upgraded to only work with Python 3. This pinning ensures that the VM
provisions successfully.

Updates to the Ansible version and base box are not directly related, but we
updated them as well to match a more recent, working project.
@jwalgran jwalgran force-pushed the bugfix/jcw/vagrant-provisioning branch from 46169aa to 493da7e Compare March 3, 2021 16:37
@jwalgran
Copy link
Contributor Author

jwalgran commented Mar 3, 2021

Thanks for the review.

@jwalgran jwalgran merged commit 1362eee into develop Mar 3, 2021
@jwalgran jwalgran deleted the bugfix/jcw/vagrant-provisioning branch March 3, 2021 20:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants