Issue1195

classification
Title: Issue with zope.interface
Type: crash Severity: major
Components: Core Versions: 2.5.1
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: pjenvey, thijs
Priority: Keywords:

Created on 2008-12-08.20:19:16 by thijs, last changed 2008-12-08.21:05:14 by pjenvey.

Files
File name Uploaded Description Edit Remove
jython-zope.txt thijs, 2008-12-08.20:19:15
Messages
msg3889 (view) Author: Thijs Triemstra (thijs) Date: 2008-12-08.20:19:14
While trying to import zope.interface 3.3.0 or 3.5.0 into Jython trunk 
(r5721), it blows up with an error. See attached textfile for the full 
traceback. We encountered this issue while trying to make Twisted run on 
Jython (zope.interface is it's only required dependency).
msg3892 (view) Author: Thijs Triemstra (thijs) Date: 2008-12-08.21:01:25
Sorry guys, this was a bad build on my side, after 'ant clean', 'ant' it 
worked, feel free to close the ticket. Some other random info; we tried 
pyOpenSSL with Jython but got an expected error that can't be worked 
around I guess..

pyOpenSSL-0.8$ jython setup.py install
running install
running build
running build_py
creating build
creating build/lib.java1.5.0_06-2.5
creating build/lib.java1.5.0_06-2.5/OpenSSL
copying ./__init__.py -> build/lib.java1.5.0_06-2.5/OpenSSL
copying ./__init__.py -> build/lib.java1.5.0_06-2.5/OpenSSL
copying ./tsafe.py -> build/lib.java1.5.0_06-2.5/OpenSSL
copying ./version.py -> build/lib.java1.5.0_06-2.5/OpenSSL
creating build/lib.java1.5.0_06-2.5/OpenSSL/test
copying ./test/__init__.py -> build/lib.java1.5.0_06-2.5/OpenSSL/test
copying ./test/test_crypto.py -> build/lib.java1.5.0_06-2.5/OpenSSL/test
copying ./test/test_ssl.py -> build/lib.java1.5.0_06-2.5/OpenSSL/test
running build_ext
building 'OpenSSL.crypto' extension
error: Compiling extensions is not supported on Jython
msg3893 (view) Author: Philip Jenvey (pjenvey) Date: 2008-12-08.21:05:13
No worries, I knew it was an ant clean issue as soon as I looked at the 
log

We obviously don't support C extensions, so that error is expected. If 
pyOpenSSL has a pure python fallback module for its C modules, I can 
point you to some other projects' setup.pys that will fail gracefully on 
Jython and instead use their pure python fallbacks.

But last time I checked pyOpenSSL required the C stuff. So it just plain 
won't work on Jython
History
Date User Action Args
2008-12-08 21:05:14pjenveysetstatus: open -> closed
resolution: invalid
messages: + msg3893
nosy: + pjenvey
2008-12-08 21:01:25thijssetmessages: + msg3892
2008-12-08 20:19:16thijscreate