Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-691

Upgrade to Python 3 (**breaking change**)

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1221
    • Fix Version/s: 4.0.0
    • Component/s: Framework

      Description

      In a not so far future, if there is not constraint from one big customer, we could try an upgrade to Python 3.

      1. we could use pathlib to handle all sorts of paths (long names, networks folders, etc.)
      2. no more unicode/str issues to manage
      3. Python 3.6 use UTF-8 on all platforms
      4. less code to write (need refactoring several components of course)
      5. Python 3 spend (a little) more time to start than Python 2 but is way faster at the runtime
      6. I did not study the Windows packaging, but from 3.5 there is an embeddable version that is less than 12 Mo, uncompressed

      I forgot other advantages, but we need to think in term of stability and customer happyness, it is time to evolve

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 4 days, 4 hours
                  1w 4d 4h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.