Open jakimowb opened 1 year ago
Ah, found it:
You need to downgrade typeguard:
To be compatible with other python code that requires a non-outdated typeguard versions (e.g. in other QGIS plugins), this issue needs to be solved properly. Maybee not vor EnMAP-Box 3.12, but in a near future.
@janzandr is there any progress in make the EnMAP-Box running with up-to-date typeguard versions?
In the EnMAP-Box, typeguard is still pinned to typeguard==2.13.3
, while the latest typeguard release is at 4.1.5 (already two major release differences) https://github.com/agronholm/typeguard
Currently not working on that issue. With typeguard >2, the type checks are more rigorous. Moving to version 4 could/would introduce a lot of code breakes, which may not be covered by unittests. Making the transition to v4 could take a while. So it's more a question of priority.
Have you checked if there are any options to skip these "more rigorous" tests? There is a lot of documentation related to this and other config options. https://typeguard.readthedocs.io/en/latest/userguide.html#suppressing-type-checks
Have you checked if there are any options to skip these "more rigorous" tests?
Not yet, but I can do it asap.
/enmapboxprocessing/reportwriter.py raises the error listed below if typguard available:
QGIS 3.30.0 Python 3.10.9 typeguard 3.0.2