-
Notifications
You must be signed in to change notification settings - Fork 79
Revert 66fb6a1
: "Avoid compatibility problems with PyPy + dill"
#109
Comments
Note that commit aa7a715 extends these workarounds to add IronPython as well. It doesn't like dill either. |
@irmen Thanks. Fortunately you are right, it is not a lot of code, so it will be easy to revert anyway. I just wrote a message to Dill's developer to know if there is any work-in-progress or update in relation to PyPy compatibility. |
The patch noted above is merged, and I've also fixed a number of the remaining compatibility issues. There are still a few that I can see that remain, however, which I need to get back to soon. I should note (I saw discussion in the original PR from @Peque) that you can
|
any progress with dill? (sorry I haven't bothered to investigate myself). |
@irmen yes, there has been some progress! I will try to test the latest changes this week (did not find time before). 😇 |
awesome, thanks. |
It seems the tests do not pass yet. 7 fails, detailed here: https://gist.github.com/Peque/be752e1fa6f4e845ace9607d803fb0f7 They all end in the form:
@mmckerns Any ideas? 😊 |
Aha… this appears to be an issue that is not tested in the main |
@mmckerns Thanks. ❤️ I will keep an eye on that issue and try again when it is solved. |
Ok. I don't think I'll wait for this for the upcoming Pyro release, it will (hopefully) land in the one after that. |
@irmen Sure, go ahead. Let us hope it will be ready for the next release. 😊 |
any progress on this front? 👷 |
@irmen I don't think so. I may try to contact Mike this weekend and propose him a deal: he works on this, I help him setting up CI in |
okay thanks for the update! |
I have not had time to resolve this issue yet, but you can track the progress here: (uqfoundation/dill#175). I may be able to get to it over the next week or so, and hopefully it's easy to solve. Basically, I think the only compatibility issue I can see is with the |
It seems there are some updates related to this: There is a discussion in PyPy's Bitbucket (where Armin Rigo himself has been very diligent and helpful): https://bitbucket.org/pypy/pypy/issues/2464/getset_descriptor-cannot-access So, hopefully, everything will be fixed and ready for the next PyPy and dill versions. 😊 Thanks a lot, @mmckerns. |
Nice to hear! |
The latest builds of |
thanks |
@irmen Last commit in PyPy related to this issue is from an hour ago, so it will require next version (not-yet-tagged). I guess right now the only way to try this is with the PyPy latest development version. I haven't download it nor try it yet, though. Maybe next week I'll find some time to download it and try it to see if everything is fixed. Regarding the "keep the checks in place" issue... I guess that is as you wish, you are the owner. 😉 |
I have been testing against the |
I suppose it is enough to add a warning in the docs that using dill will require a very recent pypy version with the needed changes to support it. And remove the workarounds from the code. That way we don't have to wait for an official release version and don't have to stick around with ugly version checks in the pyro code. For Ironpython it just doesn't work but I guess the choice of using a particular python implementation that doesn't fully support the serializer the user chooses, is the problem of the user and not of Pyro. |
@irmen Agree. Although maybe we should wait for an official PS: couldn't try the latest changes with |
A new |
There's no need to hurry things. Although I don't know what pypy's release schedule is |
No worries, it's a planned release. |
@irmen They do not have a fixed schedule, I think, but it is usually each couple of months. This year there is no release yet, but last year there were in November, September, August, June, May, April, March... So I hope it wont take much longer to see a new release this year. 😊 |
commit c6cf81c removes most of the platform checks with dill, in anticipation of the new releases |
I noticed the new dill release came out recently, and indeed it fixes the issues with pypy. For Pyro's test suite, we don't even need the latest pypy release to successfully complete |
Dill was recently added as a new serialization method in Pyro. However, some ugly fixes where made to workaround PyPy+dill compatibility issues.
These fixes should be reverted as soon as Dill fixes its PyPy compatibility issues. It seems there is a patch already that may fix those issues, but it has not being integrated in Dill yet.
I am subscribed to both threads in Dill, so I will update this issue with any relevant information.
The text was updated successfully, but these errors were encountered: