Python 2.7 and 3.9 and Hydra builds

The Python 2 packages set is no longer built by Hydra, and the Python 3.9 set will now be built.

The Python 2 packages set will remain available, however, it will not be built by Hydra or ofBorg. While some have expressed their desire to have a Python2 set around, there has hardly been any effort to keep it working.

Not building Python 2 allows us to build an additional Python 3 set (currently Python 3.9), which is important since Python switched to a yearly release cadence.

Note 2.7 as well as the upstream supported 3.6 through 3.9 are available on master [2]. Versions 3.7, 3.8 and 3.9 will now be built by Hydra. I think we may drop building 3.7 for 21.03 though, to reduce the maintenance burden.

7 Likes

We should also add an entry in the release manual

4 Likes

Hydra is not building Python 2 packages directly I suppose, but for AFAIK there are still some packages that need python 2 and some python deps in order to at least build. So maybe it’d be more accurate to announce that python 2 packages won’t be built unless needed by something else?

Gnuradio3.7 for instance will need Python 2 and our community wants it to stay with us:

1 Like

Yes, there are a few. However, there’s less now after https://github.com/NixOS/nixpkgs/issues/101964, but still plenty still around.

1 Like