Closed mlangguth89 closed 2 weeks ago
Some issues when importing metpy
(version: 1.4) persist in conjunction with the typing_extensions
-package.
In particular, the typing_extensions
-version as part of the GCCcore/11.3.0
-software module does not provide the deprecated
-decorator.
However, since this decorator is just used to raise warning for future deprecation in the code of the pint
-issue (part of the virtual environment), the issue can be bypassed as follows.
from typing_extensions import deprecated
-statement in pint/compat.py
deprecated
-decorator and its usage in the following Python-scripts of the pint
-package under [...]/lib/python3.10/site-packages/pint/facets/plain
:
quantity.py
unit.py
registry.py
The virtual environment based on Stages/2022 runs into several version issues with the Python packages
metpy
,setuptools
andtyping_extensions
. To solve the issues, an update to Stages/2023 is performed which also includes that Tensorflow version 2.11 will be used in the future.