Skip to content

Python 3.11 removed reuse_address paramter #427

@gsauthof

Description

@gsauthof

It turns out that Python 3.11 removed the reuse_address keyword parameter from its connection functions.

Thus, this make asyncssh fail on Python 3.11 - i.e. it breaks many test cases:

https://bugzilla.redhat.com/show_bug.cgi?id=2028064

See also:

So it seems that a simple fix is to remove all the reuse_address keyword argument passing in asyncssh/connection.py. AFAIU, the parameter isn't really usable in the last few Python releases, anyways, due to it yielding a ValueError, when set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions