You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Loudly deprecate old Python 2/3 compatibility layer and other deprecated utils #4501
We "quietly" deprecated Python 2/3 compatibility layer in RF 5.0 (#4150) and TRUE/FALSE_STRINGS in RF 6.0 (#4500). Should deprecate them more loudly in RF 7.0. As discussed in #4150, deprecating constants is easiest with module __getattr__.
changed the title [-]Loundly deprecate old Python 2/3 compatibility layer and other deprecated utils[/-][+]Loudly deprecate old Python 2/3 compatibility layer and other deprecated utils[/+]on Sep 5, 2023
SSHLibrary still uses these deprecated utilities. It's unfortunately not actively maintained and thus likely not to be updated in the near future. It's a widely used an important library (and mature enough to work without active maintenance at least for the time being) and we don't want to break it. I thus decided to change the deprecation/removal of these utils like this:
Preserve the utils at least until RF 9.0. This gives more time to update SSHLibrary and possible other affected libraries.
Change the level of the deprecation warning from UserWarning to DeprecationWarning to make it not visible by default. This avoids users getting confused about these warnings.
Change the level back to UserWarning in RF 8.0. At that point we need to start taking actions with SSHLibrary if it's still not maintained. This decision obviously can still be changed later.
Activity
[-]Loundly deprecate old Python 2/3 compatibility layer and other deprecated utils[/-][+]Loudly deprecate old Python 2/3 compatibility layer and other deprecated utils[/+]Deprecate not needed time related utils. #4501
pekkaklarck commentedon Sep 8, 2023
Some time related utils were made redundant by #4258. They were deprecated in 679edf6.
pekkaklarck commentedon Dec 20, 2023
SSHLibrary still uses these deprecated utilities. It's unfortunately not actively maintained and thus likely not to be updated in the near future. It's a widely used an important library (and mature enough to work without active maintenance at least for the time being) and we don't want to break it. I thus decided to change the deprecation/removal of these utils like this:
Increase deprecation period of various utility functions. #4501
Fix unit tests for deprecation of utils. #4501
pekkaklarck commentedon Mar 27, 2026
read_rest_datawas deprecated in RF 7.5 using this same mechanism (#5639).pekkaklarck commentedon Jul 14, 2026
split_tags_from_docwas deprecated in RF 7.5 as well (#5707).