Skip to content

py3compat fixes for %%script and tests #1907

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
Jun 11, 2012
Merged

Conversation

minrk
Copy link
Member

@minrk minrk commented Jun 11, 2012

fixes hang in test_pr, caused by error raised in background thread (%%script --bg), and main thread waiting on the close of an FD that would never close due to the error.

@minrk
Copy link
Member Author

minrk commented Jun 11, 2012

running test_pr on this one now...

@fperez
Copy link
Member

fperez commented Jun 11, 2012

Same here :)

@minrk
Copy link
Member Author

minrk commented Jun 11, 2012

hm, appears to be hanging somewhere else now.

@minrk
Copy link
Member Author

minrk commented Jun 11, 2012

oh, right - now I remember one of the reasons I haven't been running test_pr: I get a bunch of:

DistutilsSetupError: each element of 'ext_modules' option must be an Extension instance or 2-tuple

errors for every cython test, due to the reload tests having altered distutils.

@fperez
Copy link
Member

fperez commented Jun 11, 2012

Test results for commit 60a14b4 merged into master
Platform: linux2

  • python2.7: OK
  • python3.2: OK (libraries not available: cython matplotlib pygments pymongo qt rpy2 tornado wx wx.aui zmq)

Not available for testing:

@fperez
Copy link
Member

fperez commented Jun 11, 2012

Ah, since I don't have cython on py3, I don't get those. Let's merge this now as-is, we can try to work out the cython stuff elsewhere. Great job, thanks!!

fperez added a commit that referenced this pull request Jun 11, 2012
py3compat fixes for %%script and tests.

fixes hang in test_pr, caused by error raised in background thread (%%script --bg), and main thread waiting on the close of an FD that would never close due to the error.
@fperez fperez merged commit 8f74c17 into ipython:master Jun 11, 2012
@minrk
Copy link
Member Author

minrk commented Jun 11, 2012

I actually get the Cython failures on Python 2.7. I think we should probably disable all reload tests until we can figure out how to give them their own special test group.

@fperez
Copy link
Member

fperez commented Jun 11, 2012

Sounds good, I have no problem with that.

@minrk minrk deleted the py3script branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
py3compat fixes for %%script and tests.

fixes hang in test_pr, caused by error raised in background thread (%%script --bg), and main thread waiting on the close of an FD that would never close due to the error.
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