Commit Graph

34 Commits

Author SHA256 Message Date
Dominique Leuenberger
acc91eccd6 Accepting request 1084860 from devel:languages:python
- Upgrade to 1.0.0:
  - Breaking Changes
    - Removed Google App Engine support to allow using urllib3 2.0
  - New Features
    - Add support for preparing requests in BaseUrlSession
  - Fixed Bugs
    - Ensured the test suite no longer reaches the Internet
    - Fix urllib3 warning to only emit on X509Adapter usage
    - Fixing missing newline in dump utility
  - Miscellaneous
    - Added explicit support for Python 3.11
- Remove upstreamed patches:
  - fix-tests.patch
  - remove_mock.patch
  - requests-toolbelt-pr246-collections.abc.patch
- Add 356-add-missing-casette-files.patch which adds missing
  casette test files (gh#requests/toolbelt!356).

OBS-URL: https://build.opensuse.org/request/show/1084860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=12
2023-05-09 11:06:00 +00:00
829b7fe7f4 A bit of cosmetics
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=30
2023-05-04 19:43:07 +00:00
b2a491a284 - Upgrade to 1.0.0:
- Breaking Changes
    - Removed Google App Engine support to allow using urllib3 2.0
  - New Features
    - Add support for preparing requests in BaseUrlSession
  - Fixed Bugs
    - Ensured the test suite no longer reaches the Internet
    - Fix urllib3 warning to only emit on X509Adapter usage
    - Fixing missing newline in dump utility
  - Miscellaneous
    - Added explicit support for Python 3.11
- Remove upstreamed patches:
  - fix-tests.patch
  - remove_mock.patch
  - requests-toolbelt-pr246-collections.abc.patch
- Add 356-add-missing-casette-files.patch which adds missing
  casette test files (gh#requests/toolbelt!356).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=29
2023-05-04 19:38:53 +00:00
Dominique Leuenberger
2ef8fc46a9 Accepting request 1081776 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=11
2023-04-22 19:58:54 +00:00
8f97dad63d Accepting request 1081598 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081598
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=27
2023-04-21 13:37:25 +00:00
Dominique Leuenberger
907affc1fe Accepting request 1007133 from devel:languages:python
- Add patch stop-using-pyopenssl-compat.patch:
  * Stop importing (and using!) a pyopenssl compatibility module
    to avoid a DeprecationWarning.

OBS-URL: https://build.opensuse.org/request/show/1007133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=10
2022-10-03 11:44:19 +00:00
Steve Kowalik
b7b4b43702 - Add patch stop-using-pyopenssl-compat.patch:
* Stop importing (and using!) a pyopenssl compatibility module
    to avoid a DeprecationWarning.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=25
2022-09-30 04:31:29 +00:00
Dominique Leuenberger
06837658aa Accepting request 958356 from devel:languages:python
- Properly redo the regeneration of test_certs.p12.

OBS-URL: https://build.opensuse.org/request/show/958356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=9
2022-03-02 17:20:29 +00:00
Steve Kowalik
0fe0593f31 - Properly redo the regeneration of test_certs.p12.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=24
2022-03-02 02:04:35 +00:00
Dominique Leuenberger
9906c3c221 Accepting request 940022 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/940022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=8
2021-12-13 19:41:48 +00:00
56f6030030 Accepting request 939984 from home:bnavigator:python-rpm-macros
- Fix python310 failure due to moved collections.abc
  * add requests-toolbelt-pr246-collections.abc.patch
  * gh#requests/toolbelt#246

OBS-URL: https://build.opensuse.org/request/show/939984
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=23
2021-12-11 23:58:09 +00:00
Dominique Leuenberger
74c55e32e4 Accepting request 934445 from devel:languages:python
- Regenerate test_certs.p12 due to the upstream certificate expiring

OBS-URL: https://build.opensuse.org/request/show/934445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=7
2021-11-29 08:34:46 +00:00
Steve Kowalik
6533028a83 - Regenerate test_certs.p12 due to the upstream certificate expiring
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=22
2021-11-29 04:36:08 +00:00
Dominique Leuenberger
c0966e62ce Accepting request 871385 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/871385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=6
2021-02-17 17:09:28 +00:00
2d67fc61e1 Accepting request 871259 from home:pmonrealgonzalez:branches:devel:languages:python
To be evaluated in Staging:O, it fixes the build there.

OBS-URL: https://build.opensuse.org/request/show/871259
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=20
2021-02-12 09:43:16 +00:00
Dominique Leuenberger
564f1a8776 Accepting request 855669 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/855669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=5
2020-12-16 09:59:45 +00:00
7170e3f32e Accepting request 855631 from home:bnavigator:branches:devel:languages:python
- Fix condition around BuildRequirement

OBS-URL: https://build.opensuse.org/request/show/855631
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=18
2020-12-14 06:25:59 +00:00
da9a8dcc93 Accepting request 855621 from home:mcepl:branches:devel:tools:scm
- We don't need to break Python 2.7

OBS-URL: https://build.opensuse.org/request/show/855621
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=17
2020-12-14 00:11:10 +00:00
c8596ae951 Accepting request 855341 from home:mcepl:branches:devel:tools:scm
- Add remove_mock.patch to remove dependency on the external mock

OBS-URL: https://build.opensuse.org/request/show/855341
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=16
2020-12-12 12:13:15 +00:00
Dominique Leuenberger
0120e3721b Accepting request 701116 from devel:languages:python
- Add patch to fix tests fix-tests.patch
- Use pytest to execute the tests, same as the upstream

- update to 0.9.1:
  - Fix import of pyOpenSSL shim from urllib3 for PKCS12 adapter
  - Add X509 Adapter that can handle PKCS12 
  - Add stateless solution for streaming files by MultipartEncoder from one host to another (in chunks)
  - Update link to example
  - Move import of ``ABCs`` from collections into version-specific part of
    _compat module
  - Fix backwards incompatibility in ``get_encodings_from_content``
  - Correct callback documentation for ``MultipartEncoderMonitor``
  - Fix bug when ``MultipartEncoder`` is asked to encode zero parts
  - Correct the type of non string request body dumps
  - Removed content from being stored in MultipartDecoder
  - Fix bug by enabling support for contenttype with capital letters. 
  - Coerce proxy URL to bytes before dumping request
  - Avoid bailing out with exception upon empty response reason
  - Corrected Pool documentation
  - Corrected parentheses match in example usage
  - Fix "oject" to "object" in ``MultipartEncoder``
  - Fix URL for the project after the move 
  - Add fix for OSX TCPKeepAliveAdapter

OBS-URL: https://build.opensuse.org/request/show/701116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=4
2019-05-10 07:14:14 +00:00
Tomáš Chvátal
d8e3d5988c - Add patch to fix tests fix-tests.patch
- Use pytest to execute the tests, same as the upstream
  - Fix import of pyOpenSSL shim from urllib3 for PKCS12 adapter

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=14
2019-05-06 14:15:56 +00:00
c0c12b1629 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=13 2019-04-25 20:03:40 +00:00
7838fbfd74 - update to 0.9.1:
- Fix import of pyOpenSSL shim from urllib3 for PKCS12 adapter
  - Add X509 Adapter that can handle PKCS12 
  - Add stateless solution for streaming files by MultipartEncoder from one host to another (in chunks)
  - Update link to example
  - Move import of ``ABCs`` from collections into version-specific part of
    _compat module
  - Fix backwards incompatibility in ``get_encodings_from_content``
  - Correct callback documentation for ``MultipartEncoderMonitor``
  - Fix bug when ``MultipartEncoder`` is asked to encode zero parts
  - Correct the type of non string request body dumps
  - Removed content from being stored in MultipartDecoder
  - Fix bug by enabling support for contenttype with capital letters. 
  - Coerce proxy URL to bytes before dumping request
  - Avoid bailing out with exception upon empty response reason
  - Corrected Pool documentation
  - Corrected parentheses match in example usage
  - Fix "oject" to "object" in ``MultipartEncoder``
  - Fix URL for the project after the move 
  - Add fix for OSX TCPKeepAliveAdapter

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=12
2019-04-25 19:58:22 +00:00
Dominique Leuenberger
3e50ea0b83 Accepting request 507986 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/507986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=3
2017-07-04 09:58:23 +00:00
Thomas Bechtold
bac062bf0a Accepting request 507985 from home:alois:branches:devel:languages:python
Update & conversion

OBS-URL: https://build.opensuse.org/request/show/507985
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=10
2017-07-04 06:32:47 +00:00
Dominique Leuenberger
fe9109f54e Accepting request 495407 from devel:languages:python
- convert to singlespec

OBS-URL: https://build.opensuse.org/request/show/495407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=2
2017-05-17 08:55:15 +00:00
e0004aa32b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=8 2017-05-16 16:06:21 +00:00
44fedeb0f8 - convert to singlespec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=7
2017-05-16 16:05:09 +00:00
Dominique Leuenberger
a48a4cec2f Accepting request 456526 from devel:languages:python
Needed for python-twine

OBS-URL: https://build.opensuse.org/request/show/456526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-toolbelt?expand=0&rev=1
2017-02-19 00:01:31 +00:00
8084d7bfcf - use pypi.io source link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=5
2017-01-19 10:11:00 +00:00
99ab6dd04d Accepting request 451165 from home:stroeder:branches:devel:languages:python
update to 0.7.0 (needed by python-twine update)

OBS-URL: https://build.opensuse.org/request/show/451165
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=4
2017-01-19 10:09:34 +00:00
Todd R
1616d5983e Accepting request 316562 from home:TheBlackCat:branches:devel:languages:python
Fix building on SLES 11

OBS-URL: https://build.opensuse.org/request/show/316562
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=3
2015-07-14 07:44:44 +00:00
Philipp Seiler
25790cd34c - added explicit version dependency for python-request to avoid build errors
for old distributions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=2
2014-11-17 15:59:46 +00:00
0963b2844e Accepting request 261449 from home:seilerphilipp
Now with the %check section including python tests

OBS-URL: https://build.opensuse.org/request/show/261449
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=1
2014-11-14 10:28:52 +00:00