Re: [python-uk] RaspberryPi related request for help
Excellent research! Doubt I'm going to be helping wit this but very much behind it. S On Mar 27, 2015, at 10:02 AM, René Dudfield ren...@gmail.com wrote: Ok, here's a start... I gathered more information, and found an alternative[0]. Seems i2c-tools needs to make a new release first? That would be the place to ask first. http://www.lm-sensors.org/browser/i2c-tools/trunk Then the Debian package can be updated: https://packages.debian.org/wheezy/python-smbus By posting a bug report here, which will alert the maintainers. https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=python-smbus;dist=unstable You can see all the Debian package info here, like the change log, the debian packaging files, and maintainer email addresses: https://packages.qa.debian.org/i/i2c-tools.html They last made a release on March 8th, so they would seem to be responsive. -- Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 113 320 2335 / @holdenweb ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk
Re: [python-uk] RaspberryPi related request for help
Ok, here's a start... I gathered more information, and found an alternative[0]. Seems i2c-tools needs to make a new release first? That would be the place to ask first. http://www.lm-sensors.org/browser/i2c-tools/trunk Then the Debian package can be updated: https://packages.debian.org/wheezy/python-smbus By posting a bug report here, which will alert the maintainers. https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=python-smbus;dist=unstable You can see all the Debian package info here, like the change log, the debian packaging files, and maintainer email addresses: https://packages.qa.debian.org/i/i2c-tools.html They last made a release on March 8th, so they would seem to be responsive. Debian packages can be made with patches on top of upstream releases if needed. Which they have done already in this package. You need to have a separate .diff file patch for the feature. Which you can get from here: http://www.lm-sensors.org/changeset/6267/i2c-tools/trunk See the Debian python packaging guide: https://wiki.debian.org/Python/Packaging I'm sure the maintainers would be happy to help someone out if they have questions. best, [0] There's a cffi implementation with python 3 support. That can be pip installed, so there is no need for a debian package. https://github.com/bivab/smbus-cffi ps. what's the benefit of conda (to people, not to the company selling it) now that there are wheels and devpi? Seems to only divide the python community and add more confusion now. On Tue, Mar 24, 2015 at 6:04 PM, Nicholas H.Tollervey nt...@ntoll.org wrote: Hi, The RaspberryPi Education team (i.e. Carrie Anne - cc'd) is having a problem getting a Python 3 version of smbus to work. The following links pretty much sum up the problem. http://www.spinics.net/lists/linux-i2c/msg08427.html http://procrastinative.ninja/2014/07/21/smbus-for-python34-on-raspberry/ http://www.raspberrypi.org/forums/viewtopic.php?f=32t=22348 Put simply, does anyone have the time and knowledge to create a python3-smbus package for Raspbian using the instructions/details above? As I can tell, it's a case of following the instructions above to apply the patch and repackaging it. A good outcome would be a python3-smbus.deb package. I'm crazy busy at the moment but might try fixing this next week if you don't manage it first. You may be asking yourself, Why should I? Well, I'm glad you asked: a *huge* number of children (think several million) and the education team (around 4) would benefit from this work. Put simply, you'll be making a huge difference. Here's hoping you can help. :-) N. ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk
Re: [python-uk] RaspberryPi related request for help
On 24 March 2015 at 21:50, Andrew Farrell amfarr...@mit.edu wrote: Hi Steve, That is in fact what I was planning on doing. I ought to have disclosed that I actually work for Continuum Analytics, though I'd probably be trying this out as just as a personal weekend project. I'll also be trying this on QEMU on OSx https://github.com/psema4/pine/wiki/Installing-QEMU-on-OS-X since my pi is still in the mail. If anyone has any horror stories about trying that to warn me about, please let me know. No horror stories, but I know Phil Elson has been working on bootstrapping conda on the Pi, he has a repo here: https://binstar.org/RaspberryPi. Not sure how finished that is, you'd have to ask him (you can find his email on the conda mailing list). Regards, Floris ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk
Re: [python-uk] RaspberryPi related request for help
Hey hey, A quick heads up. David Boddie has created a package that solves this problem (he emailed me about it this morning). Great to see the community step up like this. There's still lots of ways you can get involved with RaspberryPi. :-) N. On 27/03/15 17:44, Steve Holden wrote: Excellent research! Doubt I'm going to be helping wit this but very much behind it. S On Mar 27, 2015, at 10:02 AM, René Dudfield ren...@gmail.com mailto:ren...@gmail.com wrote: Ok, here's a start... I gathered more information, and found an alternative[0]. Seems i2c-tools needs to make a new release first? That would be the place to ask first. http://www.lm-sensors.org/browser/i2c-tools/trunk Then the Debian package can be updated: https://packages.debian.org/wheezy/python-smbus By posting a bug report here, which will alert the maintainers. https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=python-smbus;dist=unstable You can see all the Debian package info here, like the change log, the debian packaging files, and maintainer email addresses: https://packages.qa.debian.org/i/i2c-tools.html They last made a release on March 8th, so they would seem to be responsive. -- Steve Holden st...@holdenweb.com mailto:st...@holdenweb.com / +1 571 484 6266 / +44 113 320 2335 / @holdenweb ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk signature.asc Description: OpenPGP digital signature ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk
Re: [python-uk] RaspberryPi related request for help
Hi Steve, That is in fact what I was planning on doing. I ought to have disclosed that I actually work for Continuum Analytics, though I'd probably be trying this out as just as a personal weekend project. I'll also be trying this on QEMU on OSx https://github.com/psema4/pine/wiki/Installing-QEMU-on-OS-X since my pi is still in the mail. If anyone has any horror stories about trying that to warn me about, please let me know. On Tue, Mar 24, 2015 at 12:58 PM, Steve Holden st...@holdenweb.com wrote: Hi Andrew, That's an interesting idea. If you aren't already considering it, I'd recommend minoconda3 to keep network traffic and build times down - as you are doubtless aware Anaconda can be pretty heavyweight, whereas miniconda is leaner, using load-on-demand. I know that the guys at Continuum (principal developers of Anaconda) are supportive of Raspberry Pi (see for example http://continuum.io/blog/raspberry), but cross-compilation on a reasonably powerful machine (or at least a Raspberry Pi 2) would make the task more manageable. Of course this brain dump comes to you without benefit of knowing your plans in detail. Sorry if it's all blindingly obvious. S On Mar 24, 2015, at 5:22 PM, Andrew Farrell amfarr...@mit.edu wrote: Hi Carrie, Would a solution that involves conda http://conda.pydata.org/miniconda.html, a cross-platform package manager mostly used in the scientific python community be usable by the team, or would installing that be a non-starter? If it would be useful, I can take a crack at it this weekend. -- Andrew On Tue, Mar 24, 2015 at 12:04 PM, Nicholas H.Tollervey nt...@ntoll.org wrote: Hi, The RaspberryPi Education team (i.e. Carrie Anne - cc'd) is having a problem getting a Python 3 version of smbus to work. The following links pretty much sum up the problem. http://www.spinics.net/lists/linux-i2c/msg08427.html http://procrastinative.ninja/2014/07/21/smbus-for-python34-on-raspberry/ http://www.raspberrypi.org/forums/viewtopic.php?f=32t=22348 Put simply, does anyone have the time and knowledge to create a python3-smbus package for Raspbian using the instructions/details above? As I can tell, it's a case of following the instructions above to apply the patch and repackaging it. A good outcome would be a python3-smbus.deb package. I'm crazy busy at the moment but might try fixing this next week if you don't manage it first. You may be asking yourself, Why should I? Well, I'm glad you asked: a *huge* number of children (think several million) and the education team (around 4) would benefit from this work. Put simply, you'll be making a huge difference. Here's hoping you can help. :-) N. ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk -- Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 113 320 2335 / @holdenweb ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk
[python-uk] RaspberryPi related request for help
Hi, The RaspberryPi Education team (i.e. Carrie Anne - cc'd) is having a problem getting a Python 3 version of smbus to work. The following links pretty much sum up the problem. http://www.spinics.net/lists/linux-i2c/msg08427.html http://procrastinative.ninja/2014/07/21/smbus-for-python34-on-raspberry/ http://www.raspberrypi.org/forums/viewtopic.php?f=32t=22348 Put simply, does anyone have the time and knowledge to create a python3-smbus package for Raspbian using the instructions/details above? As I can tell, it's a case of following the instructions above to apply the patch and repackaging it. A good outcome would be a python3-smbus.deb package. I'm crazy busy at the moment but might try fixing this next week if you don't manage it first. You may be asking yourself, Why should I? Well, I'm glad you asked: a *huge* number of children (think several million) and the education team (around 4) would benefit from this work. Put simply, you'll be making a huge difference. Here's hoping you can help. :-) N. signature.asc Description: OpenPGP digital signature ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk
Re: [python-uk] RaspberryPi related request for help
Hi Carrie, Would a solution that involves conda http://conda.pydata.org/miniconda.html, a cross-platform package manager mostly used in the scientific python community be usable by the team, or would installing that be a non-starter? If it would be useful, I can take a crack at it this weekend. -- Andrew On Tue, Mar 24, 2015 at 12:04 PM, Nicholas H.Tollervey nt...@ntoll.org wrote: Hi, The RaspberryPi Education team (i.e. Carrie Anne - cc'd) is having a problem getting a Python 3 version of smbus to work. The following links pretty much sum up the problem. http://www.spinics.net/lists/linux-i2c/msg08427.html http://procrastinative.ninja/2014/07/21/smbus-for-python34-on-raspberry/ http://www.raspberrypi.org/forums/viewtopic.php?f=32t=22348 Put simply, does anyone have the time and knowledge to create a python3-smbus package for Raspbian using the instructions/details above? As I can tell, it's a case of following the instructions above to apply the patch and repackaging it. A good outcome would be a python3-smbus.deb package. I'm crazy busy at the moment but might try fixing this next week if you don't manage it first. You may be asking yourself, Why should I? Well, I'm glad you asked: a *huge* number of children (think several million) and the education team (around 4) would benefit from this work. Put simply, you'll be making a huge difference. Here's hoping you can help. :-) N. ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk
Re: [python-uk] RaspberryPi related request for help
On 24/03/2015 17:04, Nicholas H.Tollervey wrote: The RaspberryPi Education team (i.e. Carrie Anne - cc'd) is having a problem getting a Python 3 version of smbus to work. Why not post as well to the much more widely-read python-list? TJG ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk
Re: [python-uk] RaspberryPi related request for help
Hi Andrew, That's an interesting idea. If you aren't already considering it, I'd recommend minoconda3 to keep network traffic and build times down - as you are doubtless aware Anaconda can be pretty heavyweight, whereas miniconda is leaner, using load-on-demand. I know that the guys at Continuum (principal developers of Anaconda) are supportive of Raspberry Pi (see for example http://continuum.io/blog/raspberry), but cross-compilation on a reasonably powerful machine (or at least a Raspberry Pi 2) would make the task more manageable. Of course this brain dump comes to you without benefit of knowing your plans in detail. Sorry if it's all blindingly obvious. S On Mar 24, 2015, at 5:22 PM, Andrew Farrell amfarr...@mit.edu wrote: Hi Carrie, Would a solution that involves conda, a cross-platform package manager mostly used in the scientific python community be usable by the team, or would installing that be a non-starter? If it would be useful, I can take a crack at it this weekend. -- Andrew On Tue, Mar 24, 2015 at 12:04 PM, Nicholas H.Tollervey nt...@ntoll.org wrote: Hi, The RaspberryPi Education team (i.e. Carrie Anne - cc'd) is having a problem getting a Python 3 version of smbus to work. The following links pretty much sum up the problem. http://www.spinics.net/lists/linux-i2c/msg08427.html http://procrastinative.ninja/2014/07/21/smbus-for-python34-on-raspberry/ http://www.raspberrypi.org/forums/viewtopic.php?f=32t=22348 Put simply, does anyone have the time and knowledge to create a python3-smbus package for Raspbian using the instructions/details above? As I can tell, it's a case of following the instructions above to apply the patch and repackaging it. A good outcome would be a python3-smbus.deb package. I'm crazy busy at the moment but might try fixing this next week if you don't manage it first. You may be asking yourself, Why should I? Well, I'm glad you asked: a *huge* number of children (think several million) and the education team (around 4) would benefit from this work. Put simply, you'll be making a huge difference. Here's hoping you can help. :-) N. ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk -- Steve Holden st...@holdenweb.com / +1 571 484 6266 / +44 113 320 2335 / @holdenweb ___ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk