Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python312-mocket | Distribution: openSUSE Tumbleweed |
Version: 3.13.2 | Vendor: openSUSE |
Release: 1.3 | Build date: Wed Oct 23 22:11:41 2024 |
Group: Unspecified | Build host: reproducible |
Size: 153806 | Source RPM: python-mocket-3.13.2-1.3.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/mindflayer/python-mocket | |
Summary: Python socket mock framework |
Socket Mock Framework - for all kinds of socket animals, web-clients included, with gevent/asyncio/SSL support.
BSD-3-Clause
* Wed Oct 23 2024 Dirk Müller <dmueller@suse.com> - update to 3.13.2: * Test the plugin for `pook` separately * Refactoring FakeSSLContext * Increasing readability of Mocket core * `aiohttp` reuses SSLContext instances created at import-time - update to 3.13.1: * No need to keep multiple dirs for tests * Back to testing `doctest` * Pinning the version of `aiohttp` * Test with the official stable Python 3.13 * Switching to using `puremagic` for identifying MIME types * Tue Oct 01 2024 Markéta Machová <mmachova@suse.com> - Skip test failing with new aiohttp * Thu Sep 26 2024 Sebastian Wagner <sebix@sebix.at> - update to version 3.13.0: - Adding Python 3.13 support by @mindflayer in #242 * Tue Sep 03 2024 Sebastian Wagner <sebix@sebix.at> - Update to version 3.12.9: * Replacing httptools with h11 * Tue Jun 04 2024 Dirk Müller <dmueller@suse.com> - update to 3.12.8: * Fix regression * Begin mypy type-checking * Make Mocket work with big requests * Sun May 05 2024 Sebastian Wagner <sebix@sebix.at> - Update to version 3.12.6: - Strict mode check should accept a location as str by @mindflayer in #230 - Update to version 3.12.5: - Add getblocking() method by @mindflayer in #228 * Tue Feb 06 2024 Sebastian Wagner <sebix@sebix.at> - Update to version 3.12.4: * When creating true socket connection, use host and port stored in instance variables, not in the Mocket class's variable by @ento in #222 * Switching to Compose v2 by @mindflayer in #223 * Add allowed locations (whitelist) for STRICT mode by @mindflayer (refactoring of #214 from @ento) in #224 * Mon Jan 22 2024 Sebastian Wagner <sebix@sebix.at> - add pytest-asyncio and psutil to test build requirements - skip test_truesendall_with_dump_from_recording and test_no_dangling_fds as they require internet connection * Sat Jan 20 2024 Dirk Müller <dmueller@suse.com> - update to 3.12.3: * Fixes for allowing making a mixture of unmocked and mocked HTTPS requests using aiohttp * Merging external contribution * Adding testcase for proving #209 was fixed * Sat Jan 13 2024 Dirk Müller <dmueller@suse.com> - update to 3.12.2: * Pook is now compatible with modern Python versions * Excluding venvs from dist packages * Fri Dec 29 2023 Antonio Larrosa <alarrosa@suse.com> - Fix check that was testing the version package of python3-httpx. That's not available in SLE so we now use python311-httpx instead which allows the package to build fine in SLE's Python 3.11 stack. * Tue Dec 26 2023 ecsos <ecsos@opensuse.org> - Add %{?sle15_python_module_pythons} * Tue Oct 31 2023 Sebastian Wagner <sebix@sebix.at> - Update to version 3.12.0: * Support for Python 3.12 (#204) * Fix for Python 3.12 * Getting rid of Python 3.7, since it's not supported anymore. * Precommit hooks' autoupdate. * Disabling `aiohttp` for testing Python 3.12. * Tue Oct 24 2023 Daniel Garcia <daniel.garcia@suse.com> - Run redis server on %check to fix redis tests that depends on a real redis server running. * Fri May 12 2023 Markéta Machová <mmachova@suse.com> - Update to 3.11.1 * Fix for `urllib2>=2` * Bump version for publishing a new release * Adding local container for partially replacing httpbin.org usage * Replacing httpbin.org with mockbin.org from Kong for what needs HTTPS * Sun Feb 19 2023 Sebastian Wagner <sebix@sebix.at> - Update to version 3.11: - Migrating the HTTP[S] mock from relying on http-parser to httptools. - Never discovered the root cause for the failing tests with aiohttp/Python 3.11 (first time ever I added @pytest.mark.xfail to a few tests). Same test works with httpx, so I suspect it's related to a client issue. I'll probably migrate to httpx as the reference client for testing async/await code. - remove patches merged upstream: 0007-Switching-to-httptools.parser.HttpRequestParser.patch 0008-Disabling-tests-for-pook-when-testing-Python-3.11.patch 0009-Removing-DeprecationWarning-all-over-the-place.patch 0010-Python-3.11-needs-an-async-decorator.patch 0012-Removing-async-timeout-dependency.patch 0013-Refactoring-using-event_loop-fixture.patch 0014-Refactoring-using-tempfile-as-a-context-manager.patch 0015-Skip-those-tests-and-see-what-happens-to-the-rest.patch * Thu Feb 02 2023 Dirk Müller <dmueller@suse.com> - add these commits as patches from the upstream PR: 0007-Switching-to-httptools.parser.HttpRequestParser.patch 0008-Disabling-tests-for-pook-when-testing-Python-3.11.patch 0009-Removing-DeprecationWarning-all-over-the-place.patch 0010-Python-3.11-needs-an-async-decorator.patch 0012-Removing-async-timeout-dependency.patch 0013-Refactoring-using-event_loop-fixture.patch 0014-Refactoring-using-tempfile-as-a-context-manager.patch 0015-Skip-those-tests-and-see-what-happens-to-the-rest.patch - skip now failing tests, update buildrequires for tests on py 3.11 * Sun Jan 01 2023 Ben Greiner <code@bnavigator.de> - Update to version 3.10.9 * Small improvement for socketpair by @mindflayer in #189 * Fix for an unconvential usage of Mocket by @mindflayer in #192 * Improve efficiency on CI by @amotl in #194 - Add missing fastapi test dependency * Tue Aug 23 2022 Sebastian Wagner <sebix@sebix.at> - update to version 3.10.8: - Support for calls made by fastapi (#188) * Introduce a `socket.socketpair()` function that acts as the real one * Wed Aug 17 2022 Sebastian Wagner <sebix@sebix.at> - update to version 3.10.7: - Adding support for `httpx` (#183) - Change methods not using its bound instance to staticmethods (#180) * Mon Jul 25 2022 Ben Greiner <code@bnavigator.de> - Clean test requirements and suggestions - Drop recording-urllib3-brotli.patch fixed by updated httpx * Wed May 18 2022 pgajdos@suse.com - version update to 3.10.6 No need for the external mock dependency - deleted patches - python-mocket-no-mock.patch (upstreamed) * Tue May 17 2022 pgajdos@suse.com - do not require python-mock for build - added patches fix https://github.com/mindflayer/python-mocket/issues/178 + python-mocket-no-mock.patch * Mon Apr 25 2022 Sebastian Wagner <sebix@sebix.at> - - Bump Mocket version - MocketEntry.request_class str vs bytes (#177) * Change request_cls to prevent unintended bytes -> str conversion (#176) * Use type from `.compat`. Co-authored-by: Michael Lazar <lazar.michael22@gmail.com> - Update README.rst - Remove blank lines after docstring (#174) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> - Remove assert statement from non-test files (#173) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> - Small refactor. (#172) - Update README.rst - Update LICENSE - No need for it. - New badge - Update README.rst - Update README.rst - Add Mocket "strict mode" (#171) * Add Mocket "strict mode". - Update main.yml - Introducing `request_list()` method (#170) * Introducing `request_list()` method. - Refactoring. (#169) - Some cleaning/refactoring (#168) * Some cleaning/refactoring. * Improving coverage. - Update README.rst - Use literal syntax instead of function calls to create data structure (#167) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> * Mon Apr 18 2022 Ben Greiner <code@bnavigator.de> - Add recording-urllib3-brotli.patch for test data because the new urllib3 for Tumbleweed accepts Brotli encoding by default rendering the recorded request differently. - Upstream dropped Python 2 support. Skip python2 build for 15.3 - Refresh test ignores for SLE/Leap (not that it matters, the only Python 3.7 test is skipped by name globally) * Sun Jan 09 2022 Sebastian Wagner <sebix@sebix.at> - - Add Mocket "strict mode" (#171) * Add Mocket "strict mode". - Update main.yml - Introducing `request_list()` method (#170) * Introducing `request_list()` method. - Refactoring. (#169) - Some cleaning/refactoring (#168) * Some cleaning/refactoring. * Improving coverage. - Update README.rst - Use literal syntax instead of function calls to create data structure (#167) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> * Sat Jan 08 2022 Sebastian Wagner <sebix@sebix.at> - - Introducing `request_list()` method (#170) * Introducing `request_list()` method. - Refactoring. (#169) - Some cleaning/refactoring (#168) * Some cleaning/refactoring. * Improving coverage. - Update README.rst - Use literal syntax instead of function calls to create data structure (#167) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> * Wed Dec 01 2021 Sebastian Wagner <sebix@sebix.at> - Update to version 3.10.2: - Help the user to spot issues (#166) * Help to detect `register()` misusage. * Bump version. * Improve DeepSource scans. - Newer `pipenv` and GIT hooks (#165) * Newer GIT hooks. - Remove implicit `object` from the base class (#164) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> - Change methods not using its bound instance to staticmethods (#163) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> - Add .deepsource.toml - Replace `dict` call with comprehension (#162) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> - Refactor unnecessary `else` / `elif` when `if` block has a `return` statement (#161) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> - Remove unnecessary generator (#160) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> - Multi `register()` (#159) * Add failing test. * `Entry.collect` let us know if the response should be consumed or not. * Bump version. - Update README.rst - Update main.yml - In PYPI the package is old and broken * Sat Nov 27 2021 Sebastian Wagner <sebix@sebix.at> - Update to version 3.10.1: - Multi `register()` (#159) * Add failing test. * `Entry.collect` let us know if the response should be consumed or not. * Bump version. - Update README.rst - Update main.yml - In PYPI the package is old and broken * Fri Sep 24 2021 Sebastian Wagner <sebix@sebix.at> - update to version 3.10.0: - Fix for version number - Testing out Python 3.10 (#156) * Adding support for Python 3.10 - Update LICENSE - Update main.yml * Sat Sep 04 2021 Sebastian Wagner <sebix@sebix.at> - remove obsolete kwsyntax.patch. * Sat Sep 04 2021 Sebastian Wagner <sebix@sebix.at> - Update to version 3.9.44: - Update __init__.py - Removing the constraint for `decorator`. - Update __init__.py (#155) - Patch from PR #150 (Refactored the mocketize decorator) (#153) * Patch from PR #150. Thanks to @micheles form the hints. * Complete refactor for using `decorator>=5`. - Update README.rs * Thu Aug 05 2021 Markéta Machová <mmachova@suse.com> - Add kwsyntax.patch to fix test failure with new decorator. * Sat Jul 03 2021 Sebastian Wagner <sebix@sebix.at> - Update to version 3.9.42: - Mock check_hostname everywhere (#152) * Fix for #151. * Complete refactoring. * Fri May 21 2021 Sebastian Wagner <sebix@sebix.at> - update to version 3.9.41: - A few refactors. - Adding `make setup` for local development. - Migrating package creation to using build. Avoid decorator>=5 as dependency. (#149) - Avoid decorator>=5 as dependency. (#149) * Tue Feb 02 2021 Sebastian Wagner <sebix@sebix.at> - disable test test_asyncio_record_replay as it requires DNS. * Sat Jan 23 2021 Sebastian Wagner <sebix@sebix.at> - Update to version 3.9.40: - Fix for asyncio.open_connection() (#144) - fix UT for 3.5 support * Fri Jan 15 2021 Sebastian Wagner <sebix@sebix.at> - update to version 3.9.39: - Use MocketSocket as context manager (#141) * Adding support for using a `socket` as a context manager as requested by #139. * Closing real socket. * Bump version. - update to version 3.9.38: - Update __init__.py - update to version 3.9.37: - Fix for external decorators (#138) - update to version 3.9.36: - New mocket method for checking if all entries have been served (#137) * Mocket method for checking if all entries have been served at least once. - Yet another refactor (#135) - Refactor. (#136) * Sun Jan 03 2021 Sebastian Wagner <sebix@sebix.at> - update to version 3.9.35: - Removing Python 2 compatibility layer (#134).
/usr/lib/python3.12/site-packages/mocket /usr/lib/python3.12/site-packages/mocket-3.13.2.dist-info /usr/lib/python3.12/site-packages/mocket-3.13.2.dist-info/INSTALLER /usr/lib/python3.12/site-packages/mocket-3.13.2.dist-info/METADATA /usr/lib/python3.12/site-packages/mocket-3.13.2.dist-info/RECORD /usr/lib/python3.12/site-packages/mocket-3.13.2.dist-info/REQUESTED /usr/lib/python3.12/site-packages/mocket-3.13.2.dist-info/WHEEL /usr/lib/python3.12/site-packages/mocket-3.13.2.dist-info/licenses /usr/lib/python3.12/site-packages/mocket-3.13.2.dist-info/licenses/LICENSE /usr/lib/python3.12/site-packages/mocket/__init__.py /usr/lib/python3.12/site-packages/mocket/__pycache__ /usr/lib/python3.12/site-packages/mocket/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/async_mocket.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/async_mocket.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/compat.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/compat.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/exceptions.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/exceptions.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/mocket.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/mocket.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/mockhttp.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/mockhttp.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/mockredis.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/mockredis.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/utils.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/__pycache__/utils.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/async_mocket.py /usr/lib/python3.12/site-packages/mocket/compat.py /usr/lib/python3.12/site-packages/mocket/exceptions.py /usr/lib/python3.12/site-packages/mocket/mocket.py /usr/lib/python3.12/site-packages/mocket/mockhttp.py /usr/lib/python3.12/site-packages/mocket/mockredis.py /usr/lib/python3.12/site-packages/mocket/plugins /usr/lib/python3.12/site-packages/mocket/plugins/__init__.py /usr/lib/python3.12/site-packages/mocket/plugins/__pycache__ /usr/lib/python3.12/site-packages/mocket/plugins/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/plugins/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/plugins/__pycache__/aiohttp_connector.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/plugins/__pycache__/aiohttp_connector.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/plugins/__pycache__/pook_mock_engine.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/plugins/__pycache__/pook_mock_engine.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/plugins/aiohttp_connector.py /usr/lib/python3.12/site-packages/mocket/plugins/httpretty /usr/lib/python3.12/site-packages/mocket/plugins/httpretty/__init__.py /usr/lib/python3.12/site-packages/mocket/plugins/httpretty/__pycache__ /usr/lib/python3.12/site-packages/mocket/plugins/httpretty/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/mocket/plugins/httpretty/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/mocket/plugins/pook_mock_engine.py /usr/lib/python3.12/site-packages/mocket/utils.py /usr/share/doc/packages/python312-mocket /usr/share/doc/packages/python312-mocket/README.rst /usr/share/licenses/python312-mocket /usr/share/licenses/python312-mocket/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Feb 12 23:53:52 2025