Commit Graph

96 Commits

Author SHA256 Message Date
Tomáš Chvátal
316a0b7f87 Accepting request 757372 from home:StefanBruens:branches:devel:languages:python
- Remove python-urllib3, python-certifi and ca-certificates from
  main package BuildRequires, not required for building.
- Do not require full python, (implicit) python-base is sufficient.

OBS-URL: https://build.opensuse.org/request/show/757372
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=136
2019-12-17 07:54:37 +00:00
Tomáš Chvátal
bb07151af9 Accepting request 744656 from home:jayvdb:branches:devel:languages:python:isolated
- Add two patches only updating test logic to remove pytest 3 pin
  - merged_pr_5049.patch
  - pr_5251-pytest5.patch

OBS-URL: https://build.opensuse.org/request/show/744656
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=134
2019-11-01 08:23:28 +00:00
Tomáš Chvátal
7143771b59 - Hardcode pytest 3.x series as upstream even in git does not work
with newer versions (they pinned the release)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=132
2019-07-22 07:58:25 +00:00
Tomáš Chvátal
29cefd379a - Update to 2.22.0:
* Requests now supports urllib3 v1.25.2. (note: 1.25.0 and 1.25.1 are incompatible)
- Rebase requests-no-hardcoded-version.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=130
2019-05-25 08:45:30 +00:00
Tomáš Chvátal
1a4a56e41c - Do not hardcode version requirements in setup.py allowing us to
update and verify functionality on our own:
  * requests-no-hardcoded-version.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=128
2019-04-23 10:46:50 +00:00
Tomáš Chvátal
671ee91793 - Skip one more test that is flaky
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=126
2019-02-25 15:45:21 +00:00
Tomáš Chvátal
7dbc844192 - Update to 2.21.0:
* Update various dependencies to match reality
- Update the reqs based on upstream
- Fix the multibuild to match other packages

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=125
2019-02-15 11:41:38 +00:00
05c79ceb31 Accepting request 671881 from home:glaubitz:branches:devel:languages:python
- update to version 2.21.0:
  * Requests now supports idna v2.8.

OBS-URL: https://build.opensuse.org/request/show/671881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=123
2019-02-05 14:03:59 +00:00
4e7a7eb879 Accepting request 664951 from home:jbrownell:branches:devel:languages:python
- Support older Red Hat platforms that don't offer "Recommends:"

OBS-URL: https://build.opensuse.org/request/show/664951
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=121
2019-01-12 15:42:15 +00:00
2b5c82d4b2 - Move name ahead of version in spec file to resolve build issues
on older distributions
- fdupe more thoroughly.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=119
2018-12-31 11:25:50 +00:00
11080ed48a Remove r117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=118
2018-12-29 23:47:40 +00:00
788e4f3963 - avoid using recommends on older distributions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=117
2018-12-10 10:36:44 +00:00
Todd R
5b988d3f50 Accepting request 651457 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/651457
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=114
2018-11-25 01:49:10 +00:00
Todd R
f7387ae626 Accepting request 646626 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of descriptions.

OBS-URL: https://build.opensuse.org/request/show/646626
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=113
2018-11-06 15:28:08 +00:00
Tomáš Chvátal
3028d8a918 Accepting request 645391 from home:apersaud:branches:devel:languages:python
- 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
2018-10-30 08:35:15 +00:00
Tomáš Chvátal
708234795a Only one changelog is enough
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=111
2018-08-06 10:01:03 +00:00
579757f76c Accepting request 624056 from home:mimi_vx:branches:devel:languages:python
- -test subpackage must be empty 

- -test subpackage must be empty

OBS-URL: https://build.opensuse.org/request/show/624056
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=110
2018-07-19 14:15:21 +00:00
Tomáš Chvátal
df7ea9c472 Accepting request 623059 from home:mimi_vx:branches:devel:languages:python
- 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
2018-07-16 08:02:35 +00:00
Tomáš Chvátal
8e0d77f4df Accepting request 620316 from home:StefanBruens:branches:devel:languages:python
- 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
2018-07-03 07:07:45 +00:00
Tomáš Chvátal
91167bda81 Accepting request 583915 from home:aplanas:branches:devel:languages:python
Allows Recommends and Suggest in Fedora

OBS-URL: https://build.opensuse.org/request/show/583915
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=107
2018-03-07 14:42:55 +00:00
76a2b046ed Accepting request 580753 from home:aplanas:branches:devel:languages:python
- Recommends only for SUSE
- In no SUSE evironments some tests related with certificates can
  fail. Skip the tests if this case.

OBS-URL: https://build.opensuse.org/request/show/580753
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=106
2018-02-27 21:50:44 +00:00
Jan Matejek
9b44abc81b Accepting request 529024 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/529024
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=105
2017-09-29 10:42:46 +00:00
62f6478c43 Accepting request 515129 from home:tbechtold:branches:devel:languages:python
- update to version v2.18.2
  * Add requirements.txt to MANIFEST.in
  * test ssl version check functions as expected in python 2.6
  * no more stickers
  * fix OPENSSL_VERSION_NUMBER check on Python2.6's ssl module
  * Setup HISTORY for next release
  * Use 'prefix' instead of 'key' in session docstring
  * Allow urllib3 1.22
  * v2.18.2
  * stickers
  * redundant comma

OBS-URL: https://build.opensuse.org/request/show/515129
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=104
2017-08-08 15:58:21 +00:00
Jan Matejek
d777f538e6 Accepting request 507789 from home:tbechtold:branches:devel:languages:python
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
2017-07-03 13:49:49 +00:00
fe4ce95129 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=102 2017-06-10 10:10:54 +00:00
044c0e83b9 * for more changes, see https://pypi.python.org/pypi/requests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=101
2017-06-10 09:04:10 +00:00
22edbfd5c9 - update to 2.16.5:
* unvendored bundled libraries
- drop no-default-cacert.patch: this is now in python-certifi
- drop requests-do-not-use-bundle.patch: obsolete

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=100
2017-06-10 09:03:49 +00:00
bf9ba7bf34 Accepting request 495357 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/495357
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=99
2017-06-06 08:12:55 +00:00
16b75451f0 Accepting request 492416 from home:alarrosa:branches:devel:languages:python
This should fix https://build.opensuse.org/request/show/487847 which was declined by factory-auto
- The following two entries should have been added to the previous
  changelog entry.
- Drop urllib3-ssl-default-context.patch
- Add requests-do-not-use-bundle.patch

OBS-URL: https://build.opensuse.org/request/show/492416
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=98
2017-05-15 13:24:04 +00:00
Jan Matejek
ca11654340 * drop urllib3-ssl-default-context.patch
* add requests-do-not-use-bundle.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=97
2017-05-03 13:16:59 +00:00
Jan Matejek
8c0d90828d Accepting request 486162 from devel:languages:python:singlespec
- update for multipython build
- synchronize with python 3 version
- debundle urllib3 and chardet
- enable test suite

- update urllib3 requirement to 1.19.1
- add idna requirement, refresh unbundling patch

OBS-URL: https://build.opensuse.org/request/show/486162
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=96
2017-04-06 14:56:39 +00:00
Thomas Bechtold
ef72fbb351 Accepting request 477406 from home:weberho:branches:devel:languages:python
- fixed dependencies in spec

- update to version 2.13.0
  * Only load the idna library when we’ve determined we need it. 
    This will save some memory for users.
  * Updated bundled urllib3 to 1.20.
  * Updated bundled idna to 2.2.

- update to version 2.12.5
  * Fixed an issue with JSON encoding detection, specifically detecting 
    big-endian UTF-32 with BOM.

OBS-URL: https://build.opensuse.org/request/show/477406
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=95
2017-03-20 15:48:37 +00:00
154c4f7af4 Accepting request 447958 from home:tbechtold:branches:devel:languages:python
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
2017-01-02 08:52:00 +00:00
f4c0eb72dd Accepting request 424147 from home:tbechtold:branches:devel:languages:python
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
2016-09-01 12:26:11 +00:00
948761ff6e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=90 2016-06-06 11:37:29 +00:00
59f15f636b - update to 2.10.1:
* SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
  * Updated bundled urllib3 to 1.15.1.
  * Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
    as its underlying datastore.
  * Don't use redirect_cache if allow_redirects=False
  * When passed objects that throw exceptions from ``tell()``, send them via
    chunked transfer encoding instead of failing.
  * Raise a ProxyError for proxy related connection issues.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=89
2016-05-18 08:06:44 +00:00
0f6946c0d7 Accepting request 373395 from home:matejcik:requests-mess
- update no-default-cacert.patch to simply pass empty CA path
- urllib3-ssl-default-context.patch: patch bundled urllib3 to behave
  correctly with regard to empty CA path passed
- change urllib3 fallback requirements to Recommends
- use ca-certificates in SLE as well
- recommend ca-certificates-mozilla to have a basic certificate set

OBS-URL: https://build.opensuse.org/request/show/373395
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=87
2016-03-15 20:09:49 +00:00
Jan Matejek
ee0d6bcb47 Accepting request 360051 from home:XRevan86
OBS-URL: https://build.opensuse.org/request/show/360051
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=85
2016-02-23 15:37:33 +00:00
Denisart Benjamin
60197780b7 Accepting request 349384 from home:rjschwei:branches:devel:languages:python
- Modify no-default-cacert
  + The call to set_default_verify_paths() is not necessary. The openSUSE
    and SLES Python has been patched to always use the system certs.
    Additionally this call breaks the use of python-requests on older systems,
    openSUSE_13.2 and original release of SLES 12 which fall back to
    the built in implementation of ssl which doe not implement
    this method

OBS-URL: https://build.opensuse.org/request/show/349384
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=83
2015-12-29 13:50:34 +00:00
78a8f66a4b - update to 2.8.1:
- Update certificate bundle to match ``certifi`` 2015.9.6.2's weak certificate
    bundle.
  - Fix a bug in 2.8.0 where requests would raise ``ConnectTimeout`` instead of
    ``ConnectionError``
  - When using the PreparedRequest flow, requests will now correctly respect the
    ``json`` parameter. Broken in 2.8.0.
  - When using the PreparedRequest flow, requests will now correctly handle a
    Unicode-string method name on Python 2. Broken in 2.8.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=81
2015-10-21 21:09:14 +00:00
6fd6cd6487 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=80 2015-10-21 21:04:56 +00:00
6ea8cd990e - remove requests-do-not-use-bundle.patch (bsc#947357)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=79
2015-10-21 20:51:25 +00:00
abe5af4ccd OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=78 2015-10-21 16:30:25 +00:00
81ffef7dde - fix requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=77
2015-10-21 08:00:58 +00:00
Todd R
ce9d5664e0 Accepting request 339102 from home:XRevan86
OBS-URL: https://build.opensuse.org/request/show/339102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=75
2015-10-15 12:02:24 +00:00
Denisart Benjamin
e41975ba9d Accepting request 337534 from home:XRevan86
- Update to 2.8.0.

OBS-URL: https://build.opensuse.org/request/show/337534
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=74
2015-10-09 23:04:58 +00:00
Denisart Benjamin
c2c322bad8 Accepting request 336832 from home:alois:branches:devel:languages:python
Fixes the no-bundle patch in regard to urllib3.

OBS-URL: https://build.opensuse.org/request/show/336832
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=73
2015-10-06 18:34:43 +00:00
Denisart Benjamin
3139769f54 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=72 2015-10-05 17:22:34 +00:00
Denisart Benjamin
53b6e29688 Accepting request 336575 from home:posophe:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/336575
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=71
2015-10-05 17:19:10 +00:00
Todd R
50bec8800e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=69 2015-09-26 09:06:08 +00:00