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

Discrepancy between Python File Contents when using Embedding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15.3, dev, 6.0.4
    • Fix Version/s: None
    • Component/s: Shiboken
    • Labels:
      None
    • Commits:
      e641c225d2954cfc5c85e00eda83f5319c84b3c8 (pyside/pyside-setup/dev) bff7791ce35c2da1c56f5a73ffb85c0778ec50cb (pyside/pyside-setup/6.0) 6cc3c07431ede5cb2487b09d4725b54f014a64d2 (pyside/tqtc-pyside-setup/5.15)

      Description

      The option --reuse-build is used very often to save time.
      When Python files of a PySide source tree are changed, this change will show up in the produced package, but when PySide is executed, it is hard to predict, if your Python
      changes have an effect or not.

      Reason: The Python files which are living in Shiboken are not only living in the source tree.
      In order to have them available even in unfortunate directory layouts,
      they are also embedded in a .zip file, which is embedded into the libshiboken module.

      Recently, I saw some worried developers which use PySide in other products, who could
      not find the effect of their debug changes to some Python file. This is not only an
      annoyance, but can seriously distort the success of development. I was hit quite much
      by this effect, recently.

      Embedding is a nice thing, but it can turn into a nightmare, when you always need
      to re-build a lot in order to test a small change to a Python script.
      By adding the right dependencies, this old error source is finally evicted.

        Attachments

        For Gerrit Dashboard: PYSIDE-1536
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            ctismer Christian Tismer
            Reporter:
            ctismer Christian Tismer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: