-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Adds _PYPY to twisted.python.compat #223
Conversation
Current coverage is 88.48%@@ trunk #223 diff @@
==========================================
Files 821 821
Lines 143608 143614 +6
Methods 0 0
Messages 0 0
Branches 13205 13206 +1
==========================================
- Hits 129419 127082 -2337
- Misses 11947 14144 +2197
- Partials 2242 2388 +146
|
|
@markrwilliams I am trying to merge your patch, but the codecov checks which were recently made mandatory are preventing me from doing the merge. See: #223 , in the section Some checks were not successful Your changes are legit, so there is nothing on your side. @adiroiban @glyph I think we need to add pypy to the list of coverage reports that are uploaded to codecov. I don't know how to do that. Can you help? |
| @@ -262,8 +261,8 @@ def __reduce__(self): | |||
|
|
|||
| def __getstate__(self): | |||
| log.msg( "WARNING: serializing ephemeral %s" % self ) | |||
| import gc | |||
| if '__pypy__' not in sys.builtin_module_names: | |||
| if _PYPY: | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pretty sure this condition is backwards, should be if not _PYPY
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right :(
|
this is ugly, but yes, we need to add a coverage report for pypy. I am trying to get coverage report for pypi....see twisted-infra/braid#209 I would say that if someone cares about Twisted on PyPy, the work should start by fixing the current tests to make PyPy a supported platform. |
|
@adiroiban At the Twisted Meetup in San Francisco, @markrwilliams mentioned that he was interested in fixing the tests that are breaking on pypy, so he is working on it. |
|
That's exactly what I'm aiming to do :) I've got set of changes that (seem If it makes getting coverage working easier I can push them as one On Sun, Jun 26, 2016 at 1:09 PM, Adi Roiban notifications@github.com
|
|
@markrwilliams hold on and wait for the pypy coverage buildbot to be set up. |
|
I am trying to build pypy with travis-ci ... and have it in the allow_failures |
|
@adiroiban ok! thank you!! |
|
The PyPy Travis-CI part has this ticket https://twistedmatrix.com/trac/ticket/8505 ... hope it will be easy :) |
|
See #226 ... I am stuck as it looks like coverage is not working on PyPy. @markrwilliams please take a look and see if you can help. Thanks! I am a simple py2.7 gui and I have never used the fancy py3 or pypy versions :) |
|
@adiroiban good news - i can reproduce the coverage failure on my laptop. i'll dig in and see if i can figure things out. thanks!! |
|
@markrwilliams thanks! Please send your feedback to #226 so that we can have it fixed in trunk. |
1ae0792
to
d1441e2
Compare
|
@glyph @adiroiban Can you override codecov and merge this? codecov is blocking this, |
|
Closing this due to this review feedback: https://twistedmatrix.com/trac/ticket/8503#comment:7 |
|
@glyph based on your latest feedback, can you merge this PR? codecov is blocking it. |
Taken from #221
See: https://twistedmatrix.com/trac/ticket/8503