Hello community, here is the log from the commit of package python-requests for openSUSE:Factory checked in at 2018-03-05 13:34:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-requests (Old) and /work/SRC/openSUSE:Factory/.python-requests.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-requests" Mon Mar 5 13:34:32 2018 rev:46 rq:580800 version:2.18.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes 2017-10-02 16:48:20.403770220 +0200 +++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 2018-03-05 13:34:38.410929424 +0100 @@ -1,0 +2,7 @@ +Tue Feb 27 18:08:32 UTC 2018 - aplanas@suse.com + +- Recommends only for SUSE +- In no SUSE evironments some tests related with certificates can + fail. Skip the tests if this case. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-requests.spec ++++++ --- /var/tmp/diff_new_pack.3qRYER/_old 2018-03-05 13:34:39.502889907 +0100 +++ /var/tmp/diff_new_pack.3qRYER/_new 2018-03-05 13:34:39.506889762 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-requests # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -44,10 +44,12 @@ Requires: ca-certificates Requires: python # for good measure, at least recommend an actual set of certificates +%if 0%{?suse_version} >= 1000 Recommends: ca-certificates-mozilla Recommends: python-pyOpenSSL >= 0.14 Recommends: python-cryptography >= 1.3.4 Recommends: python-PySocks >= 1.5.6 +%endif Requires: python-certifi >= 2017.4.17 Requires: python-chardet >= 3.0.2 Requires: python-idna >= 2.5 @@ -89,10 +91,14 @@ # check that urllib3 is not installed test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3 +# NOTE(aplanas) If we do not have the certificates, we some of the +# tests will fail, so for now we only run the tests in openSUSE +%if 0%{?suse_version} %check touch requirements.txt # exclude tests connecting to TARPIT %python_exec -m pytest tests -k "not (TestTimeout and connect)" +%endif %files %{python_files} %defattr(-,root,root)