From e9006c428243a67b2e9b0fa67d200568c6e8c0ac9b18870ba28b5802fee66259 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 2 Jan 2024 14:15:51 +0000 Subject: [PATCH] Accepting request 1135685 from home:alarrosa:branches:devel:languages:python - Fix check that was testing the version package of python3-httpx. That's not available in SLE so we now use python311-httpx instead which allows the package to build fine in SLE's Python 3.11 stack. OBS-URL: https://build.opensuse.org/request/show/1135685 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=71 --- python-mocket.changes | 8 ++++++++ python-mocket.spec | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-mocket.changes b/python-mocket.changes index 4bad4ef..e752a31 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Dec 29 16:14:00 UTC 2023 - Antonio Larrosa + +- Fix check that was testing the version package of python3-httpx. + That's not available in SLE so we now use python311-httpx + instead which allows the package to build fine in SLE's Python + 3.11 stack. + ------------------------------------------------------------------- Tue Dec 26 15:49:11 UTC 2023 - ecsos diff --git a/python-mocket.spec b/python-mocket.spec index a0185cc..7e03e57 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -104,7 +104,7 @@ sleep 2 # Checks the ability to record a real request and response. Not available inside obs. donttest="test_asyncio_record_replay" # The reference recording has different headers in this case -%if %{pkg_vcmp python3-httpx < 0.23} +%if %{pkg_vcmp python311-httpx < 0.23} donttest="$donttest or test_truesendall_with_dump_from_recording" %endif # these fail after the python 3.11 patches