From f8e755737fd44ed4ff0fad33b0e420d18e13f792a14c20e6e78ac140df4fc977 Mon Sep 17 00:00:00 2001 From: Paolo Stivanin Date: Thu, 16 Feb 2023 07:20:08 +0000 Subject: [PATCH] Accepting request 1066044 from home:dirkmueller:Factory - fix tests on python 3.8 as well with newer python-mocket by skipping the tests/test_webservice which need porting to new python-mocket OBS-URL: https://build.opensuse.org/request/show/1066044 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geoip2?expand=0&rev=27 --- python-geoip2.changes | 6 ++++++ python-geoip2.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-geoip2.changes b/python-geoip2.changes index 9144029..4c35b15 100644 --- a/python-geoip2.changes +++ b/python-geoip2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 15 19:57:56 UTC 2023 - Dirk Müller + +- fix tests on python 3.8 as well with newer python-mocket by skipping + the tests/test_webservice which need porting to new python-mocket + ------------------------------------------------------------------- Mon Jan 23 16:42:49 UTC 2023 - Daniel Garcia diff --git a/python-geoip2.spec b/python-geoip2.spec index d559cc3..82e2330 100644 --- a/python-geoip2.spec +++ b/python-geoip2.spec @@ -66,7 +66,7 @@ The API also works with MaxMind's free GeoLite2 databases. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -python38_tests="tests/webservice_test.py tests/models_test.py tests/database_test.py" +python38_tests="tests/models_test.py tests/database_test.py" python39_tests=$python38_tests python310_tests=$python38_tests # mocket currently does not work with 3.11. See these issues: