News for hackers. Stuff that matters.
Re:Debian 9: 9.1 released by scrollaway on Saturday July 22, 2017 @04:36PM (#14829231)
Does anyone know if Python 3.6 going to be in Stretch at some point?

Not having it is so annoying since Stretch is basically there for the next few years and 3.6 is a very important Python release.

I've even been considering switching all my company's servers back to Ubuntu just for that...

Re:Debian 9: 9.1 released by ckuehl on Saturday July 22, 2017 @05:09PM (#14829387)
Chris Lamb, the current Debian Project Leader, has said that it will not be in stretch but could potentially be available in stretch-backports:

> If someone puts in the work, sure :) There isn't a "they" in Debian... it's, well, volunteers doing the actual grunt work if they feel it's needed..

Source: https://www.reddit.com/r/debian/comments/5a0gcf/will_python_...

With that said, I've personally packaged a simple backport of Python 3.6 (currently 3.6.2) for Debian stretch. There are pre-built Debian packages available in the releases tab, and a one-liner in the README for how to build them yourself: https://github.com/chriskuehl/python3.6-debian-stretch

You can install these alongside the regular python3.5 installation (it doesn't replace it).

Re:Debian 9: 9.1 released by scrollaway on Saturday July 22, 2017 @05:23PM (#14829460)
I actually came across your repo a few days ago!

I haven't tried it yet. I remember seeing that comment from Chris Lamb but I'm left wondering what the blockers are to getting 3.6 in backports. I messed around with another python3.6 deb (don't remember from where) and there were too many issues with it; namely with venvs.

Re:Debian 9: 9.1 released by ckuehl on Saturday July 22, 2017 @05:43PM (#14829558)
I've been using my packaged version pretty extensively (mostly in virtualenvs) and haven't encountered any issues yet myself, but would definitely be interested to hear (either on GitHub or here) what issues you encountered and if they occur with my packaged version as well.

I wouldn't really expect any issues since it doesn't replace `/usr/bin/python3` (it just adds a `/usr/bin/python3.6`), but it's definitely possible I just haven't run into them.

Re:Debian 9: 9.1 released by scrollaway on Saturday July 22, 2017 @06:03PM (#14829658)
IIRC, the python3.6 from testing was causing inconsistencies in the /lib packages shipped inside the virtualenv (like inconsistent versions would get imported). I'll definitely give your package a shot!
Re:Debian 9: 9.1 released by beagle3 on Sunday July 23, 2017 @01:09AM (#14830990)
The OS python is there to satisfy other OS dependencies, and only occasionally for you.

If you care about the Python version, you are much better off with an independent python install, I personally recommend conda - it lets you run different python versions for different uses, all shielded from OS upgrades (whether minor dist-upgrade or complete distribution change -- or $DIETY forbid joining a Redmond religion).

I have heard good things about Enthought Python, but don't have experience with it. And you can always build the latest yourself and build a .dpkg for your company.

Re:Debian 9: 9.1 released by esaym on Saturday July 22, 2017 @06:25PM (#14829774)
An argument can be made that the system python is for system things, not end user things.

If you want the latest python, just use the python-build script from here: https://github.com/pyenv/pyenv/tree/master/plugins/python-bu...

And then ./python-build -v 3.6.1 /opt/python-3.6.1 and you're done.

You'll have to manage your paths manually for your shell/terminal though, this is basically what you'll need to do, though this is for perl but can be easily adapted: http://tinyurl.com/y8h7lbt2

Re:Debian 9: 9.1 released by thanksgiving on Saturday July 22, 2017 @04:43PM (#14829272)
I can't recommend this for your company but would love to hear some feedback for https://labs.fedoraproject.org/python-classroom/

(note: I am not a member of the project just interested in reading some feedback)

> One of the benefits of Fedora for Python developers is the ease of setting up Python development. The Fedora Python Classroom Lab makes it even easier for teachers and instructors to use Fedora in their classrooms or workshops. Ready to use operating system with important stuff pre-installed - either with GNOME or as a headless environment for Docker or Vagrant. Teach Python on Fedora, with Fedora, using the stuff you love: IPython, Jupyter Notebook, multiple Pythons, virtualenvs, tox, git and more

> The Fedora Python Classroom Lab comes in 3 variants. Either you can run it in graphical mode with GNOME, or you can virtualize it with Vagrant or run it in a Docker container. You choose what fits your teaching environment the best.

> Users and developers are available in the #fedora-python IRC channel on irc.freenode.org for real-time chat.

> Users and developers are also available on the mailing list at [email protected].

I know Red Hat is not the best but maybe this might be worth looking into?

Re:Debian 9: 9.1 released by nikanj on Saturday July 22, 2017 @04:39PM (#14829245)
Debian seldom does major upgrades in-release. It's going to be in Stretch backports I would guess.
Re:Debian 9: 9.1 released by jwilk on Saturday July 22, 2017 @04:50PM (#14829305)
Unlikely. I don't believe there's ever been a CPython interpreter in -backports.
Re:Debian 9: 9.1 released by aargh_aargh on Saturday July 22, 2017 @05:09PM (#14829388)
Why even ask such question? Debian stable has been extremely predictable in this regard. No, the major version in stable is not going to change.

You do have other options, though - run testing (python3.6 is there right now) or a mixed stable/testing system.

Re:Debian 9: 9.1 released by scrollaway on Saturday July 22, 2017 @05:26PM (#14829470)
> mixed stable/testing system

Unfortunately the deb from testing has some pretty serious compatibility issues when pulled into a stable system :(

> Why even ask such question?

Because I'm curious. Because it'd be useful. Because I haven't used any other Debian than Jessie. Because I like asking questions. Pick one?

Re:Debian 9: 9.1 released by Yuioup on Saturday July 22, 2017 @04:56PM (#14829329)
Can't you use a ppa? Or host a python 3.6 package yourself? Maybe build from source?
Re:Debian 9: 9.1 released by jwilk on Saturday July 22, 2017 @04:53PM (#14829318)
> 3.6 is a very important Python release.

Out of interest, why is it very important?

Re:Debian 9: 9.1 released by Walkman on Saturday July 22, 2017 @04:57PM (#14829336)
Because it's the fastest, low-memory, full of features Python release yet. As Raymond Hettinger would say "Python 3.6 is the best Python version."
Re:Debian 9: 9.1 released by sigzero on Saturday July 22, 2017 @06:42PM (#14829842)
Anything started from scratch in Python should definitely be Python 3.6 at this point.