Skip to content

Commit

Permalink
Update python-treq to rev 5 via SR 788271
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/788271
by user scarabeus_iv + dimstar_suse
- version update to 20.3.0
  - Python 3.7 support. (`#228 <https://github.com/twisted/treq/issues/228>`__)
  - `treq.testing.RequestTraversalAgent` now passes its memory reactor to the `twisted.web.server.Site` it creates, preventing the ``Site`` from polluting the global reactor. (`#225 <https://github.com/twisted/treq/issues/225>`__)
  - `treq.testing` no longer generates deprecation warnings about ``twisted.test.proto_helpers.MemoryReactor``. (`#253 <https://github.com/twisted/treq/issues/253>`__)
  - The ``download_file.py`` example has been updated to do a streaming download with *unbuffered=True*. (`#233 <https://github.com/twisted/treq/issues/233>`__)
  - The *agent* parameter to `treq.request()` has been documented. (`#235 <https://github.com/twisted/treq/issues/235>`__)
  - The typ
  • Loading branch information
bmwiedemann committed Mar 25, 2020
1 parent 12e589a commit f0d7c86
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 75 deletions.
Binary file modified packages/p/python-treq/.files
Binary file not shown.
19 changes: 19 additions & 0 deletions packages/p/python-treq/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,23 @@
<comment></comment>
<requestid>735394</requestid>
</revision>
<revision rev="5" vrev="1">
<srcmd5>9b4318f29437d4c0d0c7d8963bbbf229</srcmd5>
<version>20.3.0</version>
<time>1585176497</time>
<user>dimstar_suse</user>
<comment>- version update to 20.3.0
- Python 3.7 support. (`#228 &lt;https://github.com/twisted/treq/issues/228&gt;`__)
- `treq.testing.RequestTraversalAgent` now passes its memory reactor to the `twisted.web.server.Site` it creates, preventing the ``Site`` from polluting the global reactor. (`#225 &lt;https://github.com/twisted/treq/issues/225&gt;`__)
- `treq.testing` no longer generates deprecation warnings about ``twisted.test.proto_helpers.MemoryReactor``. (`#253 &lt;https://github.com/twisted/treq/issues/253&gt;`__)
- The ``download_file.py`` example has been updated to do a streaming download with *unbuffered=True*. (`#233 &lt;https://github.com/twisted/treq/issues/233&gt;`__)
- The *agent* parameter to `treq.request()` has been documented. (`#235 &lt;https://github.com/twisted/treq/issues/235&gt;`__)
- The type of the *headers* element of a response tuple passed to `treq.testing.RequestSequence` is now correctly documented as `str`. (`#237 &lt;https://github.com/twisted/treq/issues/237&gt;`__)
- Drop support for Python 3.4. (`#240 &lt;https://github.com/twisted/treq/issues/240&gt;`__)
- `#247 &lt;https://github.com/twisted/treq/issues/247&gt;`__, `#248 &lt;https://github.com/twisted/treq/issues/248&gt;`__, `#249 &lt;https://github.com/twisted/treq/issues/249&gt;`__
- deleted patches
- python37.patch (upstreamed)
- urlparsing.patch (upstreamed)</comment>
<requestid>788271</requestid>
</revision>
</revisionlist>
16 changes: 16 additions & 0 deletions packages/p/python-treq/python-treq.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Mar 25 15:05:08 UTC 2020 - pgajdos@suse.com

- version update to 20.3.0
- Python 3.7 support. (`#228 <https://github.com/twisted/treq/issues/228>`__)
- `treq.testing.RequestTraversalAgent` now passes its memory reactor to the `twisted.web.server.Site` it creates, preventing the ``Site`` from polluting the global reactor. (`#225 <https://github.com/twisted/treq/issues/225>`__)
- `treq.testing` no longer generates deprecation warnings about ``twisted.test.proto_helpers.MemoryReactor``. (`#253 <https://github.com/twisted/treq/issues/253>`__)
- The ``download_file.py`` example has been updated to do a streaming download with *unbuffered=True*. (`#233 <https://github.com/twisted/treq/issues/233>`__)
- The *agent* parameter to `treq.request()` has been documented. (`#235 <https://github.com/twisted/treq/issues/235>`__)
- The type of the *headers* element of a response tuple passed to `treq.testing.RequestSequence` is now correctly documented as `str`. (`#237 <https://github.com/twisted/treq/issues/237>`__)
- Drop support for Python 3.4. (`#240 <https://github.com/twisted/treq/issues/240>`__)
- `#247 <https://github.com/twisted/treq/issues/247>`__, `#248 <https://github.com/twisted/treq/issues/248>`__, `#249 <https://github.com/twisted/treq/issues/249>`__
- deleted patches
- python37.patch (upstreamed)
- urlparsing.patch (upstreamed)

-------------------------------------------------------------------
Fri Oct 4 17:40:59 UTC 2019 - Aleksa Sarai <asarai@suse.com>

Expand Down
8 changes: 3 additions & 5 deletions packages/p/python-treq/python-treq.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# spec file for package python-treq
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
Expand All @@ -18,15 +18,13 @@

%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-treq
Version: 18.6.0
Version: 20.3.0
Release: 0
Summary: HTTP library inspired by python-requests
License: MIT
Group: Development/Languages/Python
URL: https://github.com/twisted/treq
Source: https://files.pythonhosted.org/packages/source/t/treq/treq-%{version}.tar.gz
Patch0: python37.patch
Patch1: urlparsing.patch
BuildRequires: %{python_module Twisted >= 16.4.0}
BuildRequires: %{python_module attrs}
BuildRequires: %{python_module httpbin}
Expand All @@ -38,7 +36,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Twisted >= 16.4.0
Requires: python-Twisted >= 18.7.0
Requires: python-attrs
Requires: python-incremental
Requires: python-requests >= 2.1.0
Expand Down
44 changes: 0 additions & 44 deletions packages/p/python-treq/python37.patch

This file was deleted.

1 change: 0 additions & 1 deletion packages/p/python-treq/treq-18.6.0.tar.gz

This file was deleted.

1 change: 1 addition & 0 deletions packages/p/python-treq/treq-20.3.0.tar.gz
25 changes: 0 additions & 25 deletions packages/p/python-treq/urlparsing.patch

This file was deleted.

0 comments on commit f0d7c86

Please sign in to comment.