File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1+ deprecated flag for flobject.py
Original file line number Diff line number Diff line change 6262from ansys .fluent .core .utils .fluent_version import FluentVersion # noqa: F401
6363from ansys .fluent .core .utils .setup_for_fluent import setup_for_fluent # noqa: F401
6464
65- __version__ = "0.30.4 "
65+ __version__ = "0.30.5 "
6666
6767_VERSION_INFO = None
6868"""
Original file line number Diff line number Diff line change @@ -413,8 +413,9 @@ def _is_deprecated(self) -> bool:
413413 deprecated_version = (
414414 deprecated_version .get ("deprecated-version" ) if deprecated_version else None
415415 )
416- return deprecated_version and FluentVersion (self ._version ) >= FluentVersion (
417- deprecated_version
416+ return deprecated_version and (
417+ float (deprecated_version ) <= 22.2
418+ or FluentVersion (self ._version ) >= FluentVersion (deprecated_version )
418419 )
419420
420421 def is_active (self ) -> bool :
You can’t perform that action at this time.
0 commit comments