Skip to content

FIX: use py24-compatible version of virtualenv on Travis #431

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
Sep 11, 2012

Conversation

njsmith
Copy link
Member

@njsmith njsmith commented Sep 7, 2012

Travis recently upgraded to virtualenv 1.8, which has dropped support
for Python 2.4. So, in our Python 2.4 setup script, we need to
explicitly fetch and use virtualenv 1.7.

File imported from the already-fixed version for patsy:
https://github.com/pydata/patsy/blob/ed4073adaf88463b67a1c1e2b0f02aa1eba2b944/.travis-make-py24-virtualenv.sh

@@ -15,4 +17,4 @@ EOF
./configure --prefix=$PWD/install
make
make install
virtualenv -p install/bin/python2.4 --distribute $VIRTENV
install/bin/python2.4 ./virtualenv.py --distribute $VIRTENV
Copy link
Contributor

Choose a reason for hiding this comment

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

I suspect you need to use ../.virtualenv.py here, because it is executed from the Python directory.

@njsmith
Copy link
Member Author

njsmith commented Sep 8, 2012

Thanks for the catch -- I forgot that when testing this on Patsy, I didn't so much confirm that it worked as confirm that Travis had gotten wedged and then give up until later.

The amended commit does actually work: http://travis-ci.org/#!/pydata/patsy/jobs/2377994

Travis recently upgraded to virtualenv 1.8, which has dropped support
for Python 2.4. So, in our Python 2.4 setup script, we need to
explicitly fetch and use virtualenv 1.7. Likewise for pip 1.1.

File imported from the already-fixed version for patsy:
  https://github.com/pydata/patsy/blob/0316d2901f4195db06e8091c15f37d9fe4ad09de/.travis-make-py24-virtualenv.sh
njsmith added a commit that referenced this pull request Sep 11, 2012
FIX: use py24-compatible version of virtualenv on Travis
@njsmith njsmith merged commit b6a1acd into numpy:master Sep 11, 2012
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