-
Notifications
You must be signed in to change notification settings - Fork 137
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
Does pylibmc support Python3.3? #146
Comments
Yes, but not in any release yet, I'm afraid! Check out the py3k branch, there's an almost release-ready port.
|
Thanks for letting me/us know Ludvig. I'm fairly new to working on my own VPS, so I'm wondering if there are any instructions for building from the py3k branch so as to get things operational on my Ubuntu 13.10 server? |
Quite possibly you would need a lot of the -dev stuff in Ubuntu, not sure myself as I don't use that particular distribution. Perhaps look into that, then get libmemcached installed, and finally the pylibmc py3k branch. Hope it works out! |
Also, you will need the Python development headers. |
Ludvig, based on your own availability can you give an approximate time frame for the anticipated releasing the py3k version ...1/3/6 month etc...so we can plan around that? Already working as a core team member on a couple of other OS projects so don't have the bandwidth to jump in on pylibmc but it works great 👍 |
- Take maintainership - Enable AUTOPLIST - Limit to Python 2.x [1] - Adjust COMMENT - Update LICENSE (BSD3CLAUSE) - Re-order USE{_*} entries [1] lericson/pylibmc#146
Good question, @eskhool -- it's hard to say since there is no release schedule. I think the py3k branch is becoming feature-complete; what remains now is to test it and see that it works as it should. I would like to do this myself, but sadly I don't come into contact with Python 3.x too much :/ |
@lericson ...Thanks for the update..I will be migrating a major project that relies on pylibmc with Django so it will see some degree of testing ...how about a label or convention for py3 issues to seperate them out |
Sure, slap 'em on. |
@eskhool For what it's worth, I've been using my pylibmc fork in production for few months as part of a Django (1.6) project. I haven't experienced any problems whatsoever. |
WRT the 3.x merge, is there a PyPI release coming to include py3 support? |
I would be happy to, but until I or somebody else gets the time to really test these changes I'm not confident enough in the product to release it. |
@lericson Will running the test suite on Python 3.3 & 3.4 suffice? |
It's a start! We need to test the cartesian product of py{2.6,2.7,3.4,3.5} and libmemcached-{0.44,0.55,1.0.x}
|
Hey guys, I ran the test suite in Python 3.x during EuroPython but was unable to get the tests to pass. Any others with the same issue? Did you find a solution? |
Would an addition to the travis-ci file (along the lines of http://docs.travis-ci.com/user/build-configuration/#The-Build-Matrix) enable a matrix build for the combinations? |
It is certainly possible, but you'd have to make a builder script for libmemcached first. Travis CI bundles it for us, as it currently stands. |
Hi, I made a travis-ci 2 x 2 matrix with Python 2.7, 3.4 and libmemcached 0.44, 1.0.8. I made a libmemcached PPA for the 1.0.8 environment. Results: https://travis-ci.org/p-lewis/pylibmc Looks like python 2 is failing tests, and python 3 is not building. Happy to continue working on this, but I'd like to know what I should do next. Submit a PR as is? Try and fix build errors? Thanks. |
Your py3k branch is way behind -- you should test off of master. The failures you're seeing were fixed quite a while ago (the Python 3.4 build failure at the end of May, for instance). |
@hfalcic thanks, I didn't realize the py3k changes were in master. I've updated and run against master, and the 2x2 matrix is passing. I can build out the rest of the matrix shortly. What version did you want for libmemcached 0.5x? I didn't see an 0.55, I see a 0.53. https://launchpad.net/libmemcached/+download?memo=10&start=10 |
And please do PR, I would think this to be issue hijacking ;) |
The py3k branch has served its purpose, so I propose deleting it. |
I agree, will do ASAP!
|
I'm offering high fives for any Python 3 related release. |
I'll see @sontek's high fives and also throw in huge kudos. |
In my opinion merging #167 is the only blocker. |
- Take maintainership - Enable AUTOPLIST - Limit to Python 2.x [1] - Adjust COMMENT - Update LICENSE (BSD3CLAUSE) - Re-order USE{_*} entries [1] lericson/pylibmc#146 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@359817 35697150-7ecd-e111-bb59-0022644237b5
@lericson What can people do to help you cut a py3-compatible release? |
The answer to the original issue is now simply "yes". Ho ho ho 🎅 Merry christmas, everyone! |
Best present ever. Thank you! |
Christmas came early this year! ✋ 🍰 🍺 😄 |
Just in time (for my project, but still a bit early for christmas) ... Wow ... so great!! |
!!!! \o/ |
- Update to 1.4.1 - Allow Python 3 support [1] - Update COMMENT to match PyPi upstream - Add TESTS option, TEST_DEPENDS and regression-test target - Strip shared library - Patch setup.{py,cfg} to add allow 'test' command to run - Update pkg-descr to match upstream - pkg-descr: Update WWW: URL to match PyPi upstream This update passes QA (test suite) under Python 2.7 and 3.4. Changes: http://sendapatch.se/projects/pylibmc/changelog.html [1] lericson/pylibmc#146 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@374342 35697150-7ecd-e111-bb59-0022644237b5
- Update to 1.4.1 - Allow Python 3 support [1] - Update COMMENT to match PyPi upstream - Add TESTS option, TEST_DEPENDS and regression-test target - Strip shared library - Patch setup.{py,cfg} to add allow 'test' command to run - Update pkg-descr to match upstream - pkg-descr: Update WWW: URL to match PyPi upstream This update passes QA (test suite) under Python 2.7 and 3.4. Changes: http://sendapatch.se/projects/pylibmc/changelog.html [1] lericson/pylibmc#146
Having issues installing it on a Ubuntu server within a Python 3.3.2 project ... so just asking for information. Thansk
The text was updated successfully, but these errors were encountered: