-
Notifications
You must be signed in to change notification settings - Fork 68
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
Support Python 3.4.1 runtime? #14
Comments
I would need to recompile all the packages for python 3.4. It's on my list of things to get to sometime soon... |
Ok, let me know if I can help in some way!
|
If you're really interested, one big TODO is to set up testing. Right now I've been manually testing, but once I get more packages set up, testing by hand is not very practical... |
I also need Python 3.4 support. @thenovices can you please explain how you build packages? I see that https://github.com/thenovices/npscipy-binaries mentions using virtual machines, do you have some scripts to do it or do you do everything manually? |
Sorry, I'm pretty busy for the next two months so probably won't get to it... I build the packages manually. Basically, the amount of repetition thus far has been too low to merit the investment needed to script it... |
No problem. Do you just use VM with Ubuntu of the same version that Heroku uses? Or are there some additional requirements? Thanks |
Yeah, I think the three things are:
As far as I can remember, these were the only gotchas. The last thing is that the directory of the tarball needs to be correct. It looks like this for Python 2.7 venv/lib/python2.7/site-packages/numpy |
Quick note: for the new EDIT: this is incorrect as noted below, using the |
Thanks, good to know! |
Revision to the above: the Python version on the new In any case, I've built a Vagrant script and a few shell scripts to interact with the VM. Hopefully this bridges some of the gap to build new versions. The scripts are here: https://github.com/andrewychoi/npscipy-binaries and more specifically: https://github.com/andrewychoi/npscipy-binaries/tree/master/vagrant |
@andrewychoi did you manage to get a python 3.4 version of this going? Anyone else? |
I ended up using conda to install math packages. There was a Python 2 buildpack for conda that I tweaked to work with Python 3: https://github.com/teamupstart/conda-buildpack |
@feliperyan No, I haven't tried getting this working on py3.4, but I'd imagine the changes are straightforward to make in the vagrant provisioning file: https://github.com/andrewychoi/npscipy-binaries/blob/master/vagrant/provision_numpy_scipy.sh |
@andrewychoi Thanks for this Andrew, I'm new to Vagrant - I can see the Vagrantfile picks up on provision_numpy_scipy.sh but there are a number of other bash scripts in there. They seem to be auxiliary scripts to be ran by the host which do a few things in the box. Do I need to worry about them at all? They make references to python 2.7 |
Yes, they're scripts I used to construct the binary packaging. Essentially they ssh into the vagrant image, and copy the associated numpy/scipy files out to a new zipfile. Looking at a couple of py3.4 projects I have, you'll need to change the prefix from |
Thank you @andrewychoi I might still give this a go at a later stage but for now I have followed @abezzub and got it working with the condo buildpack he kindly shared with us. |
Any plans to still support 3.4 or is that no longer happening? Thanks! 😃 |
I'll get around to it someday, but I'm pretty busy these days :/ |
No worries. : ) |
Yo,
|
I've forked this project to support additional libraries (gensim) for textmining under python 3.4.x. You can pull the binaries from that project which should make it easy to upgrade this one to 3.4.x. See : https://github.com/brianthomas/ubuntu-textmining-binaries which support the textmining buildpack: |
Thanks for this very useful buildpack! Is there any way to get it working with 3.4?
The text was updated successfully, but these errors were encountered: