1
0
forked from pool/python-mocket

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
This commit is contained in:
Sebastian Wagner 2024-01-02 14:15:51 +00:00 committed by Git OBS Bridge
parent ab2bbdddf0
commit e9006c4282
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Dec 29 16:14:00 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
- 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 <ecsos@opensuse.org>

View File

@ -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