forked from pool/python-mocket
Compare commits
114 Commits
Author | SHA256 | Date | |
---|---|---|---|
9d42da60b5 | |||
|
63bc9b22e4 | ||
58ee6d5a5d | |||
|
e840e33cea | ||
3f866a9b89 | |||
|
3ea334d293 | ||
1382fe30d9 | |||
d2d51d532e | |||
42564475c9 | |||
|
38315340c1 | ||
|
f56958a2bb | ||
dca0058fbd | |||
|
2da7342b6a | ||
e087dd0ab9 | |||
|
0c46b25c22 | ||
|
638c66fbb3 | ||
f2224cc74f | |||
1bd8d66c00 | |||
9d6f755af3 | |||
|
9de1218980 | ||
|
da0875b576 | ||
384471d22f | |||
f1c53706ce | |||
830f6925f8 | |||
84a934f561 | |||
|
df23b67b1c | ||
bfb4010b88 | |||
|
26ab15dcf4 | ||
3fc1a19097 | |||
|
c2aaaeb3a3 | ||
|
ff9eddff0f | ||
|
c74ba86073 | ||
1016c0c1e9 | |||
a81f500799 | |||
7c60ec3837 | |||
|
e9006c4282 | ||
83c3a838a2 | |||
ab2bbdddf0 | |||
b574afd743 | |||
|
f86ffa3328 | ||
6edcd3472c | |||
0cccfa3fb6 | |||
d8b5af66d0 | |||
|
8ec143d534 | ||
da61a95bc3 | |||
|
3af5ffac37 | ||
cf1eee5618 | |||
83d90a8cf9 | |||
9a1bef72f9 | |||
3556273a24 | |||
d1fb41b58d | |||
|
d62182f130 | ||
|
999c5902c0 | ||
|
8bfd7fd1ea | ||
|
fecef068db | ||
e0fc8da396 | |||
fcd88e7e17 | |||
bfcc1f5271 | |||
|
f9b090fcef | ||
|
86c0462991 | ||
453a52e4cb | |||
|
48cacb46bf | ||
b0d8ef0fb1 | |||
4fdb1b2da4 | |||
817e066b85 | |||
|
1b295dc41f | ||
|
c7f4319527 | ||
0c77329427 | |||
76b6e6c430 | |||
b9a96fa935 | |||
|
c4b7b5a9ed | ||
|
c4a05211b7 | ||
|
cbf6417242 | ||
|
ea2fc887aa | ||
ae451a62cc | |||
|
722fc840a4 | ||
497ed31558 | |||
|
067dae6989 | ||
|
56fe7562e7 | ||
217ccaf564 | |||
76b95ce162 | |||
da6ffadc7a | |||
|
cf01a2ae5e | ||
607d8aff46 | |||
|
e819c35552 | ||
7d84da793b | |||
|
e2090403ea | ||
cd19d0cfd5 | |||
|
fbf353bb75 | ||
e502caa04a | |||
|
a496061060 | ||
|
0470e3ebce | ||
eb07ce42e1 | |||
50f2e8f3e9 | |||
2bab1f94c9 | |||
b32a6ddc34 | |||
1b593d3c70 | |||
|
13f014ddf4 | ||
eebf2d8c35 | |||
|
6a78b40fc6 | ||
9738011aa7 | |||
b855e81536 | |||
|
63400cb400 | ||
|
2fbc3ab63d | ||
2044e4012b | |||
|
00084d2a82 | ||
f09f76d266 | |||
4651ce1ebd | |||
a9a507e1a9 | |||
|
cb156e20a7 | ||
|
a55ce20a52 | ||
8b0fa0587a | |||
|
74dcb3cde6 | ||
|
c97da4fa1a |
BIN
mocket-3.12.8.tar.gz
(Stored with Git LFS)
BIN
mocket-3.12.8.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6a26dd098325a3d83f3ea82510172feb5281d4eed8f4d0b535e3646d8e78752f
|
|
||||||
size 73303
|
|
3
mocket-3.13.10.tar.gz
Normal file
3
mocket-3.13.10.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:327147efbaf2acbcaefff207e8561bdd954596c7648a624acca19b0c7d6c826c
|
||||||
|
size 77374
|
@@ -1,3 +1,103 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 15 21:26:22 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- Update to versionn 3.13.10:
|
||||||
|
* Adding socket methods used by trio
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 24 19:36:55 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- Update to version 3.13.9:
|
||||||
|
* Better Strict Mode by @mindflayer in #298
|
||||||
|
- Update to version 3.13.8:
|
||||||
|
* Fixture event_loop got removed from pytest-asyncio by @mindflayer in #294
|
||||||
|
* Match querystring for multiple responses in httpretty plugin by @wilhelmklopp in #295
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 2 08:44:03 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.13.7
|
||||||
|
* Update README.rst
|
||||||
|
* Add methods for UDP sockets
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 28 07:06:51 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- only use python311 on suse platforms
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 27 07:38:10 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Use python3-httpx in pkg_vcmp for Tumbleweed to do not have a fixed
|
||||||
|
python version in that check.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 19 09:09:53 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- Update to 3.13.6:
|
||||||
|
* Adding some type hints
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 4 06:56:02 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- update to 3.13.5:
|
||||||
|
- First stable version after huge refactor
|
||||||
|
- Fix for caching when using uv
|
||||||
|
- Better conf for pytest-asyncio
|
||||||
|
- Fix test_truesendall failure on MacOS
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 29 07:30:02 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- uptdate to 3.13.4:
|
||||||
|
* License update - 2025
|
||||||
|
* Missing dependency typing-extensions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 23 09:22:23 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- Update to 3.13.3:
|
||||||
|
* Restructuring the project: no bug-fixing nor new features Latest
|
||||||
|
* Build and publish pure python wheel
|
||||||
|
* Refactor absolute imports and remove compat
|
||||||
|
* Refactoring and Typing
|
||||||
|
* Refactor: split modules
|
||||||
|
* Refactor: introduce state object
|
||||||
|
* Refactor split socket and ssl socket
|
||||||
|
* Refactor rename ssl classes
|
||||||
|
* Changes from ruff
|
||||||
|
* improve injection code, make backwards compat explicit, make ssl-api explicit
|
||||||
|
* Refactor introduce recording storage
|
||||||
|
* Small cleanup
|
||||||
|
* Target make safetest got broken
|
||||||
|
* Better structure
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 23 20:11:41 UTC 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 1 09:18:21 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Skip test failing with new aiohttp
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 26 08:25:18 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- update to version 3.13.0:
|
||||||
|
- Adding Python 3.13 support by @mindflayer in #242
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 3 07:23:27 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
|
Tue Sep 3 07:23:27 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
@@ -128,14 +228,14 @@ Sun Jan 1 18:43:24 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
|||||||
- Add missing fastapi test dependency
|
- Add missing fastapi test dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 23 18:47:07 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Tue Aug 23 18:47:07 UTC 2022 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- update to version 3.10.8:
|
- update to version 3.10.8:
|
||||||
- Support for calls made by fastapi (#188)
|
- Support for calls made by fastapi (#188)
|
||||||
* Introduce a `socket.socketpair()` function that acts as the real one
|
* Introduce a `socket.socketpair()` function that acts as the real one
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 17 10:09:41 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Wed Aug 17 10:09:41 UTC 2022 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- update to version 3.10.7:
|
- update to version 3.10.7:
|
||||||
- Adding support for `httpx` (#183)
|
- Adding support for `httpx` (#183)
|
||||||
@@ -164,7 +264,7 @@ Tue May 17 13:29:27 UTC 2022 - pgajdos@suse.com
|
|||||||
+ python-mocket-no-mock.patch
|
+ python-mocket-no-mock.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 25 08:36:19 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Mon Apr 25 08:36:19 UTC 2022 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- - Bump Mocket version
|
- - Bump Mocket version
|
||||||
- MocketEntry.request_class str vs bytes (#177)
|
- MocketEntry.request_class str vs bytes (#177)
|
||||||
@@ -207,7 +307,7 @@ Mon Apr 18 19:31:43 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
|||||||
Python 3.7 test is skipped by name globally)
|
Python 3.7 test is skipped by name globally)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 9 19:21:59 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sun Jan 9 19:21:59 UTC 2022 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- - Add Mocket "strict mode" (#171)
|
- - Add Mocket "strict mode" (#171)
|
||||||
* Add Mocket "strict mode".
|
* Add Mocket "strict mode".
|
||||||
@@ -223,7 +323,7 @@ Sun Jan 9 19:21:59 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
|
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 8 21:39:28 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sat Jan 8 21:39:28 UTC 2022 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- - Introducing `request_list()` method (#170)
|
- - Introducing `request_list()` method (#170)
|
||||||
* Introducing `request_list()` method.
|
* Introducing `request_list()` method.
|
||||||
@@ -236,7 +336,7 @@ Sat Jan 8 21:39:28 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
|
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 1 21:17:39 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Wed Dec 1 21:17:39 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- Update to version 3.10.2:
|
- Update to version 3.10.2:
|
||||||
- Help the user to spot issues (#166)
|
- Help the user to spot issues (#166)
|
||||||
@@ -265,7 +365,7 @@ Wed Dec 1 21:17:39 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
- In PYPI the package is old and broken
|
- In PYPI the package is old and broken
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 27 10:12:44 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sat Nov 27 10:12:44 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- Update to version 3.10.1:
|
- Update to version 3.10.1:
|
||||||
- Multi `register()` (#159)
|
- Multi `register()` (#159)
|
||||||
@@ -277,7 +377,7 @@ Sat Nov 27 10:12:44 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
- In PYPI the package is old and broken
|
- In PYPI the package is old and broken
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 24 19:50:05 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Fri Sep 24 19:50:05 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- update to version 3.10.0:
|
- update to version 3.10.0:
|
||||||
- Fix for version number
|
- Fix for version number
|
||||||
@@ -287,12 +387,12 @@ Fri Sep 24 19:50:05 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
- Update main.yml
|
- Update main.yml
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 4 18:19:20 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sat Sep 4 18:19:20 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- remove obsolete kwsyntax.patch.
|
- remove obsolete kwsyntax.patch.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 4 18:10:11 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sat Sep 4 18:10:11 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- Update to version 3.9.44:
|
- Update to version 3.9.44:
|
||||||
- Update __init__.py
|
- Update __init__.py
|
||||||
@@ -309,7 +409,7 @@ Thu Aug 5 15:22:22 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
|||||||
- Add kwsyntax.patch to fix test failure with new decorator.
|
- Add kwsyntax.patch to fix test failure with new decorator.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 3 20:16:19 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sat Jul 3 20:16:19 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- Update to version 3.9.42:
|
- Update to version 3.9.42:
|
||||||
- Mock check_hostname everywhere (#152)
|
- Mock check_hostname everywhere (#152)
|
||||||
@@ -317,7 +417,7 @@ Sat Jul 3 20:16:19 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
* Complete refactoring.
|
* Complete refactoring.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 21 16:02:54 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Fri May 21 16:02:54 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- update to version 3.9.41:
|
- update to version 3.9.41:
|
||||||
- A few refactors.
|
- A few refactors.
|
||||||
@@ -326,19 +426,19 @@ Fri May 21 16:02:54 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
- Avoid decorator>=5 as dependency. (#149)
|
- Avoid decorator>=5 as dependency. (#149)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 2 21:33:54 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Tue Feb 2 21:33:54 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- disable test test_asyncio_record_replay as it requires DNS.
|
- disable test test_asyncio_record_replay as it requires DNS.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 23 19:20:19 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sat Jan 23 19:20:19 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- Update to version 3.9.40:
|
- Update to version 3.9.40:
|
||||||
- Fix for asyncio.open_connection() (#144)
|
- Fix for asyncio.open_connection() (#144)
|
||||||
- fix UT for 3.5 support
|
- fix UT for 3.5 support
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 15 16:56:37 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Fri Jan 15 16:56:37 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- update to version 3.9.39:
|
- update to version 3.9.39:
|
||||||
- Use MocketSocket as context manager (#141)
|
- Use MocketSocket as context manager (#141)
|
||||||
@@ -356,7 +456,7 @@ Fri Jan 15 16:56:37 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
- Refactor. (#136)
|
- Refactor. (#136)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 3 10:37:41 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sun Jan 3 10:37:41 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- update to version 3.9.35:
|
- update to version 3.9.35:
|
||||||
- Removing Python 2 compatibility layer (#134).
|
- Removing Python 2 compatibility layer (#134).
|
||||||
@@ -381,7 +481,7 @@ Thu Dec 10 01:45:45 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
|||||||
does not interfere with other packages
|
does not interfere with other packages
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 9 20:23:21 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Mon Nov 9 20:23:21 UTC 2020 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- Update to version 3.9.3:
|
- Update to version 3.9.3:
|
||||||
* Fix for `.makefile()` as reported by @KyleKing.
|
* Fix for `.makefile()` as reported by @KyleKing.
|
||||||
@@ -391,14 +491,14 @@ Mon Nov 9 20:23:21 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
* Fix for Python 2.
|
* Fix for Python 2.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 11 07:03:02 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sun Oct 11 07:03:02 UTC 2020 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- Update to version 3.9.1:
|
- Update to version 3.9.1:
|
||||||
- Multiple HTTP writes (#125)
|
- Multiple HTTP writes (#125)
|
||||||
- Fix for #111.
|
- Fix for #111.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 26 07:39:57 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sat Sep 26 07:39:57 UTC 2020 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- Update to version 3.9.0:
|
- Update to version 3.9.0:
|
||||||
- MockHTTP uses `http-parser` as parser
|
- MockHTTP uses `http-parser` as parser
|
||||||
@@ -422,12 +522,12 @@ 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
|
- Switch to multibuild as we create cycle with python-pook otherwise
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 8 13:00:29 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sat Aug 8 13:00:29 UTC 2020 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- Change requirements version specifier from == to >=.
|
- Change requirements version specifier from == to >=.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 23 18:54:20 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Thu Jul 23 18:54:20 UTC 2020 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
- Update to version 3.8.6:
|
- Update to version 3.8.6:
|
||||||
- No upstream changelog available
|
- No upstream changelog available
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-mocket
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -20,6 +20,15 @@
|
|||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
|
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} < 1600
|
||||||
|
# Modern stack for Leap 15
|
||||||
|
%global mypython python311
|
||||||
|
%else
|
||||||
|
# primary python for Tumbleweed and Leap 16
|
||||||
|
%global mypython python3
|
||||||
|
%endif
|
||||||
|
|
||||||
%else
|
%else
|
||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
@@ -27,7 +36,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-mocket%{psuffix}
|
Name: python-mocket%{psuffix}
|
||||||
Version: 3.12.9
|
Version: 3.13.10
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python socket mock framework
|
Summary: Python socket mock framework
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -41,9 +50,9 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-decorator >= 4
|
Requires: python-decorator >= 4
|
||||||
Requires: python-h11
|
Requires: python-h11
|
||||||
Requires: python-python-magic >= 0.4.5
|
Requires: python-puremagic
|
||||||
|
Requires: python-typing-extensions
|
||||||
Requires: python-urllib3 >= 1.25.3
|
Requires: python-urllib3 >= 1.25.3
|
||||||
Suggests: python-pook >= 0.2.1
|
|
||||||
Suggests: python-xxhash
|
Suggests: python-xxhash
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
@@ -53,7 +62,6 @@ BuildRequires: %{python_module fastapi}
|
|||||||
BuildRequires: %{python_module gevent}
|
BuildRequires: %{python_module gevent}
|
||||||
BuildRequires: %{python_module httptools}
|
BuildRequires: %{python_module httptools}
|
||||||
BuildRequires: %{python_module mocket = %{version}}
|
BuildRequires: %{python_module mocket = %{version}}
|
||||||
BuildRequires: %{python_module pook >= 0.2.1}
|
|
||||||
BuildRequires: %{python_module psutil}
|
BuildRequires: %{python_module psutil}
|
||||||
BuildRequires: %{python_module pytest-asyncio}
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@@ -105,11 +113,11 @@ sleep 2
|
|||||||
# Checks the ability to record a real request and response. Not available inside obs.
|
# Checks the ability to record a real request and response. Not available inside obs.
|
||||||
donttest="test_asyncio_record_replay or test_truesendall_with_dump_from_recording or test_no_dangling_fds"
|
donttest="test_asyncio_record_replay or test_truesendall_with_dump_from_recording or test_no_dangling_fds"
|
||||||
# The reference recording has different headers in this case
|
# The reference recording has different headers in this case
|
||||||
%if %{pkg_vcmp python311-httpx < 0.23}
|
%if %{pkg_vcmp %{mypython}-httpx < 0.23}
|
||||||
donttest="$donttest or test_truesendall_with_dump_from_recording"
|
donttest="$donttest or test_truesendall_with_dump_from_recording"
|
||||||
%endif
|
%endif
|
||||||
# these fail after the python 3.11 patches
|
# fails with new incompatible aiohttp version https://github.com/mindflayer/python-mocket/issues/247
|
||||||
#donttest="$donttest or test_http_session or test_https_session or test_httprettish_session or test_truesendall or test_wrongpath_truesendall or test_real_request_session or test_multiple_socket_connections or test_intermittent_strict_mode or test_strict_mode_exceptions or test_err or test_get or test_hm or test_incr or test_lrange or test_select_db or test_set or test_shutdown or test_hgetall or test_raise_exception"
|
donttest="$donttest or test_aiohttp"
|
||||||
%pytest -rfEs -k "not ($donttest)" ${pytest_$python_ignore} tests
|
%pytest -rfEs -k "not ($donttest)" ${pytest_$python_ignore} tests
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user