Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-geoip2 for openSUSE:Factory checked in at 2023-01-25 17:42:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-geoip2 (Old) and /work/SRC/openSUSE:Factory/.python-geoip2.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-geoip2" Wed Jan 25 17:42:25 2023 rev:18 rq:1060563 version:4.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-geoip2/python-geoip2.changes 2022-07-05 12:27:06.721838622 +0200 +++ /work/SRC/openSUSE:Factory/.python-geoip2.new.32243/python-geoip2.changes 2023-01-25 17:55:03.659870022 +0100 @@ -1,0 +2,12 @@ +Mon Jan 23 16:42:49 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com> + +- Disable broken tests for python 3.11. python-mocket currently does not work + with python 3.11, so we should disable tests that uses it until it's + supported. + + See these issues: + gh#maxmind/GeoIP2-python@3b0dbb1eb990 + gh#mindflayer/python-mocket#181 + gh#benoitc/http-parser#95 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-geoip2.spec ++++++ --- /var/tmp/diff_new_pack.zhUgC6/_old 2023-01-25 17:55:04.103872392 +0100 +++ /var/tmp/diff_new_pack.zhUgC6/_new 2023-01-25 17:55:04.111872434 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-geoip2 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,11 @@ # SECTION test requirements BuildRequires: %{python_module aiohttp >= 3.6.2} BuildRequires: %{python_module maxminddb >= 2.2.0} -BuildRequires: %{python_module mocket >= 3.8.9} +# mocket currently does not work with 3.11. See these issues: +# gh#maxmind/GeoIP2-python@3b0dbb1eb990 +# gh#mindflayer/python-mocket#181 +# gh#benoitc/http-parser#95 +BuildRequires: %{python_module mocket >= 3.8.9 if %python-base < 3.11} BuildRequires: %{python_module python-magic >= 0.4.18} BuildRequires: %{python_module requests >= 2.14.0} # /SECTION @@ -62,7 +66,15 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pyunittest tests/*_test.py -v +python38_tests="tests/webservice_test.py 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: +# gh#maxmind/GeoIP2-python@3b0dbb1eb990 +# gh#mindflayer/python-mocket#181 +# gh#benoitc/http-parser#95 +python311_tests="tests/models_test.py tests/database_test.py" +%pyunittest -v ${$python_tests} %files %{python_files} %license LICENSE