Skip to content

Travis: improve macos setup (py37) #4835

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

Merged
merged 1 commit into from
Feb 26, 2019

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Feb 26, 2019

No description provided.

@blueyed

This comment has been minimized.

- brew update
- brew upgrade python
- brew unlink python
- brew link python
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The "brew update/upgrade" is very slow.
This uses pyenv instead to activate/use the 3.7.1 Python that should be available.

python: '3.7'
- which python3
- python3 --version
- ln -sfn "$(which python3)" /usr/local/bin/python
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It has 3.7.0 in /usr/local/bin/python3.
I think that is good?!

@blueyed
Copy link
Contributor Author

blueyed commented Feb 26, 2019

@blueyed
Copy link
Contributor Author

blueyed commented Feb 26, 2019

We could also use _PYTEST_TOX_COVERAGE_RUN=python3, but I think it is better to setup python.

`brew update` and `brew upgrade python` is very slow.

This uses the existing `/usr/local/bin/python3` (3.7.0).
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@nicoddemus nicoddemus merged commit af706ed into pytest-dev:master Feb 26, 2019
@blueyed blueyed deleted the travis-macos branch February 26, 2019 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants