CircleCI MacOS all come with Python 2.7 pre-installed in addition to the Python3 version that we are insterested in. Currently, python calls in MacOS default to Python 2.7. This PR should fix this
Note: these were fixes that were originally from my feature branch, feature/include-mockdwavesampler-in-unit-tests (which is not ready to be merged yet). I could have just cherry-picked these commits from that feature branch, but as several different commits touched the code that we're interested in, it was just easier to start new commits. The commit comments in this PR are mostly copied and pasted from the original feature branch commits.
Installing mock for Python 2.7 CircleCI tests
CircleCI MacOS all come with Python 2.7 pre-installed in addition to the Python3 version that we are insterested in. Currently, python calls in MacOS default to Python 2.7. This PR should fix this
Note: these were fixes that were originally from my feature branch,
feature/include-mockdwavesampler-in-unit-tests
(which is not ready to be merged yet). I could have justcherry-pick
ed these commits from that feature branch, but as several different commits touched the code that we're interested in, it was just easier to start new commits. The commit comments in this PR are mostly copied and pasted from the original feature branch commits.