2023-10-24 12:33:14 +02:00
-------------------------------------------------------------------
Tue Oct 24 10:15:32 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Run redis server on %check to fix redis tests that depends on a real
redis server running.
2023-05-12 12:55:59 +02:00
-------------------------------------------------------------------
Fri May 12 10:42:12 UTC 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
2023-02-19 22:06:08 +01:00
-------------------------------------------------------------------
Sun Feb 19 21:05:20 UTC 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
2023-01-01 20:33:44 +01:00
-------------------------------------------------------------------
2023-02-02 12:45:43 +01:00
Thu Feb 2 11:44:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
2023-02-02 12:46:15 +01:00
- add these commits as patches from the upstream PR:
2023-02-02 12:45:43 +01:00
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
-------------------------------------------------------------------
2023-01-01 20:33:44 +01:00
Sun Jan 1 18:43:24 UTC 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
2022-08-23 20:52:14 +02:00
-------------------------------------------------------------------
Tue Aug 23 18:47:07 UTC 2022 - Sebastian Wagner <sebix+novell.com@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
2022-08-17 12:10:36 +02:00
-------------------------------------------------------------------
Wed Aug 17 10:09:41 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 3.10.7:
- Adding support for `httpx` (#183)
- Change methods not using its bound instance to staticmethods (#180)
2022-07-25 16:11:56 +02:00
-------------------------------------------------------------------
Mon Jul 25 09:24:02 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Clean test requirements and suggestions
- Drop recording-urllib3-brotli.patch fixed by updated httpx
2022-05-18 08:49:31 +02:00
-------------------------------------------------------------------
Wed May 18 06:31:34 UTC 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)
2022-05-17 15:58:41 +02:00
-------------------------------------------------------------------
Tue May 17 13:29:27 UTC 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
2022-04-25 10:36:22 +02:00
-------------------------------------------------------------------
Mon Apr 25 08:36:19 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
- - Bump Mocket version
- MocketEntry.request_class str vs bytes (#177)
2022-07-25 16:11:56 +02:00
* Change request_cls to prevent unintended bytes -> str conversion (#176)
* Use type from `.compat`.
2022-04-25 10:36:22 +02:00
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)
2022-07-25 16:11:56 +02:00
* Some cleaning/refactoring.
2022-04-25 10:36:22 +02:00
* 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>
2022-04-19 00:34:38 +02:00
-------------------------------------------------------------------
Mon Apr 18 19:31:43 UTC 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)
2022-01-09 20:22:02 +01:00
-------------------------------------------------------------------
Sun Jan 9 19:21:59 UTC 2022 - Sebastian Wagner <sebix+novell.com@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)
2022-04-19 00:34:38 +02:00
* Some cleaning/refactoring.
2022-01-09 20:22:02 +01:00
* 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>
2022-01-08 22:39:31 +01:00
-------------------------------------------------------------------
Sat Jan 8 21:39:28 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
- - Introducing `request_list()` method (#170)
* Introducing `request_list()` method.
- Refactoring. (#169)
- Some cleaning/refactoring (#168)
2022-04-19 00:34:38 +02:00
* Some cleaning/refactoring.
2022-01-08 22:39:31 +01:00
* 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>
2021-11-27 11:12:48 +01:00
-------------------------------------------------------------------
2021-12-01 22:17:44 +01:00
Wed Dec 1 21:17:39 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
2021-12-09 08:54:57 +01:00
- Update to version 3.10.2:
- Help the user to spot issues (#166)
* Help to detect `register()` misusage.
* Bump version.
2021-12-01 22:17:44 +01:00
* 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)
2021-12-09 08:54:57 +01:00
* Add failing test.
* `Entry.collect` let us know if the response should be consumed or not.
2021-12-01 22:17:44 +01:00
* Bump version.
- Update README.rst
- Update main.yml
- In PYPI the package is old and broken
-------------------------------------------------------------------
2021-11-27 11:12:48 +01:00
Sat Nov 27 10:12:44 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
2021-12-09 08:54:57 +01:00
- 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.
2021-11-27 11:12:48 +01:00
* Bump version.
- Update README.rst
- Update main.yml
- In PYPI the package is old and broken
2021-09-24 21:51:51 +02:00
-------------------------------------------------------------------
Fri Sep 24 19:50:05 UTC 2021 - Sebastian Wagner <sebix+novell.com@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
2021-09-04 20:23:00 +02:00
-------------------------------------------------------------------
Sat Sep 4 18:19:20 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- remove obsolete kwsyntax.patch.
-------------------------------------------------------------------
Sat Sep 4 18:10:11 UTC 2021 - Sebastian Wagner <sebix+novell.com@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
2021-08-05 17:32:07 +02:00
-------------------------------------------------------------------
Thu Aug 5 15:22:22 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Add kwsyntax.patch to fix test failure with new decorator.
2021-07-03 22:25:52 +02:00
-------------------------------------------------------------------
Sat Jul 3 20:16:19 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 3.9.42:
- Mock check_hostname everywhere (#152)
* Fix for #151.
* Complete refactoring.
2021-05-21 18:07:55 +02:00
-------------------------------------------------------------------
Fri May 21 16:02:54 UTC 2021 - Sebastian Wagner <sebix+novell.com@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)
2021-02-02 22:34:29 +01:00
-------------------------------------------------------------------
Tue Feb 2 21:33:54 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- disable test test_asyncio_record_replay as it requires DNS.
2021-01-23 20:21:51 +01:00
-------------------------------------------------------------------
Sat Jan 23 19:20:19 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 3.9.40:
- Fix for asyncio.open_connection() (#144)
- fix UT for 3.5 support
2021-01-15 18:01:33 +01:00
-------------------------------------------------------------------
Fri Jan 15 16:56:37 UTC 2021 - Sebastian Wagner <sebix+novell.com@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)
2021-01-03 11:38:44 +01:00
-------------------------------------------------------------------
Sun Jan 3 10:37:41 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 3.9.35:
- Removing Python 2 compatibility layer (#134).
2020-12-18 10:59:38 +01:00
-------------------------------------------------------------------
Thu Dec 17 17:09:52 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Do not require and test with pook on Python2
2020-12-17 17:01:35 +01:00
-------------------------------------------------------------------
Thu Dec 17 15:10:50 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to version 3.9.4
* fix for new version of pip resolver
- Skip python38 only tests in python36 flavor and python3 flavor
if python3 <= 3.8 (Leap)
2020-12-10 11:30:11 +01:00
-------------------------------------------------------------------
Thu Dec 10 01:45:45 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Relax pinned setup.py requires so that the installed egg-info
does not interfere with other packages
2020-11-09 21:24:22 +01:00
-------------------------------------------------------------------
Mon Nov 9 20:23:21 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 3.9.3:
* Fix for `.makefile()` as reported by @KyleKing.
* From `codecs` to `binascii` for PyPy. (#127)
- Update to version 3.9.2:
* Mocket raises exceptions.
* Fix for Python 2.
2020-10-11 09:05:14 +02:00
-------------------------------------------------------------------
Sun Oct 11 07:03:02 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 3.9.1:
- Multiple HTTP writes (#125)
- Fix for #111.
2020-09-26 14:07:01 +02:00
-------------------------------------------------------------------
Sat Sep 26 07:39:57 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 3.9.0:
- MockHTTP uses `http-parser` as parser
Fix for second sendall used for delivering request's body.
- Update to version 3.8.9:
- Small refactor for HTTPretty plugin
Now the import line can be written as from mocket.plugins.httpretty import httpretty, httprettified.
- Update to version 3.8.8:
- Small fix applied to `setup.py`
2020-08-11 09:08:33 +02:00
-------------------------------------------------------------------
2020-08-11 11:12:25 +02:00
Tue Aug 11 07:17:16 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to version 3.8.7
* This version ships the change to support the libmagic wrapper
distributed with file's command.
-------------------------------------------------------------------
2020-08-11 09:08:33 +02:00
Tue Aug 11 07:08:04 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Switch to multibuild as we create cycle with python-pook otherwise
2020-08-08 16:05:53 +02:00
-------------------------------------------------------------------
Sat Aug 8 13:00:29 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Change requirements version specifier from == to >=.
2020-07-24 03:00:55 +02:00
-------------------------------------------------------------------
Thu Jul 23 18:54:20 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 3.8.6:
- No upstream changelog available
- Use source tarball from pypi instead of GitHub.
2020-04-01 13:34:21 +02:00
-------------------------------------------------------------------
Wed Apr 1 07:38:18 UTC 2020 - pgajdos@suse.com
- version update to 3.8.4
* Adding missing `load_verify_locations` method
* Removing `hexdump` dependency
* Fix for removing DeprecationWarning (#105)
* Py3.8 classifier
* Fix for Redis module
2019-09-18 09:41:41 +02:00
-------------------------------------------------------------------
Wed Sep 18 07:41:18 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.7.3:
* testsuite fixes
- Drop patch partial-wildcards.patch
2019-09-18 09:40:00 +02:00
-------------------------------------------------------------------
Wed Sep 18 04:08:03 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Activate test suite
2019-09-18 09:41:41 +02:00
- Add patch partial-wildcards.patch
2019-09-18 09:40:00 +02:00
- Update to v3.7.2
-------------------------------------------------------------------
Fri Apr 19 11:41:58 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v2.7.2