mindflayer / python-mocket

a socket mock framework - for all kinds of socket animals, web-clients included
BSD 3-Clause "New" or "Revised" License
279 stars 41 forks source link

Enable pook for newer Python versions #210

Closed sarayourfriend closed 7 months ago

sarayourfriend commented 7 months ago

Pook now supports 3.11 as of v1.1.1, with CI up to 3.11 since v1.2.0.

Therefore, the check to exclude pook for version 3.11 can be removed:

https://github.com/mindflayer/python-mocket/blob/main/mocket/plugins/pook_mock_engine.py#L3

I'm shortly adding CI for 3.12 as well to ensure compatibility with the latest mocket version for Python 3.12.

sarayourfriend commented 7 months ago

@mindflayer I'll open a PR for this later in the week. The next version of pook (v1.2.2) will have tested support up to version 3.12.

mindflayer commented 7 months ago

Hi @sarayourfriend, I've already prepared a PR for fixing this, let me know when pook is ready for both 3.11 and 3.12.

mindflayer commented 7 months ago

Here is the new version which allows using pook plugin for Python versions newer than 3.10: https://pypi.org/project/mocket/3.12.2/

sarayourfriend commented 7 months ago

Thanks!