2 Commits

Author SHA256 Message Date
feeaf1b2f6 Accepting request 1219181 from devel:languages:python
- update to 24.9.1:
  * treq has vendored its dependency on the multipart library to
    avoid import conflicts with python-multipart; it should now
    be installable alongside that library.
  * treq now ships type annotations.
  * The new :mod:`treq.cookies` module provides helper functions
    for working with http.cookiejar.Cookie and CookieJar objects.
  * Python 3.13 is now supported.
  * :mod:`treq.content.text_content()` no longer generates
    deprecation warnings due to use of the cgi module.
  * Mixing the json argument with files or data now raises
    TypeError.
  * Passing non-string (str or bytes) values as part of a dict to
    the headers argument now results in a TypeError, as does
    passing any collection other than a dict or Headers instance.
  * Support for Python 3.7 and PyPy 3.8, which have reached end
    of support, has been dropped.

OBS-URL: https://build.opensuse.org/request/show/1219181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-treq?expand=0&rev=13
2024-10-30 16:36:18 +00:00
988ef9cf01 - update to 24.9.1:
* treq has vendored its dependency on the multipart library to
    avoid import conflicts with python-multipart; it should now
    be installable alongside that library.
  * treq now ships type annotations.
  * The new :mod:`treq.cookies` module provides helper functions
    for working with http.cookiejar.Cookie and CookieJar objects.
  * Python 3.13 is now supported.
  * :mod:`treq.content.text_content()` no longer generates
    deprecation warnings due to use of the cgi module.
  * Mixing the json argument with files or data now raises
    TypeError.
  * Passing non-string (str or bytes) values as part of a dict to
    the headers argument now results in a TypeError, as does
    passing any collection other than a dict or Headers instance.
  * Support for Python 3.7 and PyPy 3.8, which have reached end
    of support, has been dropped.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=37
2024-10-29 20:41:59 +00:00
4 changed files with 29 additions and 5 deletions

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Oct 29 20:40:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 24.9.1:
* treq has vendored its dependency on the multipart library to
avoid import conflicts with python-multipart; it should now
be installable alongside that library.
* treq now ships type annotations.
* The new :mod:`treq.cookies` module provides helper functions
for working with http.cookiejar.Cookie and CookieJar objects.
* Python 3.13 is now supported.
* :mod:`treq.content.text_content()` no longer generates
deprecation warnings due to use of the cgi module.
* Mixing the json argument with files or data now raises
TypeError.
* Passing non-string (str or bytes) values as part of a dict to
the headers argument now results in a TypeError, as does
passing any collection other than a dict or Headers instance.
* Support for Python 3.7 and PyPy 3.8, which have reached end
of support, has been dropped.
-------------------------------------------------------------------
Mon Nov 27 18:41:10 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-treq
#
# 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
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-treq
Version: 23.11.0
Version: 24.9.1
Release: 0
Summary: HTTP library inspired by python-requests
License: MIT
@@ -27,6 +27,7 @@ URL: https://github.com/twisted/treq
Source: https://files.pythonhosted.org/packages/source/t/treq/treq-%{version}.tar.gz
BuildRequires: %{python_module Twisted-tls >= 22.10.0}
BuildRequires: %{python_module attrs}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module httpbin}
BuildRequires: %{python_module hyperlink >= 21.0.0}
BuildRequires: %{python_module incremental}
@@ -34,6 +35,7 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module requests >= 2.1.0}
BuildRequires: %{python_module service_identity}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing-extensions >= 3.10.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -42,6 +44,7 @@ Requires: python-attrs
Requires: python-hyperlink >= 21.0.0
Requires: python-incremental
Requires: python-requests >= 2.1.0
Requires: python-typing-extensions >= 3.10.0
BuildArch: noarch
%python_subpackages

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0914ff929fd1632ce16797235260f8bc19d20ff7c459c1deabd65b8c68cbeac5
size 74450

3
treq-24.9.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:15da7fc404f3e4ed59d0abe5f8eef4966fabbe618039a2a23bc7c15305cefea8
size 85614