-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
compatibility with pypy #73
Comments
As noted here: https://pypy.readthedocs.org/en/release-2.4.x/ctypes-implementation.html#discussion-and-limitations, |
Ok, so I have tested dill with pypy after the fix, (have build and Traceback (most recent call last): metadata_fpath='/home/imazor/adjust_etl/high_performance/metadata.pickle') Regarding helping in testing CellType - will be happy, however dont have On Tue, Jan 13, 2015 at 3:27 PM, Mike McKerns notifications@github.com
-------------------------------------------------------------------------- Igor Mazor Rocket Internet AG | Johannisstraße 20 | 10117 Berlin | Deutschland Geschäftsführer: Dr. Johannes Bruder, Arnt Jeschke, Alexander Kudlich |
Ok, so what I'm going to do is just keep removing any problematic objects (hopefully, very few) from the To test what objects build and which don't, once you have an install (built from source)… you'll just need to run one of the tests, and post the output. Here's the known collection of serialization failures I see for
If you could do similarly for your version of |
Ok, so dill with pypy at the moment do give me any error, how ever Traceback (most recent call last): metadata_fpath='/home/imazor/adjust_etl/high_performance/metadata.pickle') On Wed, Jan 14, 2015 at 2:55 PM, Mike McKerns notifications@github.com
-------------------------------------------------------------------------- Igor Mazor Rocket Internet AG | Johannisstraße 20 | 10117 Berlin | Deutschland Geschäftsführer: Dr. Johannes Bruder, Arnt Jeschke, Alexander Kudlich |
Ok, then I'll close this issue if you ran the Your last post above is a |
For dill, I haven't still ran the tests, only my script that was failing.
|
danke |
OK, the test results: pypy --version pypy test_objects.py On Wed, Jan 14, 2015 at 6:31 PM, Mike McKerns notifications@github.com
-------------------------------------------------------------------------- Igor Mazor Rocket Internet AG | Johannisstraße 20 | 10117 Berlin | Deutschland Geschäftsführer: Dr. Johannes Bruder, Arnt Jeschke, Alexander Kudlich |
Oh… I should have though of that. The only real way to deal with that is for me (or someone) to work through this test, commenting out each object that fails -- and then later uncommenting them when it's figured out how the object is built in However, if you could run the other tests and let me know which ones fail (no need to paste the traceback -- just the list of who fails), then that will check the major functionality for I'm guessing the functionality is such that I can close this ticket, and open new tickets for specific cases where |
very well, I have ran all the other tests with pypy. On Thu, Jan 15, 2015 at 2:52 PM, Mike McKerns notifications@github.com
-------------------------------------------------------------------------- Igor Mazor Rocket Internet AG | Johannisstraße 20 | 10117 Berlin | Deutschland Geschäftsführer: Dr. Johannes Bruder, Arnt Jeschke, Alexander Kudlich |
Ach, that's worse than I expected. I'll leave this ticket open, and have to work with it a bit myself. At least |
I should mention that "AttributeError: 'function' object has no attribute 'objclass'" is not related to multiprocessing. It's a bug happening when you want to pickle a simple function:
|
There's a patch that was recently submitted (#131), and I don't remember why I didn't merge it b/c I didn't comment on it… I think because I don't have |
@mmckerns I would be interested in this issue. I am trying to add support for |
@mmckerns also, have you thought about adding a |
I've just installed |
It looks like after 9967dd7 only a few of the tests still fail -- |
Test failures look minor, as noted here: 044dd1d. Generally seem to be due to |
@mmckerns Any updates on this issue? 😊 |
@Peque: I've been otherwise occupied for about a month. I'll return to this issue and see if I can close it up when I'm no longer on fire -- I expect that will be in a few days. |
Also encountered this issue for similar reasons from @Peque. I am using |
@EntilZha: interesting module. You may want to also check out my |
All tests for |
@mmckerns that is really good news, thanks for your hard work! 😊 |
It's probably worth noting that a slightly different set of things pickle under |
Any idea when this would go out to PyPI? |
You mean, when will the next release be? I'm shooting for less than a month from now. |
@mmckerns How do you launch the tests? In my case, I get errors with:
And:
Could this |
@Peque: I launch them manually. I know, shame on me for not having a better testing infrastructure, but it simply hasn't happened yet. So, I get the same results as you… however, these are expected. Those two particular tests are not typical tests, in the sense that they produce output. The first one, In short, if that is the output you are receiving, from all the tests in the test directory, then you are seeing all tests PASS. |
However, the output from I'm going to open the above as a new ticket (#175). |
@mmckerns Once again, thanks for your effort and for making |
Looks like there are some compatibility issues with
dill
andpypy
: see uqfoundation/pathos#50. Apparentlyctypes
inpypy
does not have aCellType
… or at least this import fails:Initial fix will be to disable the
CellType
forpypy
The text was updated successfully, but these errors were encountered: