Skip to content
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

Introduce a controlled env for pex testing. #517

Merged
merged 4 commits into from
Jun 15, 2018

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Jun 15, 2018

Although this could be used as a stepping stone to containerized
Travis CI, in the short term it helps me have a working test
environment. The pex.testing.ensure_python_interpreter fails to
install CPython 2.7.9, 2.7.10, etc. on Arch Linux atm.

Although this could be used as a stepping stone to containerized
Travis CI, in the short term it helps me have a working test
environment. The `pex.testing.ensure_python_interpreter` fails to
install CPython 2.7.9, 2.7.10, etc. on Arch Linux atm.
@jsirois
Copy link
Member Author

jsirois commented Jun 15, 2018

Supports work on #509 and #510.

@jsirois
Copy link
Member Author

jsirois commented Jun 15, 2018

N.B: This allows me to run test_interpreter.py green where I couldn't before via:

./dtox.sh -epy27-requests -- -vktest_interpreter.py

@jsirois jsirois requested a review from kwlzn June 15, 2018 04:49
Copy link
Contributor

@kwlzn kwlzn left a comment

Choose a reason for hiding this comment

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

lgtm

dtox.sh Outdated

exec docker run \
--tty \
--rm \
Copy link
Contributor

Choose a reason for hiding this comment

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

might this need a -i here too for e.g. pdb? or does --tty imply that?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup, I had not thought about interactive tox commands. Added.

@jsirois jsirois merged commit 132a127 into pex-tool:master Jun 15, 2018
@jsirois jsirois deleted the issues/509-510/reproducible_test_env branch June 15, 2018 15:06
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