Sync from SUSE:SLFO:Main python-mocket revision 77d128fc48ee35f81c809fbb71b278cd
This commit is contained in:
BIN
mocket-3.13.2.tar.gz
(Stored with Git LFS)
BIN
mocket-3.13.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
mocket-3.13.6.tar.gz
(Stored with Git LFS)
Normal file
BIN
mocket-3.13.6.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -20,6 +20,15 @@
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -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
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
@@ -27,7 +36,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-mocket%{psuffix}
|
||||
Version: 3.13.2
|
||||
Version: 3.13.6
|
||||
Release: 0
|
||||
Summary: Python socket mock framework
|
||||
License: BSD-3-Clause
|
||||
@@ -42,6 +51,7 @@ BuildRequires: python-rpm-macros
|
||||
Requires: python-decorator >= 4
|
||||
Requires: python-h11
|
||||
Requires: python-puremagic
|
||||
Requires: python-typing-extensions
|
||||
Requires: python-urllib3 >= 1.25.3
|
||||
Suggests: python-xxhash
|
||||
BuildArch: noarch
|
||||
@@ -103,7 +113,7 @@ sleep 2
|
||||
# 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"
|
||||
# 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"
|
||||
%endif
|
||||
# fails with new incompatible aiohttp version https://github.com/mindflayer/python-mocket/issues/247
|
||||
|
Reference in New Issue
Block a user