Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-requests for openSUSE:Factory checked in at 2023-01-23 18:30:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-requests (Old) and /work/SRC/openSUSE:Factory/.python-requests.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests" Mon Jan 23 18:30:44 2023 rev:76 rq:1060118 version:2.28.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes 2022-11-01 13:41:08.899442865 +0100 +++ /work/SRC/openSUSE:Factory/.python-requests.new.32243/python-requests.changes 2023-01-23 18:30:46.495621834 +0100 @@ -1,0 +2,8 @@ +Sat Jan 21 10:01:11 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 2.28.2: + - Requests now supports charset\_normalizer 3.x. + - Updated MissingSchema exception to suggest https scheme rather than http. +- drop requests-allow-charset-normalizer-3.patch (upstream) + +------------------------------------------------------------------- Old: ---- requests-2.28.1.tar.gz requests-allow-charset-normalizer-3.patch New: ---- requests-2.28.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-requests.spec ++++++ --- /var/tmp/diff_new_pack.UPZ4Ll/_old 2023-01-23 18:30:48.211632426 +0100 +++ /var/tmp/diff_new_pack.UPZ4Ll/_new 2023-01-23 18:30:48.215632451 +0100 @@ -1,7 +1,7 @@ # # spec file # -# 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 @@ -26,7 +26,7 @@ %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-requests%{psuffix} -Version: 2.28.1 +Version: 2.28.2 Release: 0 Summary: Python HTTP Library License: Apache-2.0 @@ -36,8 +36,6 @@ # PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements Patch0: requests-no-hardcoded-version.patch # PATCH-FIX-UPSTREAN: Allow charset normalizer >=2 and <4 -# - https://github.com/psf/requests/commit/c57f1f0ca10e61771b459c857182c23626607312 -Patch1: requests-allow-charset-normalizer-3.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: fdupes ++++++ requests-2.28.1.tar.gz -> requests-2.28.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.28.1/HISTORY.md new/requests-2.28.2/HISTORY.md --- old/requests-2.28.1/HISTORY.md 2022-06-29 17:09:45.000000000 +0200 +++ new/requests-2.28.2/HISTORY.md 2023-01-12 17:16:59.000000000 +0100 @@ -7,6 +7,17 @@ - \[Short description of non-trivial change.\] +2.28.2 (2023-01-12) +------------------- + +**Dependencies** + +- Requests now supports charset\_normalizer 3.x. (#6261) + +**Bugfixes** + +- Updated MissingSchema exception to suggest https scheme rather than http. (#6188) + 2.28.1 (2022-06-29) ------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.28.1/PKG-INFO new/requests-2.28.2/PKG-INFO --- old/requests-2.28.1/PKG-INFO 2022-06-29 17:13:33.188606700 +0200 +++ new/requests-2.28.2/PKG-INFO 2023-01-12 17:24:35.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: requests -Version: 2.28.1 +Version: 2.28.2 Summary: Python HTTP for Humans. Home-page: https://requests.readthedocs.io Author: Kenneth Reitz @@ -8,6 +8,85 @@ License: Apache 2.0 Project-URL: Documentation, https://requests.readthedocs.io Project-URL: Source, https://github.com/psf/requests +Description: # Requests + + **Requests** is a simple, yet elegant, HTTP library. + + ```python + >>> import requests + >>> r = requests.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass')) + >>> r.status_code + 200 + >>> r.headers['content-type'] + 'application/json; charset=utf8' + >>> r.encoding + 'utf-8' + >>> r.text + '{"authenticated": true, ...' + >>> r.json() + {'authenticated': True, ...} + ``` + + Requests allows you to send HTTP/1.1 requests extremely easily. Thereâs no need to manually add query strings to your URLs, or to form-encode your `PUT` & `POST` data â but nowadays, just use the `json` method! + + Requests is one of the most downloaded Python packages today, pulling in around `30M downloads / week`â according to GitHub, Requests is currently [depended upon](https://github.com/psf/requests/network/dependents?package_id=UGFja2FnZS01NzA4OTExNg%3D%3D) by `1,000,000+` repositories. You may certainly put your trust in this code. + + [![Downloads](https://pepy.tech/badge/requests/month)](https://pepy.tech/project/requests) + [![Supported Versions](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests) + [![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/psf/requests/graphs/contributors) + + ## Installing Requests and Supported Versions + + Requests is available on PyPI: + + ```console + $ python -m pip install requests + ``` + + Requests officially supports Python 3.7+. + + ## Supported Features & BestâPractices + + Requests is ready for the demands of building robust and reliable HTTPâspeaking applications, for the needs of today. + + - Keep-Alive & Connection Pooling + - International Domains and URLs + - Sessions with Cookie Persistence + - Browser-style TLS/SSL Verification + - Basic & Digest Authentication + - Familiar `dict`âlike Cookies + - Automatic Content Decompression and Decoding + - Multi-part File Uploads + - SOCKS Proxy Support + - Connection Timeouts + - Streaming Downloads + - Automatic honoring of `.netrc` + - Chunked HTTP Requests + + ## API Reference and User Guide available on [Read the Docs](https://requests.readthedocs.io) + + [![Read the Docs](https://raw.githubusercontent.com/psf/requests/main/ext/ss.png)](https://requests.readthedocs.io) + + ## Cloning the repository + + When cloning the Requests repository, you may need to add the `-c + fetch.fsck.badTimezone=ignore` flag to avoid an error about a bad commit (see + [this issue](https://github.com/psf/requests/issues/2690) for more background): + + ```shell + git clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git + ``` + + You can also apply this setting to your global Git config: + + ```shell + git config --global fetch.fsck.badTimezone ignore + ``` + + --- + + [![Kenneth Reitz](https://raw.githubusercontent.com/psf/requests/main/ext/kr.png)](https://kennethreitz.org) [![Python Software Foundation](https://raw.githubusercontent.com/psf/requests/main/ext/psf.png)](https://www.python.org/psf) + Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: Web Environment @@ -32,85 +111,3 @@ Provides-Extra: security Provides-Extra: socks Provides-Extra: use_chardet_on_py3 -License-File: LICENSE - -# Requests - -**Requests** is a simple, yet elegant, HTTP library. - -```python ->>> import requests ->>> r = requests.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass')) ->>> r.status_code -200 ->>> r.headers['content-type'] -'application/json; charset=utf8' ->>> r.encoding -'utf-8' ->>> r.text -'{"authenticated": true, ...' ->>> r.json() -{'authenticated': True, ...} -``` - -Requests allows you to send HTTP/1.1 requests extremely easily. Thereâs no need to manually add query strings to your URLs, or to form-encode your `PUT` & `POST` data â but nowadays, just use the `json` method! - -Requests is one of the most downloaded Python packages today, pulling in around `30M downloads / week`â according to GitHub, Requests is currently [depended upon](https://github.com/psf/requests/network/dependents?package_id=UGFja2FnZS01NzA4OTExNg%3D%3D) by `1,000,000+` repositories. You may certainly put your trust in this code. - -[![Downloads](https://pepy.tech/badge/requests/month)](https://pepy.tech/project/requests) -[![Supported Versions](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests) -[![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/psf/requests/graphs/contributors) - -## Installing Requests and Supported Versions - -Requests is available on PyPI: - -```console -$ python -m pip install requests -``` - -Requests officially supports Python 3.7+. - -## Supported Features & BestâPractices - -Requests is ready for the demands of building robust and reliable HTTPâspeaking applications, for the needs of today. - -- Keep-Alive & Connection Pooling -- International Domains and URLs -- Sessions with Cookie Persistence -- Browser-style TLS/SSL Verification -- Basic & Digest Authentication -- Familiar `dict`âlike Cookies -- Automatic Content Decompression and Decoding -- Multi-part File Uploads -- SOCKS Proxy Support -- Connection Timeouts -- Streaming Downloads -- Automatic honoring of `.netrc` -- Chunked HTTP Requests - -## API Reference and User Guide available on [Read the Docs](https://requests.readthedocs.io) - -[![Read the Docs](https://raw.githubusercontent.com/psf/requests/main/ext/ss.png)](https://requests.readthedocs.io) - -## Cloning the repository - -When cloning the Requests repository, you may need to add the `-c -fetch.fsck.badTimezone=ignore` flag to avoid an error about a bad commit (see -[this issue](https://github.com/psf/requests/issues/2690) for more background): - -```shell -git clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git -``` - -You can also apply this setting to your global Git config: - -```shell -git config --global fetch.fsck.badTimezone ignore -``` - ---- - -[![Kenneth Reitz](https://raw.githubusercontent.com/psf/requests/main/ext/kr.png)](https://kennethreitz.org) [![Python Software Foundation](https://raw.githubusercontent.com/psf/requests/main/ext/psf.png)](https://www.python.org/psf) - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.28.1/requests/__init__.py new/requests-2.28.2/requests/__init__.py --- old/requests-2.28.1/requests/__init__.py 2022-06-29 17:09:45.000000000 +0200 +++ new/requests-2.28.2/requests/__init__.py 2023-01-12 17:16:59.000000000 +0100 @@ -80,8 +80,8 @@ elif charset_normalizer_version: major, minor, patch = charset_normalizer_version.split(".")[:3] major, minor, patch = int(major), int(minor), int(patch) - # charset_normalizer >= 2.0.0 < 3.0.0 - assert (2, 0, 0) <= (major, minor, patch) < (3, 0, 0) + # charset_normalizer >= 2.0.0 < 4.0.0 + assert (2, 0, 0) <= (major, minor, patch) < (4, 0, 0) else: raise Exception("You need either charset_normalizer or chardet installed") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.28.1/requests/__version__.py new/requests-2.28.2/requests/__version__.py --- old/requests-2.28.1/requests/__version__.py 2022-06-29 17:09:45.000000000 +0200 +++ new/requests-2.28.2/requests/__version__.py 2023-01-12 17:16:59.000000000 +0100 @@ -5,10 +5,10 @@ __title__ = "requests" __description__ = "Python HTTP for Humans." __url__ = "https://requests.readthedocs.io" -__version__ = "2.28.1" -__build__ = 0x022801 +__version__ = "2.28.2" +__build__ = 0x022802 __author__ = "Kenneth Reitz" __author_email__ = "m...@kennethreitz.org" __license__ = "Apache 2.0" -__copyright__ = "Copyright 2022 Kenneth Reitz" +__copyright__ = "Copyright Kenneth Reitz" __cake__ = "\u2728 \U0001f370 \u2728" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.28.1/requests/models.py new/requests-2.28.2/requests/models.py --- old/requests-2.28.1/requests/models.py 2022-06-29 17:09:45.000000000 +0200 +++ new/requests-2.28.2/requests/models.py 2023-01-12 17:16:59.000000000 +0100 @@ -438,7 +438,7 @@ if not scheme: raise MissingSchema( f"Invalid URL {url!r}: No scheme supplied. " - f"Perhaps you meant http://{url}?" + f"Perhaps you meant https://{url}?" ) if not host: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.28.1/requests.egg-info/PKG-INFO new/requests-2.28.2/requests.egg-info/PKG-INFO --- old/requests-2.28.1/requests.egg-info/PKG-INFO 2022-06-29 17:13:32.000000000 +0200 +++ new/requests-2.28.2/requests.egg-info/PKG-INFO 2023-01-12 17:24:34.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: requests -Version: 2.28.1 +Version: 2.28.2 Summary: Python HTTP for Humans. Home-page: https://requests.readthedocs.io Author: Kenneth Reitz @@ -8,6 +8,85 @@ License: Apache 2.0 Project-URL: Documentation, https://requests.readthedocs.io Project-URL: Source, https://github.com/psf/requests +Description: # Requests + + **Requests** is a simple, yet elegant, HTTP library. + + ```python + >>> import requests + >>> r = requests.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass')) + >>> r.status_code + 200 + >>> r.headers['content-type'] + 'application/json; charset=utf8' + >>> r.encoding + 'utf-8' + >>> r.text + '{"authenticated": true, ...' + >>> r.json() + {'authenticated': True, ...} + ``` + + Requests allows you to send HTTP/1.1 requests extremely easily. Thereâs no need to manually add query strings to your URLs, or to form-encode your `PUT` & `POST` data â but nowadays, just use the `json` method! + + Requests is one of the most downloaded Python packages today, pulling in around `30M downloads / week`â according to GitHub, Requests is currently [depended upon](https://github.com/psf/requests/network/dependents?package_id=UGFja2FnZS01NzA4OTExNg%3D%3D) by `1,000,000+` repositories. You may certainly put your trust in this code. + + [![Downloads](https://pepy.tech/badge/requests/month)](https://pepy.tech/project/requests) + [![Supported Versions](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests) + [![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/psf/requests/graphs/contributors) + + ## Installing Requests and Supported Versions + + Requests is available on PyPI: + + ```console + $ python -m pip install requests + ``` + + Requests officially supports Python 3.7+. + + ## Supported Features & BestâPractices + + Requests is ready for the demands of building robust and reliable HTTPâspeaking applications, for the needs of today. + + - Keep-Alive & Connection Pooling + - International Domains and URLs + - Sessions with Cookie Persistence + - Browser-style TLS/SSL Verification + - Basic & Digest Authentication + - Familiar `dict`âlike Cookies + - Automatic Content Decompression and Decoding + - Multi-part File Uploads + - SOCKS Proxy Support + - Connection Timeouts + - Streaming Downloads + - Automatic honoring of `.netrc` + - Chunked HTTP Requests + + ## API Reference and User Guide available on [Read the Docs](https://requests.readthedocs.io) + + [![Read the Docs](https://raw.githubusercontent.com/psf/requests/main/ext/ss.png)](https://requests.readthedocs.io) + + ## Cloning the repository + + When cloning the Requests repository, you may need to add the `-c + fetch.fsck.badTimezone=ignore` flag to avoid an error about a bad commit (see + [this issue](https://github.com/psf/requests/issues/2690) for more background): + + ```shell + git clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git + ``` + + You can also apply this setting to your global Git config: + + ```shell + git config --global fetch.fsck.badTimezone ignore + ``` + + --- + + [![Kenneth Reitz](https://raw.githubusercontent.com/psf/requests/main/ext/kr.png)](https://kennethreitz.org) [![Python Software Foundation](https://raw.githubusercontent.com/psf/requests/main/ext/psf.png)](https://www.python.org/psf) + Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: Web Environment @@ -32,85 +111,3 @@ Provides-Extra: security Provides-Extra: socks Provides-Extra: use_chardet_on_py3 -License-File: LICENSE - -# Requests - -**Requests** is a simple, yet elegant, HTTP library. - -```python ->>> import requests ->>> r = requests.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass')) ->>> r.status_code -200 ->>> r.headers['content-type'] -'application/json; charset=utf8' ->>> r.encoding -'utf-8' ->>> r.text -'{"authenticated": true, ...' ->>> r.json() -{'authenticated': True, ...} -``` - -Requests allows you to send HTTP/1.1 requests extremely easily. Thereâs no need to manually add query strings to your URLs, or to form-encode your `PUT` & `POST` data â but nowadays, just use the `json` method! - -Requests is one of the most downloaded Python packages today, pulling in around `30M downloads / week`â according to GitHub, Requests is currently [depended upon](https://github.com/psf/requests/network/dependents?package_id=UGFja2FnZS01NzA4OTExNg%3D%3D) by `1,000,000+` repositories. You may certainly put your trust in this code. - -[![Downloads](https://pepy.tech/badge/requests/month)](https://pepy.tech/project/requests) -[![Supported Versions](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests) -[![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/psf/requests/graphs/contributors) - -## Installing Requests and Supported Versions - -Requests is available on PyPI: - -```console -$ python -m pip install requests -``` - -Requests officially supports Python 3.7+. - -## Supported Features & BestâPractices - -Requests is ready for the demands of building robust and reliable HTTPâspeaking applications, for the needs of today. - -- Keep-Alive & Connection Pooling -- International Domains and URLs -- Sessions with Cookie Persistence -- Browser-style TLS/SSL Verification -- Basic & Digest Authentication -- Familiar `dict`âlike Cookies -- Automatic Content Decompression and Decoding -- Multi-part File Uploads -- SOCKS Proxy Support -- Connection Timeouts -- Streaming Downloads -- Automatic honoring of `.netrc` -- Chunked HTTP Requests - -## API Reference and User Guide available on [Read the Docs](https://requests.readthedocs.io) - -[![Read the Docs](https://raw.githubusercontent.com/psf/requests/main/ext/ss.png)](https://requests.readthedocs.io) - -## Cloning the repository - -When cloning the Requests repository, you may need to add the `-c -fetch.fsck.badTimezone=ignore` flag to avoid an error about a bad commit (see -[this issue](https://github.com/psf/requests/issues/2690) for more background): - -```shell -git clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git -``` - -You can also apply this setting to your global Git config: - -```shell -git config --global fetch.fsck.badTimezone ignore -``` - ---- - -[![Kenneth Reitz](https://raw.githubusercontent.com/psf/requests/main/ext/kr.png)](https://kennethreitz.org) [![Python Software Foundation](https://raw.githubusercontent.com/psf/requests/main/ext/psf.png)](https://www.python.org/psf) - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.28.1/requests.egg-info/requires.txt new/requests-2.28.2/requests.egg-info/requires.txt --- old/requests-2.28.1/requests.egg-info/requires.txt 2022-06-29 17:13:33.000000000 +0200 +++ new/requests-2.28.2/requests.egg-info/requires.txt 2023-01-12 17:24:34.000000000 +0100 @@ -1,4 +1,4 @@ -charset_normalizer<3,>=2 +charset_normalizer<4,>=2 idna<4,>=2.5 urllib3<1.27,>=1.21.1 certifi>=2017.4.17 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.28.1/setup.cfg new/requests-2.28.2/setup.cfg --- old/requests-2.28.1/setup.cfg 2022-06-29 17:13:33.191320700 +0200 +++ new/requests-2.28.2/setup.cfg 2023-01-12 17:24:35.000000000 +0100 @@ -5,7 +5,7 @@ use_chardet_on_py3 requires-dist = certifi>=2017.4.17 - charset_normalizer>=2,<3 + charset_normalizer>=2,<4 idna>=2.5,<4 urllib3>=1.21.1,<1.27 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.28.1/setup.py new/requests-2.28.2/setup.py --- old/requests-2.28.1/setup.py 2022-06-29 17:09:45.000000000 +0200 +++ new/requests-2.28.2/setup.py 2023-01-12 17:16:59.000000000 +0100 @@ -59,7 +59,7 @@ sys.exit() requires = [ - "charset_normalizer>=2,<3", + "charset_normalizer>=2,<4", "idna>=2.5,<4", "urllib3>=1.21.1,<1.27", "certifi>=2017.4.17",