-
Notifications
You must be signed in to change notification settings - Fork 25
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
Py3 status (site, README) #23
Comments
I'm not sure, actually. If you can try it out and contribute on how are we doing on Python 3.0, I'd be very thankful. |
I don’t have Python 3.0, but I have Python 3.2. I know there are some feature-level differences between the two…but I don’t know what they are. :-/ But I can see how things go on 3.2. Ironically, I’m kind of new to testing. (That’s what made me look around for different frameworks; PyVows was the most attractive. ☺) Could you walk me through what I need to do to test PyVows on Python 3.2? |
I meant 3.2. The lastest version, hehehe. Sure, you just need to run pyvows test suite in python 3.2. Pyvows tests itself. ;) Just run its suite. Even though that does not prove that every SINGLE feature works, it will Cheers, |
UpdateLooks like it won’t be possible until we ditch GEvent. (See #55.) In the meantime…GEvent itself wants to support Python 3. They want to support Python 2.x as far back as 2.5, which was causing them grief when they didn’t know how to deal with the different syntaxes for exception handling. It seems they have overcome this particular barrier, and are working on Python 3 support. (See gevent/gevent#38) |
What about using pyuv? |
I've got PyVows working with Python 3.4 in my project (https://github.com/davedoesdev/python-jwt). You need import sys
if sys.version_info >= (3, 0):
import pyvows.reporting.common
pyvows.reporting.common.unicode = str
import inspect
_orig_ismethod = inspect.ismethod
inspect.ismethod = lambda o: _orig_ismethod(o) or inspect.isfunction(o) |
w00t w00t! That is great news! :) I haven’t had time for this project in ages, but it’s still very important to me. I really appreciate any help. Spur-of-the-moment thought: For Python 3, going with These are not mutually exclusive. I can imagine the Have you had any experience with I’ve watched Guido’s talks on it over and over, and I totally get the large-scale concepts…but whenever I try to play around with it, I have trouble turning my ideas into code. Even though I love Python and dislike (but not hate!) JavaScript, wrapping my brain around how to code using I think sticking with …I’m so excited! Thanks again for your work on this! :) |
@Zearin let me know if you need any help. |
I got distracted yesterday and forgot to check your work. I can do it today in the next hour or two. TTYS! |
@davedoesdev Can you give me instructions on how to run your project’s tests after a fresh |
|
I noticed when I ran |
Latest output:
Holy CRAP! You have 50K tests with a 15-minute runtime?!?! Now that is some thoroughly tested code. No wonder you’re using PyVows! (I still can’t even believe it still takes PyVows 15 minutes to run the tests!) |
Reason for |
@davedoesdev I did the following:
And I got the following output:
|
Interesting. What spec is the machine running the test? It may be that I need to increase the expiry time. |
The other option is to decrease the parallelism, which might be easier. |
The PYTHONPATH=. ./test/run/run_pyvows.py test/pem_as_hmac_key_vows.py |
Btw - is there a way to control how many batches PyVows runs at once? |
Ah it seems not. It seems all batches from all suites are run in parallel at once. |
I should have a patch tomorrow which monkey patches PyVows to run batches in series, which should help the expiry problem. Just tidying things up. |
@Zearin could you pull and try running the test again please? The latest code runs batches in series so hopefully the tokens won't expire on your machine now. |
Okay! First bit:
Then, the real part:
w00+! |
@davedoesdev Thoughts? |
So you have the PyVows tests for python_jwt working now on Python 3? |
Cool. And thanks—I appreciate all your help on this! |
@Zearin did you manage to get those patches across? |
Alas… I am truly happy that PyVows is finally on its way to supporting Python 3, but I have been out of touch with the project for years now. Once I worked on PyVows quite a bit, but that time is past. I’ve moved onto other testing suites now.
I was going to reply to this with a “No…sorry!” message, when I realized that my heart just isn’t in the project anymore. Make no mistake—I still care about it and want it to succeed! It was the first open source project I made nontrivial contributions to, and was eventually invited to join the dev team. I enjoyed that time. But I’ve moved on. Perhaps it’s time for someone new to take my place… @davedoesdev: Would you be interested in taking over as custodian of the project? @heynemann: If @davedoesdev accepts, are you okay with making him a collaborator? |
Definitely ok with it.
|
Love to but with $DAYJOB and my own projects I don't have enough time. |
Just started with PyVows, and I love it. I’m about to try it with some Python 3, but it would be nice if the website or README let me know what PyVows Python 3 status is without having to check for myself. :)
Thanks for a freakin’ great module! :D
Update: Checklist
The text was updated successfully, but these errors were encountered: