Thanks for raising this issue. I can also confirm the regression in unit testing plugins with QGIS 3.22 with QGIS docker images.
With the tag qgis/qgis:final-3_22_9 and different branches such as 3.16, 3.28, master, everything works fine. Starting with qgis/qgis:final-3_22_10, tests are not loaded anymore : """ Running test tests.runner.test_package ... ERROR: no output from the test runner! (exit code: 0) """ I didn't check if it was also linked to a ModuleNotFoundError under the hood. Regards Le lun. 7 nov. 2022 à 11:47, DelazJ via QGIS-Developer < qgis-developer@lists.osgeo.org> a écrit : > Hi, > > I also confirm this issue for the QGIS 3.22 documentation ( > https://github.com/qgis/QGIS-Documentation/issues/7858) but afaict, tests > were still passing mid october (hence with 3.22.11). > > Regards, > Harrissou > > Le lun. 7 nov. 2022 à 11:15, Paolo Tormene via QGIS-Developer < > qgis-developer@lists.osgeo.org> a écrit : > >> Hello. I use qgis docker images to run tests for a plugin. Recently my >> tests started to fail when attempting to import qgis ("ModuleNotFoundError: >> No module named 'qgis'"). >> I normally run tests using images qgis/qgis:latest and >> qgis/qgis:release-3_22, in order to check compatibility with both the >> latest release and the current LTR. >> With qgis/qgis:latest everything works, but with qgis/qgis:release-3_22 >> it produces the error described above. >> While investigating the problem, I also tried to use older versions: >> qgis:final-3_22_12 -> KO >> qgis:final-3_22_11 -> KO >> qgis:final-3_22_10 -> KO >> qgis:final-3_22_9 -> OK (it seems to work as expected until this version) >> Were there any significant changes between 3_22_9 and 3_22_10 that might >> have caused this? Do you have any suggestions? >> Thank you, >> Paolo >> >> -- >> >> *PAOLO TORMENE* senior software developer +39 0382 5169882 >> >> *GLOBAL EARTHQUAKE MODEL * working together to assess risk >> >> *GEM -* globalquakemodel.org <http://www.globalquakemodel.org> *T -* >> @GEMwrld <http://twitter.com/GEMwrld> *F -* GEMwrld >> <http://www.facebook.com/GEMwrld> >> _______________________________________________ >> QGIS-Developer mailing list >> QGIS-Developer@lists.osgeo.org >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> > _______________________________________________ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer