commit python-requests for openSUSE:Factory

2024-06-07 Thread Source-Sync
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 2024-06-07 15:01:52

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.24587 (New)


Package is "python-requests"

Fri Jun  7 15:01:52 2024 rev:82 rq:1179087 version:2.32.3

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2024-05-24 19:50:02.115088124 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.24587/python-requests.changes   
2024-06-07 15:01:59.920782407 +0200
@@ -1,0 +2,9 @@
+Thu Jun  6 19:38:03 UTC 2024 - Dirk Müller 
+
+- update to 2.32.3:
+  * Fixed bug breaking the ability to specify custom SSLContexts
+in sub-classes of HTTPAdapter.
+  * Fixed issue where Requests started failing to run on Python
+versions compiled without the `ssl` module.
+
+---

Old:

  requests-2.32.2.tar.gz

New:

  requests-2.32.3.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.13LWXk/_old  2024-06-07 15:02:00.576806306 +0200
+++ /var/tmp/diff_new_pack.13LWXk/_new  2024-06-07 15:02:00.576806306 +0200
@@ -26,7 +26,7 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:   python-requests%{psuffix}
-Version:2.32.2
+Version:2.32.3
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0

++ requests-2.32.2.tar.gz -> requests-2.32.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.32.2/HISTORY.md 
new/requests-2.32.3/HISTORY.md
--- old/requests-2.32.2/HISTORY.md  2024-05-21 20:49:50.0 +0200
+++ new/requests-2.32.3/HISTORY.md  2024-05-29 17:36:42.0 +0200
@@ -6,6 +6,15 @@
 
 - \[Short description of non-trivial change.\]
 
+2.32.3 (2024-05-29)
+---
+
+**Bugfixes**
+- Fixed bug breaking the ability to specify custom SSLContexts in sub-classes 
of
+  HTTPAdapter. (#6716)
+- Fixed issue where Requests started failing to run on Python versions compiled
+  without the `ssl` module. (#6724)
+
 2.32.2 (2024-05-21)
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.32.2/PKG-INFO new/requests-2.32.3/PKG-INFO
--- old/requests-2.32.2/PKG-INFO2024-05-21 20:51:11.119319000 +0200
+++ new/requests-2.32.3/PKG-INFO2024-05-29 17:37:13.783149200 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: requests
-Version: 2.32.2
+Version: 2.32.3
 Summary: Python HTTP for Humans.
 Home-page: https://requests.readthedocs.io
 Author: Kenneth Reitz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.32.2/src/requests/__version__.py 
new/requests-2.32.3/src/requests/__version__.py
--- old/requests-2.32.2/src/requests/__version__.py 2024-05-21 
20:49:50.0 +0200
+++ new/requests-2.32.3/src/requests/__version__.py 2024-05-29 
17:36:42.0 +0200
@@ -5,8 +5,8 @@
 __title__ = "requests"
 __description__ = "Python HTTP for Humans."
 __url__ = "https://requests.readthedocs.io";
-__version__ = "2.32.2"
-__build__ = 0x023202
+__version__ = "2.32.3"
+__build__ = 0x023203
 __author__ = "Kenneth Reitz"
 __author_email__ = "m...@kennethreitz.org"
 __license__ = "Apache-2.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.32.2/src/requests/adapters.py 
new/requests-2.32.3/src/requests/adapters.py
--- old/requests-2.32.2/src/requests/adapters.py2024-05-21 
20:49:50.0 +0200
+++ new/requests-2.32.3/src/requests/adapters.py2024-05-29 
17:36:42.0 +0200
@@ -73,26 +73,44 @@
 DEFAULT_RETRIES = 0
 DEFAULT_POOL_TIMEOUT = None
 
-_preloaded_ssl_context = create_urllib3_context()
-_preloaded_ssl_context.load_verify_locations(
-extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
-)
+
+try:
+import ssl  # noqa: F401
+
+_preloaded_ssl_context = create_urllib3_context()
+_preloaded_ssl_context.load_verify_locations(
+extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
+)
+except ImportError:
+# Bypass default SSLContext creation when Python
+# interpreter isn't built with the ssl module.
+_preloaded_ssl_context = None
 
 
 def _urllib3_request_context(
 request: "PreparedRequest",
 verify: "bool | str | None",
 client_cert: "typing.Tuple[str, str] | str | None",
+poolmanager: "PoolManager",
 ) -> "(typing.Dict[str, typing.Any], typing.Dict[str, typing.Any])":
 host_params = {}
 pool_kwargs = {}
 parsed_

commit python-requests for openSUSE:Factory

2024-05-24 Thread Source-Sync
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 2024-05-24 19:50:01

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.24587 (New)


Package is "python-requests"

Fri May 24 19:50:01 2024 rev:81 rq:1175867 version:2.32.2

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2023-09-12 21:02:42.267792687 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.24587/python-requests.changes   
2024-05-24 19:50:02.115088124 +0200
@@ -1,0 +2,24 @@
+Wed May 22 14:00:50 UTC 2024 - Markéta Machová 
+
+- Update to 2.32.2
+  * To provide a more stable migration for custom HTTPAdapters impacted by the 
CVE changes in 2.32.0, 
+we've renamed _get_connection to a new public API, 
get_connection_with_tls_context. Existing 
+custom HTTPAdapters will need to migrate their code to use this new API. 
get_connection is 
+considered deprecated in all versions of Requests>=2.32.0.
+
+---
+Tue May 21 12:33:41 UTC 2024 - Markéta Machová 
+
+- Update to 2.32.1
+  * Fixed an issue where setting verify=False on the first request from a 
Session 
+will cause subsequent requests to the same origin to also ignore cert 
verification, 
+regardless of the value of verify. (bsc#1224788, CVE-2024-35195)
+  * verify=True now reuses a global SSLContext which should improve request 
time 
+variance between first and subsequent requests.
+  * Requests now supports optional use of character detection (chardet or 
charset_normalizer) 
+when repackaged or vendored. This enables pip and other projects to 
minimize their 
+vendoring surface area.
+  * Requests has officially added support for CPython 3.12 and dropped support 
for CPython 3.7.
+  * Starting in Requests 2.33.0, Requests will migrate to a PEP 517 build 
system using hatchling.
+
+---

Old:

  requests-2.31.0.tar.gz

New:

  requests-2.32.2.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.3Xsm9a/_old  2024-05-24 19:50:03.155126102 +0200
+++ /var/tmp/diff_new_pack.3Xsm9a/_new  2024-05-24 19:50:03.155126102 +0200
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package python-requests
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 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
 %{?sle15_python_module_pythons}
 Name:   python-requests%{psuffix}
-Version:2.31.0
+Version:2.32.2
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0
@@ -89,9 +89,6 @@
 %prep
 %autosetup -p1 -n requests-%{version}
 
-# drop shebang from certs.py
-sed -i '1s/^#!.*$//' requests/certs.py
-
 # remove 'never' default parameter from digest-auth check
 # requires httpbin 0.6.0
 sed -i "s#\(httpbin.*\), 'never'#\1#" tests/test_requests.py

++ requests-2.31.0.tar.gz -> requests-2.32.2.tar.gz ++
 13294 lines of diff (skipped)


commit python-requests for openSUSE:Factory

2023-09-12 Thread Source-Sync
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-09-12 21:02:19

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.1766 (New)


Package is "python-requests"

Tue Sep 12 21:02:19 2023 rev:80 rq:1110368 version:2.31.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2023-06-14 16:28:41.066226670 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.1766/python-requests.changes
2023-09-12 21:02:42.267792687 +0200
@@ -1,0 +2,5 @@
+Mon Sep 11 20:41:40 UTC 2023 - Dirk Müller 
+
+- switch from unmaintained brotlipy to Brotli (same as urllib3)
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.VyZsi1/_old  2023-09-12 21:02:43.511837061 +0200
+++ /var/tmp/diff_new_pack.VyZsi1/_new  2023-09-12 21:02:43.515837203 +0200
@@ -56,8 +56,8 @@
 Recommends: python-pyOpenSSL >= 0.14
 %endif
 %if %{with test}
+BuildRequires:  %{python_module Brotli}
 BuildRequires:  %{python_module PySocks >= 1.5.6}
-BuildRequires:  %{python_module brotlipy}
 BuildRequires:  %{python_module charset-normalizer >= 2.0.0}
 BuildRequires:  %{python_module idna >= 2.5}
 BuildRequires:  %{python_module pytest-httpbin >= 0.0.7}


commit python-requests for openSUSE:Factory

2023-06-14 Thread Source-Sync
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-06-14 16:28:35

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.15902 (New)


Package is "python-requests"

Wed Jun 14 16:28:35 2023 rev:79 rq:1092607 version:2.31.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2023-05-19 11:55:25.819231894 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.15902/python-requests.changes   
2023-06-14 16:28:41.066226670 +0200
@@ -1,0 +2,27 @@
+Mon Jun 12 12:02:29 UTC 2023 - Daniel Garcia 
+
+- Delete requests-no-hardcoded-version.patch
+- Security Update to 2.31.0 (bsc#1211674):
+  Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential
+  forwarding of Proxy-Authorization headers to destination servers when
+  following HTTPS redirects.
+
+  When proxies are defined with user info (https://user:pass@proxy:8080), 
Requests
+  will construct a Proxy-Authorization header that is attached to the request 
to
+  authenticate with the proxy.
+
+  In cases where Requests receives a redirect response, it previously 
reattached
+  the Proxy-Authorization header incorrectly, resulting in the value being
+  sent through the tunneled connection to the destination server. Users who 
rely on
+  defining their proxy credentials in the URL are strongly encouraged to 
upgrade
+  to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy
+  credentials once the change has been fully deployed.
+
+  Users who do not use a proxy or do not supply their proxy credentials through
+  the user information portion of their proxy URL are not subject to this
+  vulnerability.
+
+  Full details can be read in our Github Security Advisory
+  and CVE-2023-32681.
+
+---

Old:

  requests-2.30.0.tar.gz
  requests-no-hardcoded-version.patch

New:

  requests-2.31.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.89533T/_old  2023-06-14 16:28:41.678230433 +0200
+++ /var/tmp/diff_new_pack.89533T/_new  2023-06-14 16:28:41.678230433 +0200
@@ -26,14 +26,12 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:   python-requests%{psuffix}
-Version:2.30.0
+Version:2.31.0
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0
 URL:https://docs.python-requests.org/
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM: Allow charset normalizer >=2 and <4, and don't strict 
require httpbin===1.0.0
-Patch0: requests-no-hardcoded-version.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes

++ requests-2.30.0.tar.gz -> requests-2.31.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.30.0/HISTORY.md 
new/requests-2.31.0/HISTORY.md
--- old/requests-2.30.0/HISTORY.md  2023-05-03 17:41:00.0 +0200
+++ new/requests-2.31.0/HISTORY.md  2023-05-22 17:11:02.0 +0200
@@ -6,6 +6,33 @@
 
 - \[Short description of non-trivial change.\]
 
+2.31.0 (2023-05-22)
+---
+
+**Security**
+- Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential
+  forwarding of `Proxy-Authorization` headers to destination servers when
+  following HTTPS redirects.
+
+  When proxies are defined with user info (https://user:pass@proxy:8080), 
Requests
+  will construct a `Proxy-Authorization` header that is attached to the 
request to
+  authenticate with the proxy.
+
+  In cases where Requests receives a redirect response, it previously 
reattached
+  the `Proxy-Authorization` header incorrectly, resulting in the value being
+  sent through the tunneled connection to the destination server. Users who 
rely on
+  defining their proxy credentials in the URL are *strongly* encouraged to 
upgrade
+  to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy
+  credentials once the change has been fully deployed.
+
+  Users who do not use a proxy or do not supply their proxy credentials through
+  the user information portion of their proxy URL are not subject to this
+  vulnerability.
+
+  Full details can be read in our [Github Security 
Advisory](https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q)
+  and [CVE-2023-32681](https://nvd.nist.gov/vuln/detail/CVE-2023-32681).
+
+
 2.30.0 (2023-05-03)
 ---
 
@@ -73,7 +100,

commit python-requests for openSUSE:Factory

2023-05-19 Thread Source-Sync
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-05-19 11:55:06

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.1533 (New)


Package is "python-requests"

Fri May 19 11:55:06 2023 rev:78 rq:1085070 version:2.30.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2023-03-04 22:42:25.131522279 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.1533/python-requests.changes
2023-05-19 11:55:25.819231894 +0200
@@ -1,0 +2,14 @@
+Fri May  5 12:03:42 UTC 2023 - Johannes Kastl 
+
+- add sle15_python_module_pythons
+
+---
+Thu May  4 01:49:01 UTC 2023 - Steve Kowalik 
+
+- Update to 2.30.0:
+  * Added support for urllib3 2.0. 
+  * Defer chunked requests to the urllib3 implementation to improve
+standardization.
+  * Relax header component requirements to support bytes/str subclasses.
+
+---

Old:

  requests-2.28.2.tar.gz

New:

  requests-2.30.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.5dt1X2/_old  2023-05-19 11:55:28.827249110 +0200
+++ /var/tmp/diff_new_pack.5dt1X2/_new  2023-05-19 11:55:28.835249156 +0200
@@ -24,13 +24,12 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:   python-requests%{psuffix}
-Version:2.28.2
+Version:2.30.0
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0
-Group:  Development/Languages/Python
 URL:https://docs.python-requests.org/
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM: Allow charset normalizer >=2 and <4, and don't strict 
require httpbin===1.0.0

++ requests-2.28.2.tar.gz -> requests-2.30.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.28.2/HISTORY.md 
new/requests-2.30.0/HISTORY.md
--- old/requests-2.28.2/HISTORY.md  2023-01-12 17:16:59.0 +0100
+++ new/requests-2.30.0/HISTORY.md  2023-05-03 17:41:00.0 +0200
@@ -6,6 +6,26 @@
 
 - \[Short description of non-trivial change.\]
 
+2.30.0 (2023-05-03)
+---
+
+**Dependencies**
+- ⚠️ Added support for urllib3 2.0. ⚠️
+
+  This may contain minor breaking changes so we advise careful testing and
+  reviewing https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html
+  prior to upgrading.
+
+  Users who wish to stay on urllib3 1.x can pin to `urllib3<2`.
+
+2.29.0 (2023-04-26)
+---
+
+**Improvements**
+
+- Requests now defers chunked requests to the urllib3 implementation to improve
+  standardization. (#6226)
+- Requests relaxes header component requirements to support bytes/str 
subclasses. (#6356)
 
 2.28.2 (2023-01-12)
 ---
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.28.2/PKG-INFO new/requests-2.30.0/PKG-INFO
--- old/requests-2.28.2/PKG-INFO2023-01-12 17:24:35.0 +0100
+++ new/requests-2.30.0/PKG-INFO2023-05-03 17:43:34.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: requests
-Version: 2.28.2
+Version: 2.30.0
 Summary: Python HTTP for Humans.
 Home-page: https://requests.readthedocs.io
 Author: Kenneth Reitz
@@ -106,7 +106,7 @@
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Software Development :: Libraries
-Requires-Python: >=3.7, <4
+Requires-Python: >=3.7
 Description-Content-Type: text/markdown
 Provides-Extra: security
 Provides-Extra: socks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.28.2/pyproject.toml 
new/requests-2.30.0/pyproject.toml
--- old/requests-2.28.2/pyproject.toml  2023-01-12 17:16:59.0 +0100
+++ new/requests-2.30.0/pyproject.toml  2023-05-03 17:41:00.0 +0200
@@ -4,7 +4,7 @@
 honor_noqa = true
 
 [tool.pytest.ini_options]
-addopts = "-p no:warnings --doctest-modules"
+addopts = "--doctest-modules"
 doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS"
 minversion = "6.2"
 testpaths = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.28.2/requests/__init__.py 
new/requests-2.30.0/requests/__init__.py
--- old/requests-2.28.2/re

commit python-requests for openSUSE:Factory

2023-03-06 Thread Source-Sync
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-03-04 22:42:18

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.31432 (New)


Package is "python-requests"

Sat Mar  4 22:42:18 2023 rev:77 rq:1069145 version:2.28.2

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2023-01-23 18:30:46.495621834 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.31432/python-requests.changes   
2023-03-04 22:42:25.131522279 +0100
@@ -1,0 +2,6 @@
+Thu Feb 16 17:03:23 UTC 2023 - David Anes 
+
+- Don't upper limit version of charset_normalized at runtime, too.
+  * Added change to patch: requests-no-hardcoded-version.patch
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.caOC98/_old  2023-03-04 22:42:26.383528297 +0100
+++ /var/tmp/diff_new_pack.caOC98/_new  2023-03-04 22:42:26.383528297 +0100
@@ -33,9 +33,8 @@
 Group:  Development/Languages/Python
 URL:https://docs.python-requests.org/
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
-# PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
+# PATCH-FIX-UPSTREAM: Allow charset normalizer >=2 and <4, and don't strict 
require httpbin===1.0.0
 Patch0: requests-no-hardcoded-version.patch
-# PATCH-FIX-UPSTREAN: Allow charset normalizer >=2 and <4
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -91,8 +90,7 @@
+ URL + HTTP Auth Registry.
 
 %prep
-%setup -q -n requests-%{version}
-%autopatch -p1
+%autosetup -p1 -n requests-%{version}
 
 # drop shebang from certs.py
 sed -i '1s/^#!.*$//' requests/certs.py

++ requests-no-hardcoded-version.patch ++
--- /var/tmp/diff_new_pack.caOC98/_old  2023-03-04 22:42:26.427528509 +0100
+++ /var/tmp/diff_new_pack.caOC98/_new  2023-03-04 22:42:26.427528509 +0100
@@ -1,7 +1,22 @@
-diff -ur requests-2.28.1.orig/setup.py requests-2.28.1/setup.py
 requests-2.28.1.orig/setup.py  2022-06-29 17:09:45.0 +0200
-+++ requests-2.28.1/setup.py   2022-06-29 21:15:48.428104387 +0200
-@@ -65,7 +65,7 @@
+---
+ requirements-dev.txt |2 +-
+ setup.py |2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/requirements-dev.txt
 b/requirements-dev.txt
+@@ -1,7 +1,7 @@
+ -e .[socks]
+ pytest>=2.8.0,<=6.2.5
+ pytest-cov
+-pytest-httpbin==1.0.0
++pytest-httpbin>=1.0.0
+ pytest-mock==2.0.0
+ httpbin==0.7.0
+ trustme
+--- a/setup.py
 b/setup.py
+@@ -65,7 +65,7 @@ requires = [
  "certifi>=2017.4.17",
  ]
  test_requirements = [


commit python-requests for openSUSE:Factory

2023-01-23 Thread Source-Sync
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 
+
+- 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.0 +0200
+++ new/requests-2.28.2/HISTORY.md  2023-01-12 17:16:59.0 +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-INFO2022-06-29 17:13:33.188606700 +0200
+++ new/requests-2.28.2/PKG-INFO2023-01-12 17:24:35.0 +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 p

commit python-requests for openSUSE:Factory

2022-11-01 Thread Source-Sync
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 2022-11-01 13:41:01

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.2275 (New)


Package is "python-requests"

Tue Nov  1 13:41:01 2022 rev:75 rq:1032440 version:2.28.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2022-10-10 18:43:20.790711611 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.2275/python-requests.changes
2022-11-01 13:41:08.899442865 +0100
@@ -1,0 +2,6 @@
+Mon Oct 31 07:43:29 UTC 2022 - David Anes 
+
+- allow using newest version of charset-normalizer (3.0+) 
+  * requests-allow-charset-normalizer-3.patch
+
+---

New:

  requests-allow-charset-normalizer-3.patch



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.qmaac8/_old  2022-11-01 13:41:09.491446014 +0100
+++ /var/tmp/diff_new_pack.qmaac8/_new  2022-11-01 13:41:09.495446035 +0100
@@ -35,6 +35,9 @@
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
 # 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-allow-charset-normalizer-3.patch ++
>From c57f1f0ca10e61771b459c857182c23626607312 Mon Sep 17 00:00:00 2001
From: deedy5 <65482418+dee...@users.noreply.github.com>
Date: Thu, 20 Oct 2022 18:26:18 +
Subject: [PATCH] Allow charset normalizer >=2 and <4 (#6261)

---
 requests/__init__.py | 4 ++--
 setup.cfg| 2 +-
 setup.py | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

Index: requests-2.28.1/requests/__init__.py
===
--- requests-2.28.1.orig/requests/__init__.py
+++ requests-2.28.1/requests/__init__.py
@@ -80,8 +80,8 @@ def check_compatibility(urllib3_version,
 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")
 
Index: requests-2.28.1/setup.cfg
===
--- requests-2.28.1.orig/setup.cfg
+++ requests-2.28.1/setup.cfg
@@ -5,7 +5,7 @@ provides-extra =
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
 
Index: requests-2.28.1/setup.py
===
--- requests-2.28.1.orig/setup.py
+++ requests-2.28.1/setup.py
@@ -59,7 +59,7 @@ if sys.argv[-1] == "publish":
 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",


commit python-requests for openSUSE:Factory

2022-10-10 Thread Source-Sync
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 2022-10-10 18:43:16

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.2275 (New)


Package is "python-requests"

Mon Oct 10 18:43:16 2022 rev:74 rq:1008412 version:2.28.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2022-07-04 11:32:34.903994796 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.2275/python-requests.changes
2022-10-10 18:43:20.790711611 +0200
@@ -1,0 +2,5 @@
+Thu Sep 29 14:01:56 UTC 2022 - Dirk M??ller 
+
+- requires python 3.7 or newer
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.aE3owO/_old  2022-10-10 18:43:21.358712834 +0200
+++ /var/tmp/diff_new_pack.aE3owO/_new  2022-10-10 18:43:21.362712842 +0200
@@ -35,6 +35,7 @@
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
 Patch0: requests-no-hardcoded-version.patch
+BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros


commit python-requests for openSUSE:Factory

2022-07-04 Thread Source-Sync
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 2022-07-04 11:32:30

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.1548 (New)


Package is "python-requests"

Mon Jul  4 11:32:30 2022 rev:73 rq:986373 version:2.28.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2022-01-07 12:45:10.923795495 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.1548/python-requests.changes
2022-07-04 11:32:34.903994796 +0200
@@ -1,0 +2,31 @@
+Wed Jun 29 19:11:41 UTC 2022 - Michael Str??der 
+
+- rebased requests-no-hardcoded-version.patch
+- update to 2.28.1
+  * 2.28.1 (2022-06-29)
+- Improvements
+  + Speed optimization in iter_content with transition to yield from. 
(#6170)
+- Dependencies
+  + Added support for chardet 5.0.0 (#6179)
+  + Added support for charset-normalizer 2.1.0 (#6169)
+  * 2.28.0 (2022-06-09)
+- Deprecations
+  + warning Requests has officially dropped support for Python 2.7. 
warning (#6091)
+  + Requests has officially dropped support for Python 3.6 (including 
pypy3.6). (#6091)
+- Improvements
+  + Wrap JSON parsing issues in Request's JSONDecodeError for payloads
+without an encoding to make json() API consistent. (#6097)
+  + Parse header components consistently, raising an InvalidHeader error 
in all invalid cases. (#6154)
+  + Added provisional 3.11 support with current beta build. (#6155)
+  + Requests got a makeover and we decided to paint it black. (#6095)
+- Bugfixes
+  + Fixed bug where setting CURL_CA_BUNDLE to an empty string would disable
+cert verification. All Requests 2.x versions before 2.28.0 are 
affected. (#6074)
+  + Fixed urllib3 exception leak, wrapping urllib3.exceptions.SSLError with
+requests.exceptions.SSLError for content and iter_content. (#6057)
+  + Fixed issue where invalid Windows registry entires caused proxy 
resolution
+to raise an exception rather than ignoring the entry. (#6149)
+  + Fixed issue where entire payload could be included in the error
+message for JSONDecodeError. (#6036)
+
+---

Old:

  requests-2.27.1.tar.gz

New:

  requests-2.28.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.v5t7Z9/_old  2022-07-04 11:32:35.511995775 +0200
+++ /var/tmp/diff_new_pack.v5t7Z9/_new  2022-07-04 11:32:35.515995782 +0200
@@ -26,7 +26,7 @@
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests%{psuffix}
-Version:2.27.1
+Version:2.28.1
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0

++ requests-2.27.1.tar.gz -> requests-2.28.1.tar.gz ++
 10582 lines of diff (skipped)

++ requests-no-hardcoded-version.patch ++
--- /var/tmp/diff_new_pack.v5t7Z9/_old  2022-07-04 11:32:35.619995949 +0200
+++ /var/tmp/diff_new_pack.v5t7Z9/_new  2022-07-04 11:32:35.623995955 +0200
@@ -1,14 +1,13 @@
-Index: requests-2.25.0/setup.py
-===
 requests-2.25.0.orig/setup.py
-+++ requests-2.25.0/setup.py
-@@ -49,7 +49,7 @@ requires = [
- 
+diff -ur requests-2.28.1.orig/setup.py requests-2.28.1/setup.py
+--- requests-2.28.1.orig/setup.py  2022-06-29 17:09:45.0 +0200
 requests-2.28.1/setup.py   2022-06-29 21:15:48.428104387 +0200
+@@ -65,7 +65,7 @@
+ "certifi>=2017.4.17",
  ]
  test_requirements = [
--'pytest-httpbin==0.0.7',
-+'pytest-httpbin>=0.0.7',
- 'pytest-cov',
- 'pytest-mock',
- 'pytest-xdist',
+-"pytest-httpbin==0.0.7",
++"pytest-httpbin>=0.0.7",
+ "pytest-cov",
+ "pytest-mock",
+ "pytest-xdist",
 


commit python-requests for openSUSE:Factory

2022-01-07 Thread Source-Sync
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 2022-01-07 12:44:41

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.1896 (New)


Package is "python-requests"

Fri Jan  7 12:44:41 2022 rev:72 rq:944115 version:2.27.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2021-11-21 23:51:41.346348295 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.1896/python-requests.changes
2022-01-07 12:45:10.923795495 +0100
@@ -1,0 +2,41 @@
+Wed Jan  5 17:09:11 UTC 2022 - Michael Str??der 
+
+- update to 2.27.1
+  * Fixed parsing issue that resulted in the auth component being
+dropped from proxy URLs. (#6028)
+
+---
+Tue Jan  4 16:20:04 UTC 2022 - Dirk M??ller 
+
+- update to 2.27.0:
+* Officially added support for Python 3.10. (#5928)
+
+* Added a `requests.exceptions.JSONDecodeError` to unify JSON exceptions 
between
+  Python 2 and 3. This gets raised in the `response.json()` method, and is
+  backwards compatible as it inherits from previously thrown exceptions.
+  Can be caught from `requests.exceptions.RequestException` as well. (#5856)
+
+* Improved error text for misnamed `InvalidSchema` and `MissingSchema`
+  exceptions. This is a temporary fix until exceptions can be renamed
+  (Schema->Scheme). (#6017)
+* Improved proxy parsing for proxy URLs missing a scheme. This will address
+  recent changes to `urlparse` in Python 3.9+. (#5917)
+* Fixed defect in `extract_zipped_paths` which could result in an infinite loop
+  for some paths. (#5851)
+* Fixed handling for `AttributeError` when calculating length of files obtained
+  by `Tarfile.extractfile()`. (#5239)
+* Fixed urllib3 exception leak, wrapping `urllib3.exceptions.InvalidHeader` 
with
+  `requests.exceptions.InvalidHeader`. (#5914)
+* Fixed bug where two Host headers were sent for chunked requests. (#5391)
+* Fixed regression in Requests 2.26.0 where `Proxy-Authorization` was
+  incorrectly stripped from all requests sent with `Session.send`. (#5924)
+* Fixed performance regression in 2.26.0 for hosts with a large number of
+  proxies available in the environment. (#5924)
+* Fixed idna exception leak, wrapping `UnicodeError` with
+  `requests.exceptions.InvalidURL` for URLs with a leading dot (.) in the
+  domain. (#5414)
+* Requests support for Python 2.7 and 3.6 will be ending in 2022. While we
+  don't have exact dates, Requests 2.27.x is likely to be the last release
+  series providing support.
+
+---

Old:

  requests-2.26.0.tar.gz

New:

  requests-2.27.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.2DdMB1/_old  2022-01-07 12:45:11.991796236 +0100
+++ /var/tmp/diff_new_pack.2DdMB1/_new  2022-01-07 12:45:11.999796242 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,12 +26,12 @@
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests%{psuffix}
-Version:2.26.0
+Version:2.27.1
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0
 Group:  Development/Languages/Python
-URL:http://python-requests.org/
+URL:https://docs.python-requests.org/
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
 Patch0: requests-no-hardcoded-version.patch

++ requests-2.26.0.tar.gz -> requests-2.27.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.26.0/HISTORY.md 
new/requests-2.27.1/HISTORY.md
--- old/requests-2.26.0/HISTORY.md  2021-07-13 16:52:57.0 +0200
+++ new/requests-2.27.1/HISTORY.md  2022-01-05 16:36:01.0 +0100
@@ -4,7 +4,63 @@
 dev
 ---
 
--   \[Short description of non-trivial change.\]
+- \[Short description of non-trivial change.\]
+
+2.27.1 (2022-01-05)
+---
+
+**Bugfixes**
+
+- Fixed parsing issue that resulted in the `auth` component being
+  dropped from proxy URLs. (#6028)
+
+2.27.0 (2022-01-03)
+---
+
+**Improvements**
+
+- Officially added support for Python 3.10. (#5928)
+
+- Added a `requests.exceptions.JSONDecodeError` 

commit python-requests for openSUSE:Factory

2021-11-21 Thread Source-Sync
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 2021-11-21 23:51:34

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.1895 (New)


Package is "python-requests"

Sun Nov 21 23:51:34 2021 rev:71 rq:928315 version:2.26.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2021-07-10 22:54:01.851976943 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.1895/python-requests.changes
2021-11-21 23:51:41.346348295 +0100
@@ -1,0 +2,23 @@
+Thu Oct 28 06:55:31 UTC 2021 - Steve Kowalik 
+
+- Correct {Build,}Requires for charset_normalizer.
+- Add trustme to BuildRequires for the test suite.
+
+---
+Tue Oct 26 21:08:01 UTC 2021 - Dirk M??ller 
+
+- update to 2.26.0:
+  - `Session.send` now correctly resolves proxy configurations from both
+the Session and Request. Behavior now matches `Session.request`. (#5681)
+  - Fixed a race condition in zip extraction when using Requests in parallel
+from zip archive. (#5707)
+  - Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3
+to remove license ambiguity for projects bundling requests.
+  - Requests now supports `idna` 3.x on Python 3. `idna` 2.x will continue to
+be used on Python 2 installations. (#5711)
+  - The `requests[security]` extra has been converted to a no-op install.
+PyOpenSSL is no longer the recommended secure option for Requests. (#5867)
+  - Requests has officially dropped support for Python 3.5. (#5867)
+- drop 5711.patch: upstream
+
+---

Old:

  5711.patch
  requests-2.25.1.tar.gz

New:

  requests-2.26.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.Kci3eF/_old  2021-11-21 23:51:42.638344130 +0100
+++ /var/tmp/diff_new_pack.Kci3eF/_new  2021-11-21 23:51:42.638344130 +0100
@@ -26,7 +26,7 @@
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests%{psuffix}
-Version:2.25.1
+Version:2.26.0
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0
@@ -35,15 +35,13 @@
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
 Patch0: requests-no-hardcoded-version.patch
-# PATCH-FIX-UPSTREAM: gh#psf/requests#5711
-Patch1: 
https://patch-diff.githubusercontent.com/raw/psf/requests/pull/5711.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   ca-certificates
 Requires:   python
 Requires:   python-certifi >= 2017.4.17
-Requires:   python-chardet >= 3.0.2
+Requires:   python-charset-normalizer >= 2.0.0
 Requires:   python-idna >= 2.5
 Requires:   python-py
 Requires:   python-urllib3 >= 1.21.1
@@ -62,12 +60,13 @@
 %if %{with test}
 BuildRequires:  %{python_module PySocks >= 1.5.6}
 BuildRequires:  %{python_module brotlipy}
-BuildRequires:  %{python_module chardet >= 3.0.2}
+BuildRequires:  %{python_module charset-normalizer >= 2.0.0}
 BuildRequires:  %{python_module idna >= 2.5}
 BuildRequires:  %{python_module pytest-httpbin >= 0.0.7}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests >= %{version}}
+BuildRequires:  %{python_module trustme}
 %endif
 %python_subpackages
 

++ requests-2.25.1.tar.gz -> requests-2.26.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.25.1/HISTORY.md 
new/requests-2.26.0/HISTORY.md
--- old/requests-2.25.1/HISTORY.md  2020-12-16 20:36:58.0 +0100
+++ new/requests-2.26.0/HISTORY.md  2021-07-13 16:52:57.0 +0200
@@ -6,6 +6,48 @@
 
 -   \[Short description of non-trivial change.\]
 
+2.26.0 (2021-07-13)
+---
+
+**Improvements**
+
+- Requests now supports Brotli compression, if either the `brotli` or
+  `brotlicffi` package is installed. (#5783)
+
+- `Session.send` now correctly resolves proxy configurations from both
+  the Session and Request. Behavior now matches `Session.request`. (#5681)
+
+**Bugfixes**
+
+- Fixed a race condition in zip extraction when using Requests in parallel
+  from zip archive. (#5707)
+
+**Dependencies**
+
+- Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3
+  to remove license ambiguity for projec

commit python-requests for openSUSE:Factory

2021-07-10 Thread Source-Sync
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 2021-07-10 22:53:52

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.2625 (New)


Package is "python-requests"

Sat Jul 10 22:53:52 2021 rev:70 rq:903344 version:2.25.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2021-02-15 23:13:21.919132790 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.2625/python-requests.changes
2021-07-10 22:54:01.851976943 +0200
@@ -1,0 +2,5 @@
+Thu Jul  1 06:28:57 UTC 2021 - Steve Kowalik 
+
+- Skip test_pyopenssl_redirect due to gh#psf/requests#5846 
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.QIy8W4/_old  2021-07-10 22:54:02.391972776 +0200
+++ /var/tmp/diff_new_pack.QIy8W4/_new  2021-07-10 22:54:02.391972776 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-requests
+# spec file
 #
 # Copyright (c) 2021 SUSE LLC
 #
@@ -118,7 +118,7 @@
 touch Pipfile
 # exclude tests connecting to TARPIT
 # exclude test_https_warnings as is flaky
-%python_exec -m pytest -v tests -k "not (TestTimeout or connect or 
test_https_warnings)"
+%python_exec -m pytest -v tests -k "not (TestTimeout or connect or 
test_https_warnings or test_pyopenssl_redirect)"
 %endif
 
 %if !%{with test}


commit python-requests for openSUSE:Factory

2021-02-15 Thread Source-Sync
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 2021-02-15 23:11:59

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.28504 (New)


Package is "python-requests"

Mon Feb 15 23:11:59 2021 rev:69 rq:871198 version:2.25.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2021-02-11 12:47:38.377510911 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.28504/python-requests.changes   
2021-02-15 23:13:21.919132790 +0100
@@ -1,0 +2,5 @@
+Thu Feb  4 10:32:14 UTC 2021 - Dirk M??ller 
+
+- add 5711.patch from upstream instead to remove idna<3 pin 
+
+---

New:

  5711.patch



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.dAZq5R/_old  2021-02-15 23:13:22.411133525 +0100
+++ /var/tmp/diff_new_pack.dAZq5R/_new  2021-02-15 23:13:22.415133531 +0100
@@ -35,6 +35,8 @@
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
 Patch0: requests-no-hardcoded-version.patch
+# PATCH-FIX-UPSTREAM: gh#psf/requests#5711
+Patch1: 
https://patch-diff.githubusercontent.com/raw/psf/requests/pull/5711.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -104,11 +106,6 @@
 %install
 %if !%{with test}
 %python_install
-%{python_expand # don't pin to idna<3 for python3, because many package 
installers check this and fail with newer idna
-if [ ! 0%{$python_version_nodots} -lt 30 ]; then
-  sed -i -E 's/idna<3,?/idna/' 
%{buildroot}%{$python_sitelib}/requests-%{version}*-info/requires.txt
-fi
-}
 # check that urllib3 is not installed
 test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3
 %python_expand %fdupes %{buildroot}%{$python_sitelib}

++ 5711.patch ++
>From 9484e13c7da927119fe82794bb5571cec144b6d7 Mon Sep 17 00:00:00 2001
From: Naor Livne 
Date: Fri, 1 Jan 2021 14:31:14 +0200
Subject: [PATCH 1/2] bump idna has version 3.0 was released

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 7ba4b2a25f..f265384236 100755
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ def run_tests(self):
 
 requires = [
 'chardet>=3.0.2,<5',
-'idna>=2.5,<3',
+'idna>=2.5,<4',
 'urllib3>=1.21.1,<1.27',
 'certifi>=2017.4.17'
 

>From d3e00a4958af046879f24de365d5589d861ea6ef Mon Sep 17 00:00:00 2001
From: Naor Livne 
Date: Tue, 5 Jan 2021 16:31:15 +0200
Subject: [PATCH 2/2] Update setup.py
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Co-authored-by: Micka??l Schoentgen 
---
 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index f265384236..5ce59e621d 100755
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,8 @@ def run_tests(self):
 
 requires = [
 'chardet>=3.0.2,<5',
-'idna>=2.5,<4',
+'idna>=2.5,<3 ; python_version < "3"',
+'idna>=2.5,<4 ; python_version >= "3"',
 'urllib3>=1.21.1,<1.27',
 'certifi>=2017.4.17'
 


commit python-requests for openSUSE:Factory

2021-02-11 Thread Source-Sync
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 2021-02-11 12:46:29

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.28504 (New)


Package is "python-requests"

Thu Feb 11 12:46:29 2021 rev:68 rq:869036 version:2.25.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2020-12-23 14:18:42.353561252 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.28504/python-requests.changes   
2021-02-11 12:47:38.377510911 +0100
@@ -1,0 +2,6 @@
+Wed Feb  3 14:04:52 UTC 2021 - Ben Greiner 
+
+- Don't pin idna<3 in the egg-info so that depending packages
+  can install the new idna dropping python2 
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.UI7mQ7/_old  2021-02-11 12:47:38.949511744 +0100
+++ /var/tmp/diff_new_pack.UI7mQ7/_new  2021-02-11 12:47:38.953511750 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-requests
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -104,6 +104,11 @@
 %install
 %if !%{with test}
 %python_install
+%{python_expand # don't pin to idna<3 for python3, because many package 
installers check this and fail with newer idna
+if [ ! 0%{$python_version_nodots} -lt 30 ]; then
+  sed -i -E 's/idna<3,?/idna/' 
%{buildroot}%{$python_sitelib}/requests-%{version}*-info/requires.txt
+fi
+}
 # check that urllib3 is not installed
 test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3
 %python_expand %fdupes %{buildroot}%{$python_sitelib}


commit python-requests for openSUSE:Factory

2020-12-03 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2020-12-03 18:37:27

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.5913 (New)


Package is "python-requests"

Thu Dec  3 18:37:27 2020 rev:66 rq:851065 version:2.25.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2020-08-01 12:30:44.450432252 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.5913/python-requests.changes
2020-12-03 18:37:28.689613094 +0100
@@ -1,0 +2,9 @@
+Thu Nov 26 12:37:34 UTC 2020 - Dirk Mueller 
+
+- update to 2.25.0:
+  * Added support for NETRC environment variable. (#5643)
+  * Requests now supports urllib3 v1.26.
+  * Requests v2.25.x will be the last release series with support for Python 
3.5.
+- refreshed requests-no-hardcoded-version.patch
+
+---

Old:

  requests-2.24.0.tar.gz

New:

  requests-2.25.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.Jj09Vm/_old  2020-12-03 18:37:29.909615406 +0100
+++ /var/tmp/diff_new_pack.Jj09Vm/_new  2020-12-03 18:37:29.913615413 +0100
@@ -26,7 +26,7 @@
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests%{psuffix}
-Version:2.24.0
+Version:2.25.0
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0

++ requests-2.24.0.tar.gz -> requests-2.25.0.tar.gz ++
 1770 lines of diff (skipped)

++ requests-no-hardcoded-version.patch ++
--- /var/tmp/diff_new_pack.Jj09Vm/_old  2020-12-03 18:37:30.029615633 +0100
+++ /var/tmp/diff_new_pack.Jj09Vm/_new  2020-12-03 18:37:30.029615633 +0100
@@ -1,17 +1,8 @@
-Index: requests-2.23.0/setup.py
+Index: requests-2.25.0/setup.py
 ===
 requests-2.23.0.orig/setup.py
-+++ requests-2.23.0/setup.py
-@@ -42,14 +42,14 @@ if sys.argv[-1] == 'publish':
- packages = ['requests']
- 
- requires = [
--'chardet>=3.0.2,<4',
--'idna>=2.5,<3',
-+'chardet>=3.0.2',
-+'idna>=2.5',
- 'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',
- 'certifi>=2017.4.17'
+--- requests-2.25.0.orig/setup.py
 requests-2.25.0/setup.py
+@@ -49,7 +49,7 @@ requires = [
  
  ]
  test_requirements = [
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org