TW 20210519 breaks spyder python IDE

The spyder python IDE fails to start because it requires a version of python38-watchdog <2.0.0,>=0.10.3. TW 20210519 jumped python-38-watchdog from 1.0.2 to 2.1.1. I've raised a bug: https://bugzilla.opensuse.org/show_bug.cgi?id=1186327 Michael

El vie, 21 may 2021 a las 5:40, Michael Hamilton (<michael@actrix.gen.nz>) escribió:
Can't the problem be solved by symlinks with the required library names? (pointing to the real name of version 2.1.1) Cheers, Juan -- USA LINUX OPENSUSE QUE ES SOFTWARE LIBRE, NO NECESITAS PIRATEAR NADA Y NI TE VAS A PREOCUPAR MAS POR LOS VIRUS Y SPYWARES: http://www.opensuse.org/es/ Puedes visitar mi blog en: http://jerbes.blogspot.com.ar/

Am 21.05.21 um 13:02 schrieb Juan Erbes:
Thanks for reporting. I hadn't noticed yet.
Can't the problem be solved by symlinks with the required library names? (pointing to the real name of version 2.1.1)
Python packages are not libraries, which you could "symlink". The problem is that the egg-info for watchdog (correctly) says that it is at "Version: 2.1.1", but spyder says in it's egg-info/requires.txt and a couple of more places that it needs <2.0.0. The Spyder devs really like their pinning, whether it is necessary or not [1, 2, 3]. And they are really adamant about enforcing it. So thanks for keeping this on distro level and not annoying them by openSUSE quirks. Even worse, I missed that sypder 5.0.3 also requires spyder-kernels >= 2.0.3. Fixed in sr#894844 [4] - Ben [1] https://github.com/spyder-ide/spyder/issues/14779 [2] https://github.com/spyder-ide/spyder/issues/14803 [3] https://github.com/spyder-ide/spyder/pull/14797 [4] https://build.opensuse.org/request/show/894844

El vie, 21 may 2021 a las 5:40, Michael Hamilton (<michael@actrix.gen.nz>) escribió:
Can't the problem be solved by symlinks with the required library names? (pointing to the real name of version 2.1.1) Cheers, Juan -- USA LINUX OPENSUSE QUE ES SOFTWARE LIBRE, NO NECESITAS PIRATEAR NADA Y NI TE VAS A PREOCUPAR MAS POR LOS VIRUS Y SPYWARES: http://www.opensuse.org/es/ Puedes visitar mi blog en: http://jerbes.blogspot.com.ar/

Am 21.05.21 um 13:02 schrieb Juan Erbes:
Thanks for reporting. I hadn't noticed yet.
Can't the problem be solved by symlinks with the required library names? (pointing to the real name of version 2.1.1)
Python packages are not libraries, which you could "symlink". The problem is that the egg-info for watchdog (correctly) says that it is at "Version: 2.1.1", but spyder says in it's egg-info/requires.txt and a couple of more places that it needs <2.0.0. The Spyder devs really like their pinning, whether it is necessary or not [1, 2, 3]. And they are really adamant about enforcing it. So thanks for keeping this on distro level and not annoying them by openSUSE quirks. Even worse, I missed that sypder 5.0.3 also requires spyder-kernels >= 2.0.3. Fixed in sr#894844 [4] - Ben [1] https://github.com/spyder-ide/spyder/issues/14779 [2] https://github.com/spyder-ide/spyder/issues/14803 [3] https://github.com/spyder-ide/spyder/pull/14797 [4] https://build.opensuse.org/request/show/894844
participants (3)
-
Ben Greiner
-
Juan Erbes
-
Michael Hamilton