Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-557

Add build/commit date (since __version__ is not maintained)

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.6
    • Component/s: PySide
    • Labels:
      None
    • Commits:
      8aca0dec116c6b321373f5636b34036530ac6e4b

      Description

      It's very hard to track down which PySide2 version you're running since PySide2._version_ isn't being maintained and doesn't change.

      I'd like to propose that until the _version_ is being maintained an automatic build date is put in e.g. PySide2._build_date_ or PySide2._commit_date_ and could be generated automatically off the following code:

      >>> from datetime import datetime
      >>> str(datetime.now())
      '2017-08-08 14:49:57.979339'
      

      By having that, users can more easily accommodate for changes in PySide2 versions more transparently, making their code much more readable.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            alexandru.croitor Alexandru Croitor
            Reporter:
            fredrikaverpil Fredrik Averpil
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes