- restored Name section that got messed up by spec-cleaner
- specfile:
* remove devel for noarch
* remove restriction for urllib3 < 1.24
* HISTORY and README changed from .rst to .md
- update to version 2.20.0:
* Bugfixes
+ Content-Type header parsing is now case-insensitive
(e.g. charset=utf8 v Charset=utf8).
+ Fixed exception leak where certain redirect urls would raise
uncaught urllib3 exceptions.
+ Requests removes Authorization header from requests redirected
from https to http on the same hostname. (CVE-2018-18074)
+ should_bypass_proxies now handles URIs without hostnames
(e.g. files).
* Dependencies
+ Requests now supports urllib3 v1.24.
* Deprecations
+ Requests has officially stopped support for Python 2.6.
OBS-URL: https://build.opensuse.org/request/show/645391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=112
- make multibuild package to resolve circular deps on tests
- make multibuild package to resolve circular deps on tests
- update to version 2.19.1:
* Fixed issue where status_codes.py’s init function failed trying
to append to a __doc__ value of None.
- update to version 2.19.0:
* Improvements
+ Warn about possible slowdown with cryptography version < 1.3.4
+ Check host in proxy URL, before forwarding request to adapter.
+ Maintain fragments properly across redirects. (RFC7231 7.1.2)
+ Removed use of cgi module to expedite library load time.
+ Added support for SHA-256 and SHA-512 digest auth algorithms.
+ Minor performance improvement to Request.content.
+ Migrate to using collections.abc for 3.7 compatibility.
* Bugfixes
+ Parsing empty Link headers with parse_header_links() no longer
return one bogus entry.
+ Fixed issue where loading the default certificate bundle from
a zip archive would raise an IOError.
+ Fixed issue with unexpected ImportError on windows system
which do not support winreg module.
+ DNS resolution in proxy bypass no longer includes the username
and password in the request. This also fixes the issue of DNS
queries failing on macOS.
+ Properly normalize adapter prefixes for url comparison.
+ Passing None as a file pointer to the files param no longer
raises an exception.
OBS-URL: https://build.opensuse.org/request/show/623059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=109
- update to version 2.19.1:
* Fixed issue where status_codes.py’s init function failed trying
to append to a __doc__ value of None.
- update to version 2.19.0:
* Improvements
+ Warn about possible slowdown with cryptography version < 1.3.4
+ Check host in proxy URL, before forwarding request to adapter.
+ Maintain fragments properly across redirects. (RFC7231 7.1.2)
+ Removed use of cgi module to expedite library load time.
+ Added support for SHA-256 and SHA-512 digest auth algorithms.
+ Minor performance improvement to Request.content.
+ Migrate to using collections.abc for 3.7 compatibility.
* Bugfixes
+ Parsing empty Link headers with parse_header_links() no longer
return one bogus entry.
+ Fixed issue where loading the default certificate bundle from
a zip archive would raise an IOError.
+ Fixed issue with unexpected ImportError on windows system
which do not support winreg module.
+ DNS resolution in proxy bypass no longer includes the username
and password in the request. This also fixes the issue of DNS
queries failing on macOS.
+ Properly normalize adapter prefixes for url comparison.
+ Passing None as a file pointer to the files param no longer
raises an exception.
+ Calling copy on a RequestsCookieJar will now preserve the
cookie policy correctly.
* We now support idna v2.7 and urllib3 v1.23.
- Properly set idna/urllib3 dependency versions, runtime and buildtime
- Spec cleanup, remove conditionals for ancient distro versions
- Remove duplicates with fdupes
OBS-URL: https://build.opensuse.org/request/show/620316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=108
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
OBS-URL: https://build.opensuse.org/request/show/507789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=103
update to version v2.12.4
* Python 2 compatibility
* adding tests for super_len conditional flow
* Check in updated idna.
* Test case for requests getting stuck on post redirect with seekable stream
* v2.12.2
* added new test, original test restored
* Make Response.content return None if raw is None
* adding unicode_is_ascii utility function
* Update sidebarlogo.html
* Fixed another scheme proxy over "all" priority
* Add changelog for 1.19.1
* changed behavior of basic-http-auth test
* correct backtick formatting
* Note @jeremycline is now our contact.
* Order of type check
* Add prepared request pickling tests
* adding comment
* Add deprecation warnings for 3.0
* clarify that the `chunk_size` is optional when streaming to a file
* adding ISO-8859-1 fallback for reason decoding
* fixed some error
* pysocks 1.5.7 blacklisting, due to IPv6 problems
* Fix tests for new urllib3 exception text.
* make add_dict_to_cookiejar cookielib.CookieJar compatible
* correct module for cookiejar_from_dict in docs
* converting update call to merge_cookies call for cookielib compatibility
* streaming doc clarification
* removing redundant logic from prepare_content_length
* Update certifi certs to 2016.09.26
OBS-URL: https://build.opensuse.org/request/show/447958
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=94
update to version v2.11.1
* Update urllib3 to 1.16
* Close and then release the connection
* Added tests for should_bypass_proxies function
* Update documentation of Session.max_redirects
* Document bunch of return types
* Update HISTORY.rst
* Cleaning up comment on JSON encoding to be more strictly relevant.
* Oh yeah, we updated urllib3 too.
* Fixing test; it was accomplishing the right thing, but doing it in the wrong way.
* compensate for lack of taste
* Use xfail marker for a test expected to fail without Internet connection
* in python3.x not have StringIO
* Spelling fixes
* adding in slice_length fix and test for chunk_size=None (#3370)
* Support responses like `HTTP/1.1 404 Unicode chars` (#3385)
* Document header ordering. (#3295)
* Add section on SOCKS proxies.
* Update list of supported Python versions in todo.rst
* removing Content-Type and Transfer-Encoding headers on redirect
* check and test for headers containing return characters or leading whitespace
* Clarify Python versions supported by requests
* Allow graceful interruption of testserver.Server
* reverting 3362
* fixed date formatting
* Make BaseAdapter describe the mandatory adapter interface (#3216)
* Note how HTTPErrors are raised
* Removing charset from JSON content type; tightening requirements on .encode()
* Add 'all' proxy selection to select_proxy
* Fix TypeError when get json-encoded content of a response
OBS-URL: https://build.opensuse.org/request/show/424147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=93