Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-37453

Install the PySide6 in LSST Develop Image

    XMLWordPrintable

    Details

      Description

      Please help to install the PySide6 in LSST develop image in additional to PySide2. Right now, the M2 Python EUI and M1M3 EUI are using the PySide2 as the QT library. We would like to upgrade the EUIs to PySide6.

      However, we may want to make sure the pytest-qt and other packages (xorg-x11-server-Xvfb and pytest-xvfb support unit test on Jenkins) or platforms (AlmaOS and MacOS) can still work after the upgrade of EUI packages.

      Therefore, the PySide2 and PySide6 might need to coexist for some time before the upgrade and test are done. Thanks!

        Attachments

          Issue Links

            Activity

            Hide
            pkubanek Petr Kubanek added a comment -

            +1 on this. Shall be as trivial as adding mamba install -y pyside6. pyside2 and pyside6 coexistence shall not be an issue, as they live in pyside2/pyside6 namespace.

            Show
            pkubanek Petr Kubanek added a comment - +1 on this. Shall be as trivial as adding mamba install -y pyside6. pyside2 and pyside6 coexistence shall not be an issue, as they live in pyside2/pyside6 namespace.
            Hide
            wvreeven Wouter van Reeven added a comment -

            This will be part of the cycle 29 build.

            Show
            wvreeven Wouter van Reeven added a comment - This will be part of the cycle 29 build.
            Hide
            wvreeven Wouter van Reeven added a comment -

            After talking to Te-Wei, I also will upgrade the version of PySide2 from 5.13.2 to 5.15.8.

            Show
            wvreeven Wouter van Reeven added a comment - After talking to Te-Wei, I also will upgrade the version of PySide2 from 5.13.2 to 5.15.8 .
            Hide
            wvreeven Wouter van Reeven added a comment -

            Both the newer PySide2 conda package and the PySide6 conda package require newer versions of the pyqt and pyqt-impl conda packages. Neither are available on conda-forge so we will need to build them ourselves. I will work on this next sprint.

            Show
            wvreeven Wouter van Reeven added a comment - Both the newer PySide2 conda package and the PySide6 conda package require newer versions of the pyqt and pyqt-impl conda packages. Neither are available on conda-forge so we will need to build them ourselves. I will work on this next sprint.
            Hide
            wvreeven Wouter van Reeven added a comment -

            It turns out that ts-develop pinned the version of pyqt which prevented PySide2 from updating to a newer version. This has been fixed by removing the pyqt dependency from ts-develop and by moving all PySide2 dependencies from the base-sqre Dockerfile to ts-develop. Petr helped me locate the correct conda packages for PySide2 and PySide6. Now the installation works fine. I am building an docker.io/lsstts/develop-env:PYSIDE Docker image for Te-Wei and Petr to test.

            Show
            wvreeven Wouter van Reeven added a comment - It turns out that ts-develop pinned the version of pyqt which prevented PySide2 from updating to a newer version. This has been fixed by removing the pyqt dependency from ts-develop and by moving all PySide2 dependencies from the base-sqre Dockerfile to ts-develop. Petr helped me locate the correct conda packages for PySide2 and PySide6. Now the installation works fine. I am building an docker.io/lsstts/develop-env:PYSIDE Docker image for Te-Wei and Petr to test.
            Hide
            wvreeven Wouter van Reeven added a comment -

            I prepared the ts-dockerhub.lsst.org/develop-env:PYSIDE docker image containing both PySide2 and PySide6 and asked Petr Kubanek and Te-Wei Tsai to test it.

            Show
            wvreeven Wouter van Reeven added a comment - I prepared the ts-dockerhub.lsst.org/develop-env:PYSIDE docker image containing both PySide2 and PySide6 and asked Petr Kubanek and Te-Wei Tsai to test it.
            Hide
            wvreeven Wouter van Reeven added a comment -

            Please try out the develop-env docker image I created and mark this ticket as Reviewed when you're happy with it.

            Show
            wvreeven Wouter van Reeven added a comment - Please try out the develop-env docker image I created and mark this ticket as Reviewed when you're happy with it.
            Hide
            ttsai Te-Wei Tsai added a comment -

            Looks good to me. I would test the docker image at DM-37454. It might happen in the next week. If there was the problem, we could reopen this ticket. Thanks!

            Show
            ttsai Te-Wei Tsai added a comment - Looks good to me. I would test the docker image at DM-37454 . It might happen in the next week. If there was the problem, we could reopen this ticket. Thanks!
            Hide
            wvreeven Wouter van Reeven added a comment -

            Thanks Te-Wei. I'd prefer a new ticket in case of a problem but we can discuss that if any is found.

            Show
            wvreeven Wouter van Reeven added a comment - Thanks Te-Wei. I'd prefer a new ticket in case of a problem but we can discuss that if any is found.
            Hide
            wvreeven Wouter van Reeven added a comment -

            I created a docker.io image as well, since Te-Wei doesn't have a ts-dockerhub account. The image can be found on docker.io/wvreeven/develop-env.

            Show
            wvreeven Wouter van Reeven added a comment - I created a docker.io image as well, since Te-Wei doesn't have a ts-dockerhub account. The image can be found on docker.io/wvreeven/develop-env .

              People

              Assignee:
              wvreeven Wouter van Reeven
              Reporter:
              ttsai Te-Wei Tsai
              Reviewers:
              Petr Kubanek, Te-Wei Tsai
              Watchers:
              Petr Kubanek, Te-Wei Tsai, Tiago Ribeiro, Wouter van Reeven
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.