-
Notifications
You must be signed in to change notification settings - Fork 115
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
Python 3.x compliance #33
Comments
You can run the tests either by running beanstalkc.py itself Thanks for looking into this (it's a long-standing issue: #13). beanstalkc currently aims to stay backwards compatible to 2.6. |
Thanks. Not sure why, but the same command wasn't working for me yesterday If I am able to retain 2.6 compatibility and have all the test cases pass On Wed, Jun 5, 2013 at 11:02 PM, Andreas Bolka [email protected]:
http://blog.dhananjaynene.com twitter: @dnene |
Yes, if you can maintain 2.6+ compatibility, a pull request would be very welcome. I'd also be interested in results regarding 3.2 (and probably 3.1). |
+1 for Python 3.3 compatibility |
I went to make an attempt here. I'm not sure how to proceed and still keep doctests. Example below running python3.4
Not sure how to proceed for that. |
If there are others who would like to try, this was my [tox]
envlist = py26,py27,py34
[testenv]
deps=
nose
pyyaml
commands=nosetests -c .nose.cfg Write that into the repo root as tox.ini, |
syntax error on py3.3 |
Any progress on Py 3.x? |
+1 to make it clear this is desired. Here is a pull request towards 2.x and 3.x support: #52. |
Hey, |
@earl is it possible to merge in the pull request and to make beanstalkc 3.x compatible? I don't think the situation regarding SLES 12 has changed much but having two nearly identical projects isn't a good thing. |
Thanks, everyone, for the continued interest in getting beanstalkc to run on Python 3. I'll be tending to this over the next few days (or weeks, if necessary), with the aim of getting a properly Python 3-enabled beanstalkc 0.5.0 released before the end of 2014. As a first step, I'll be cleaning up issues & pull requests to focus discussion. Please, everyone interested in Python 3 support, follow / subscribe to issue #13. This is where the discussion will continue. |
I did a quick modification for python 3.x compliance (See dnene@1acb0eb )
I haven't quite figured out how to run the existing test cases so created my own at test/test_beanstalkc.py
Could you describe what commands I need to run and from which directory to execute the test cases. That can help me work through any other issues.
The tests in test/test_beanstalkc.py are successful across both python 2.7 and 3.3
The text was updated successfully, but these errors were encountered: