[BUG] check_type() fails on typeguard v3
onurulgen opened this issue · 2 comments
onurulgen commented
Describe the bug
Due to API change of typeguard, io_context.py fails at check_type() call since argname parameter is now dropped.
Steps/Code to reproduce bug
Run an example using typeguard>=3.0
Expected behavior
To not fail
Environment details (please complete the following information)
- OS/Platform: Miniconda (Windows)
- Python Version: 3.9
- Method of MONAI Deploy App SDK install: pip
- SDK Version: 0.5.0
MMelQin commented
Thank you @onurulgen for raising this issue.
This has been a known bug, and addressed in the main branchpull request, but before releasing the new App SDK package, a dev user would need to ensure the local typeguard~=2.12.1
, and sets the pip package decorator in the application, e.g. env(pip_packages=["typeguard~=2.12.1"])
MMelQin commented
Addressed in release 0.5.1