Uploaded image for project: 'Request For Comments'
  1. Request For Comments
  2. RFC-725

Update baseline python to version 3.8

    XMLWordPrintable

    Details

    • Type: RFC
    • Status: Implemented
    • Resolution: Done
    • Component/s: DM, TCT
    • Labels:
      None

      Description

      In March 2019 in RFC-584 we updated python from v3.6 to 3.7. Before the next pipelines release in November I propose we update our baseline python to v3.8 so that we can be prepared for commissioning activities next year. The closer we get to commissioning the less willing we will be to change things and this will give us a solid base to work from.

      There are, of course, new features for 3.8 and they are listed at https://docs.python.org/3/whatsnew/3.8.html

      These include:

      • "walrus" operator
      • Improved type annotations
      • Improved asyncio (I believe telescope and site are also interested in this)
      • Some places that used to return OrderedDict now return a normal dict (because dicts are ordered)
      • Speed ups for shutil.copy and shutil.move

        Attachments

          Issue Links

            Activity

            Hide
            frossie Frossie Economou added a comment -

            Supported, we are already having to move to 3.8 in non-stack packages, the sooner we can bump everything up the better.

            Show
            frossie Frossie Economou added a comment - Supported, we are already having to move to 3.8 in non-stack packages, the sooner we can bump everything up the better.
            Hide
            Parejkoj John Parejko added a comment -

            +1 Yes please!

            Show
            Parejkoj John Parejko added a comment - +1 Yes please!
            Hide
            jbosch Jim Bosch added a comment -

            !

            Show
            jbosch Jim Bosch added a comment - !
            Hide
            rowen Russell Owen added a comment -

            Yes please. If we wait much longer we may as well jump straight to 3.9, which is already in RC.

            Show
            rowen Russell Owen added a comment - Yes please. If we wait much longer we may as well jump straight to 3.9, which is already in RC.
            Hide
            tjenness Tim Jenness added a comment -

            I think the 3.9 comment is interesting but the real time scale that matters is conda-forge support for 3.9 not the python developers releasing 3.9.

            The next pipelines release is November nominally so we could defer to whatever is the newest version in conda-forge in early October.

            Show
            tjenness Tim Jenness added a comment - I think the 3.9 comment is interesting but the real time scale that matters is conda-forge support for 3.9 not the python developers releasing 3.9. The next pipelines release is November nominally so we could defer to whatever is the newest version in conda-forge in early October.
            Hide
            ktl Kian-Tat Lim added a comment -

            DM-CCB agreed today that there is no downside to doing the 3.8 transition now.

            Show
            ktl Kian-Tat Lim added a comment - DM-CCB agreed today that there is no downside to doing the 3.8 transition now.

              People

              Assignee:
              tjenness Tim Jenness
              Reporter:
              tjenness Tim Jenness
              Watchers:
              Brian Van Klaveren, Colin Slater, Frossie Economou, Gabriele Comoretto [X] (Inactive), Jim Bosch, John Parejko, John Swinbank, Kian-Tat Lim, Leanne Guy, Michelle Butler [X] (Inactive), Nate Lust, Russ Allbery, Russell Owen, Tiago Ribeiro, Tim Jenness, Wil O'Mullane, Wouter van Reeven
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Planned End:

                  Jenkins

                  No builds found.