Hello community, here is the log from the commit of package python-requests for openSUSE:Factory checked in at 2017-07-04 11:57:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-requests (Old) and /work/SRC/openSUSE:Factory/.python-requests.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests" Tue Jul 4 11:57:50 2017 rev:43 rq:507839 version:2.18.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes 2017-06-13 16:06:37.339217148 +0200 +++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 2017-07-04 11:57:51.813850611 +0200 @@ -1,0 +2,89 @@ +Mon Jul 3 11:36:40 UTC 2017 - [email protected] + +update to version v2.18.1 + * 2.17.1 + * Fix a typo: verison -> version + * fix + * Prepare v2.18.0 + * Update requirements.txt + * cleanup models.py + * Preserve identity of unbundled deps + * ignore undefined names in flake8 + * flake8 ignore lambda expressions + * Add the pytest .cache/ directory to .gitignore + * docutils + * try junit + * new installation location + * cleanup utils.py + * flake8report.txt + * empty commit + * no more pipenv + * Begin dev section of README + * Remove exec permission from files that shouldn't have it + * change development philosophy docs to reflect reality + * fix manifest file + * only flake8 the right directory + * update development documentation + * Remove session redirect cache + * no piping to a file + * Catch error if multiprocessing is not available or is unable to determine the number of CPUs + * todo + * cleanup sessions.py + * typo + * number of cores for travis + * ignore import statements for flake8 + * Update README.rst + * better ci file + * bunk change + * that doesn't work on windows + * improve development instructions + * Fix a typo: paramters -> parameters + * Adds changelog entry for #4134 + * ignore line continuations for flake8 + * Allow Requests.Response to be used as a context manager + * Fix requests.packages not having package attributes + * remove note about cacerts.pem + * v2.17.3 + * improve install documentation syntax + * improve installation instructions + * flake8: import statement improvements + * fix spaces in api.py + * v2.18.1 + * skip for now + * v2.17.2 + * fix flake8 for EOF in __init__.py + * improve flake8 help.py + * Prepare for next release cycle + * try this travis file + * remove "are you crazy?" section + * fix sidebars + * Update index.rst + * fix empty lines for flake8 + * convert version compatibility checks to warning + * fix github stars + * v2.17.1 + * improve line continuations for flake8 + * attempt new ads + * speed up appveyor + * v2.17.0 + * improve installation docs + * fix flake8 indent error + * Adds to AUTHORS + * Clearer makefile for building README + * flake8 + * Fixes error swallowing in set_environ + * cleanup help.py (flake8) + * improve install docs + * new requests namespace + +------------------------------------------------------------------- +Sat Jun 10 08:40:50 UTC 2017 - [email protected] + +- update to 2.16.5: + * unvendored bundled libraries + * for more changes, see https://pypi.python.org/pypi/requests + +- drop no-default-cacert.patch: this is now in python-certifi +- drop requests-do-not-use-bundle.patch: obsolete + +------------------------------------------------------------------- Old: ---- PACKAGING_NOTES no-default-cacert.patch requests-do-not-use-bundle.patch set_urllib3_version.sh v2.13.0.tar.gz New: ---- requests-2.18.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-requests.spec ++++++ --- /var/tmp/diff_new_pack.YOqEim/_old 2017-07-04 11:57:52.493754930 +0200 +++ /var/tmp/diff_new_pack.YOqEim/_new 2017-07-04 11:57:52.501753804 +0200 @@ -16,34 +16,27 @@ # -%define urllib3_version 1.20 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-requests -Version: 2.13.0 +Version: 2.18.1 Release: 0 Summary: Awesome Python HTTP Library That's Actually Usable License: Apache-2.0 Group: Development/Languages/Python Url: http://python-requests.org/ -#Source: https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz -Source: https://github.com/kennethreitz/requests/archive/v%{version}.tar.gz -Source100: PACKAGING_NOTES -Source101: set_urllib3_version.sh -# PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal CA bundle. -Patch0: no-default-cacert.patch -# PATCH-FIX-OPENSUSE requests-do-not-use-bundle.patch -- Use system libraries instead of bundled ones. -Patch1: requests-do-not-use-bundle.patch +Source: https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz +BuildRequires: %{python_module certifi} BuildRequires: %{python_module devel} BuildRequires: %{python_module py} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module urllib3 >= %urllib3_version} +BuildRequires: %{python_module urllib3 >= 1.21.1} BuildRequires: ca-certificates BuildRequires: python BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module PySocks >= 1.5.6} -BuildRequires: %{python_module chardet} -BuildRequires: %{python_module idna >= 2.2} +BuildRequires: %{python_module chardet >= 3.0.2} +BuildRequires: %{python_module idna >= 2.5} BuildRequires: %{python_module pytest-httpbin} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} @@ -55,10 +48,11 @@ Recommends: python-pyOpenSSL >= 0.14 Recommends: python-cryptography >= 1.3.4 Recommends: python-PySocks >= 1.5.6 -Requires: python-chardet -Requires: python-idna >= 2.2 +Requires: python-certifi >= 2017.4.17 +Requires: python-chardet >= 3.0.2 +Requires: python-idna >= 2.5 Requires: python-py -Requires: python-urllib3 >= %urllib3_version +Requires: python-urllib3 >= 1.21.1 BuildArch: noarch %python_subpackages @@ -83,13 +77,7 @@ %prep %setup -q -n requests-%{version} -%patch0 -p1 -%patch1 -p1 -rm -f requests/cacert.pem - -# fill out required urllib3 version -sed -i s/#URLLIB3VERSION#/%{urllib3_version}/ setup.py -echo "urllib3 >= %{urllib3_version}" >> requirements.txt + # drop shebang from certs.py sed -i '1s/^#!.*$//' requests/certs.py @@ -102,24 +90,13 @@ test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3 %check -# first check that we have a good version of urllib3 -# DO NOT DISABLE THIS TEST unless you know what you are doing -# see PACKAGING_NOTES for details -python3 <<END -import sys, pkg_resources -from requests.packages.urllib3 import __version__ -required = "urllib3 >= {}".format(__version__) -dist = pkg_resources.get_distribution(required) -if dist is None or not dist.location.startswith("%{_prefix}"): - sys.exit(1) -END - +touch requirements.txt # exclude tests connecting to TARPIT %python_exec -m pytest tests -k "not (TestTimeout and connect)" %files %{python_files} %defattr(-,root,root) -%doc HISTORY.rst LICENSE NOTICE README.rst +%doc HISTORY.rst LICENSE README.rst %{python_sitelib}/requests/ %{python_sitelib}/requests-*
