Revisions of python-requests-mock

buildservice-autocommit accepted request 1221494 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 65)
baserev update by copy to link target
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 1221438 from Petr Gajdos's avatar Petr Gajdos (pgajdos) (revision 64)
- do not require python-purl
- added patches
  fix https://github.com/jamielennox/requests-mock/issues/266
  + python-requests-mock-no-purl.patch
buildservice-autocommit accepted request 1172635 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 63)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 62)
- Use the %pyunittest macro to run tests (because of testtools)
buildservice-autocommit accepted request 1165815 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 61)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 60)
- 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
- switch to run tests with pytest
  * Use unittest.mock if available.
buildservice-autocommit accepted request 1157421 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 59)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 58)
- Drop unneeded Requires, and also no longer restrict urllib3.
- Switch to pyproject macros.
buildservice-autocommit accepted request 1129211 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 57)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 56)
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 55)
- 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)
buildservice-autocommit accepted request 1081779 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 54)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 1081596 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 53)
SR for python stack proposal
buildservice-autocommit accepted request 1062543 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 52)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 51)
- switch to run tests with pytest 
- build with all python flavors for SLE 15 SP4+
buildservice-autocommit accepted request 1056828 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 50)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 49)
- 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
buildservice-autocommit accepted request 990666 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 48)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 47)
- Add patch remove-mock.patch:
  * Use unittest.mock if available.
buildservice-autocommit accepted request 897834 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 46)
baserev update by copy to link target
Displaying revisions 1 - 20 of 65
openSUSE Build Service is sponsored by