Fix salt-ssh tests with newer Python by marmarek · Pull Request #68757 · saltstack/salt

What does this PR do?

Enable tests for salt-ssh with newer system python version. This should prevent (or at least detect earlier) issues like #68755 , #66346 or #66898 - or many other issues related to python version compatibility.

This is not ready for review yet, I'm exploring what issues are affecting CI environment, compared to my local deployment. This PR will likely end up including few more fixes for compatibility with Python 3.12.

What issues does this PR fix or reference?

Fixes

Previous Behavior

salt-ssh tested in very limited capacity, excluding managing modern distributions.

New Behavior

salt-ssh tested in broader set of environments, covering more of https://docs.saltproject.io/salt/install-guide/en/latest/topics/salt-supported-operating-systems.html#salt-supported-operating-systems

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes