SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 
Changelog for python310-requests-mock-1.12.1-66.6.noarch.rpm :

* Wed May 08 2024 Steve Kowalik - Use the %pyunittest macro to run tests (because of testtools)
* Sat Apr 06 2024 Dirk Müller - update to 1.12.1:
* Set python_requires to >3 to prevent installation in python2 deployments.- update to 1.12.0:
* Remove py2
* Allow `raw` parameter to accept callable like body elements
* Improve type definition of `Mocker.__call__`
* Drop PBR Support
* fix(mocker.pyi): fix Mocker class type hints
* Remove unused `six` dependency
* Wed Mar 13 2024 Steve Kowalik - Drop unneeded Requires, and also no longer restrict urllib3.- Switch to pyproject macros.
* Mon Jul 17 2023 Dirk Müller - update to 1.11.0:
* Exposes some public type aliases (for type hinting only, they can\'t be instanciated)
* for the types intended to be used by `requests_mock` users.
* The following types are now exposed:
* `requests_mock.Context` used in callbacks
* `requests_mock.Request` used in callbacks, which is a `requests.PreparedRequest` proxy.
* `requests_mock.Callback[T]` which is the callbacks type.
* .. _requests-mock_1.11.0_Bug Fixes:
* Some typing inconsistencies have been fixed.
* Especially for `request` object in signatures which is in fact a `requests_mock.Request` object.
* Fix incompatibility with urllib3 >2.0.0. In 2.0.0 they default to enforcing content length checking on returned bodies in responses from the previous default of false. However the flag is still available so for compatibility we can just default the other way.- drop remove-mock.patch (upstream)
* Fri Apr 21 2023 Dirk Müller - add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 Matej Cepl - Make calling of %{sle15modernpython} optional.
* Wed Feb 01 2023 Dirk Müller - switch to run tests with pytest- build with all python flavors for SLE 15 SP4+
* Sat Jan 07 2023 Dirk Müller - update to 1.10.0:
* Add a release note for the RLock
* Allow passing json\\_encoder to mocking
* Improvements to Type Hints
* Lint fix for long line exception
* Shorten line length of comments
* Workaround for python2.7 not supporting lock timeout
* Comments to explain reentrant behaviour
* Change to use RLock and set a timeout to prevent infinite deadlocks
* Update homepage/doc URLs of requests library
* Add comment for pytest late loading feature
* pytest plugin should lazy-load requests\\_mock
* Add test for threaded race condition
* Use threading.Lock() to prevent race conditions around monkeypatching of get\\_adapter()
* add GitHub URL for PyPi
* Add reset methods on the Mocker class type
* Avoid using distutils to check pytest version
* YAML quoting
* Support Python 3.10
* Minor changes to code snippet example
* Fix DeprecationWarnings in setup.cfg keys
* a few minor fixes and proposed changes to documentation files
* Improve response-related param type hints
* Explicitly indicate start of keyword-only args
* Fix failing pytest
* Fri Jul 22 2022 Steve Kowalik - Add patch remove-mock.patch:
* Use unittest.mock if available.
* Sun Jun 06 2021 Dirk Müller - update to 1.9.3:
* Release note for 1.9.3 type annotations
* Additional improvements to response matching type stubs
* Improve MockerCore type stubs
* Tue May 18 2021 Dirk Müller - update to 1.9.2:
* Add release note for urlquote fix
* Simple tests to ensure character encoding works
* Use requests to quote URLs
* Remove circleci badge from README
* Restore py.typed file to enable types
* Change tag pattern
* Url Quote the path provided to the mocker
* Use github action to push a release to PyPI (#163)
* Release note for type hints
* Add [PEP 484](https://www.python.org/dev/peps/pep-0484/) type hints
* Mocker.copy: Use correct type when copying mocker
* Run unit tests for pull requests as well
* Add support for Python up to 3.9
* Use Github Actions
* Make is\\_bound\\_method private
* Add release note for fixed bug
* Correctly handle an explicit zero byte read
* Add missing string delimiter in example
* fix: is\\_bound\\_method by six
* fix: \\`session\\` and \\`real\\_http\\` cannot be used at the same time
 
ICM