commit python-h11 for openSUSE:Factory

2020-11-10 Thread root
Hello community,

here is the log from the commit of package python-h11 for openSUSE:Factory 
checked in at 2020-11-10 13:46:36

Comparing /work/SRC/openSUSE:Factory/python-h11 (Old)
 and  /work/SRC/openSUSE:Factory/.python-h11.new.11331 (New)


Package is "python-h11"

Tue Nov 10 13:46:36 2020 rev:7 rq:847415 version:0.11.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h11/python-h11.changes2020-08-14 
09:34:38.348438703 +0200
+++ /work/SRC/openSUSE:Factory/.python-h11.new.11331/python-h11.changes 
2020-11-10 13:53:31.658841567 +0100
@@ -1,0 +2,12 @@
+Tue Nov 10 08:02:09 UTC 2020 - Dirk Mueller 
+
+- update to 0.11.0:
+  * h11 now stores and makes available the raw header name as
+  received. In addition h11 will write out header names with the same
+  casing as passed to it. This allows compatibility with systems that
+  expect titlecased header names. See `#31
+  * Multiple content length headers are now merged into a single header
+  if all the values are equal, if any are unequal a LocalProtocol
+  error is raised (as before). See `#92
+
+---

Old:

  h11-0.10.0.tar.gz

New:

  h11-0.11.0.tar.gz



Other differences:
--
++ python-h11.spec ++
--- /var/tmp/diff_new_pack.ftYpP8/_old  2020-11-10 13:53:32.150840636 +0100
+++ /var/tmp/diff_new_pack.ftYpP8/_new  2020-11-10 13:53:32.154840630 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-h11
-Version:0.10.0
+Version:0.11.0
 Release:0
 Summary:A pure-Python, bring-your-own-I/O implementation of HTTP/11
 License:MIT

++ h11-0.10.0.tar.gz -> h11-0.11.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/h11-0.10.0/PKG-INFO new/h11-0.11.0/PKG-INFO
--- old/h11-0.10.0/PKG-INFO 2020-08-13 11:50:23.070536600 +0200
+++ new/h11-0.11.0/PKG-INFO 2020-10-05 20:23:10.682039700 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: h11
-Version: 0.10.0
+Version: 0.11.0
 Summary: A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
 Home-page: https://github.com/python-hyper/h11
 Author: Nathaniel J. Smith
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/h11-0.10.0/docs/source/api.rst 
new/h11-0.11.0/docs/source/api.rst
--- old/h11-0.10.0/docs/source/api.rst  2020-08-13 11:49:16.0 +0200
+++ new/h11-0.11.0/docs/source/api.rst  2020-10-05 20:22:54.0 +0200
@@ -128,6 +128,21 @@
 an error because `Content-Length` should always be an integer. We may
 add additional checks in the future.
 
+While we make sure to expose header names as lowercased bytes, we also
+preserve the original header casing that is used. Compliant HTTP
+agents should always treat headers in a case insensitive manner, but
+this may not always be the case. When sending bytes over the wire we
+send headers preserving whatever original header casing was used.
+
+It is possible to access the headers in their raw original casing,
+which may be useful for some user output or debugging purposes.
+
+.. ipython:: python
+
+original_headers = [("Host", "example.com")]
+req = h11.Request(method="GET", target="/", headers=original_headers)
+req.headers.raw_items()
+
 .. _http_version-format:
 
 It's not just headers we normalize to being byte-strings: the same
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/h11-0.10.0/docs/source/changes.rst 
new/h11-0.11.0/docs/source/changes.rst
--- old/h11-0.10.0/docs/source/changes.rst  2020-08-13 11:49:16.0 
+0200
+++ new/h11-0.11.0/docs/source/changes.rst  2020-10-05 20:22:54.0 
+0200
@@ -5,6 +5,27 @@
 
 .. towncrier release notes start
 
+v0.11.0 (2020-10-05)
+
+
+New features:
+
+* h11 now stores and makes available the raw header name as
+  received. In addition h11 will write out header names with the same
+  casing as passed to it. This allows compatibility with systems that
+  expect titlecased header names. See `#31
+  `__.
+* Multiple content length headers are now merged into a single header
+  if all the values are equal, if any are unequal a LocalProtocol
+  error is raised (as before). See `#92
+  `__.
+
+Backwards **in**\compatible changes:
+
+* Headers added by h11, rather than passed to it, now have titlecased
+  names. Whilst this should help compatibility it replaces the
+  previous lowercased header names.
+
 v0.10.0 (2020-08-14)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '-

commit python-h11 for openSUSE:Factory

2020-08-14 Thread root
Hello community,

here is the log from the commit of package python-h11 for openSUSE:Factory 
checked in at 2020-08-14 09:33:31

Comparing /work/SRC/openSUSE:Factory/python-h11 (Old)
 and  /work/SRC/openSUSE:Factory/.python-h11.new.3399 (New)


Package is "python-h11"

Fri Aug 14 09:33:31 2020 rev:6 rq:826282 version:0.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h11/python-h11.changes2020-05-06 
11:05:02.995363479 +0200
+++ /work/SRC/openSUSE:Factory/.python-h11.new.3399/python-h11.changes  
2020-08-14 09:34:38.348438703 +0200
@@ -1,0 +2,8 @@
+Thu Aug 13 12:35:59 UTC 2020 - aloi...@gmx.com
+
+- Update to version 0.10.0
+  * Drop support for Python 3.4.
+  * Support Python 3.8.
+  * Make error messages returned by match failures less ambiguous
+
+---

Old:

  h11-0.9.0.tar.gz

New:

  h11-0.10.0.tar.gz



Other differences:
--
++ python-h11.spec ++
--- /var/tmp/diff_new_pack.8BraYs/_old  2020-08-14 09:34:38.792438930 +0200
+++ /var/tmp/diff_new_pack.8BraYs/_new  2020-08-14 09:34:38.796438932 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-h11
-Version:0.9.0
+Version:0.10.0
 Release:0
 Summary:A pure-Python, bring-your-own-I/O implementation of HTTP/11
 License:MIT

++ h11-0.9.0.tar.gz -> h11-0.10.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/h11-0.9.0/PKG-INFO new/h11-0.10.0/PKG-INFO
--- old/h11-0.9.0/PKG-INFO  2019-05-15 20:43:42.0 +0200
+++ new/h11-0.10.0/PKG-INFO 2020-08-13 11:50:23.070536600 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: h11
-Version: 0.9.0
+Version: 0.10.0
 Summary: A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
 Home-page: https://github.com/python-hyper/h11
 Author: Nathaniel J. Smith
@@ -120,7 +120,7 @@
 It has a test suite with 100.0% coverage for both statements and
 branches.
 
-Currently it supports Python 3 (testing on 3.4-3.7), Python 2.7, and 
PyPy.
+Currently it supports Python 3 (testing on 3.5-3.8), Python 2.7, and 
PyPy.
 (Originally it had a Cython wrapper for `http-parser
 `_ and a beautiful nested state
 machine implemented with ``yield from`` to postprocess the output. But
@@ -183,9 +183,9 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: System :: Networking
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/h11-0.9.0/README.rst new/h11-0.10.0/README.rst
--- old/h11-0.9.0/README.rst2019-05-15 20:41:39.0 +0200
+++ new/h11-0.10.0/README.rst   2020-08-13 11:49:16.0 +0200
@@ -112,7 +112,7 @@
 It has a test suite with 100.0% coverage for both statements and
 branches.
 
-Currently it supports Python 3 (testing on 3.4-3.7), Python 2.7, and PyPy.
+Currently it supports Python 3 (testing on 3.5-3.8), Python 2.7, and PyPy.
 (Originally it had a Cython wrapper for `http-parser
 `_ and a beautiful nested state
 machine implemented with ``yield from`` to postprocess the output. But
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/h11-0.9.0/docs/source/basic-usage.rst 
new/h11-0.10.0/docs/source/basic-usage.rst
--- old/h11-0.9.0/docs/source/basic-usage.rst   2019-05-15 20:41:39.0 
+0200
+++ new/h11-0.10.0/docs/source/basic-usage.rst  2020-08-13 11:49:16.0 
+0200
@@ -238,8 +238,8 @@
client = MyHttpClient("httpbin.org", 443)
 
client.send(h11.Request(method="GET", target="/xml",
-   headers=[("Host", "httpbin.org")]),
-   h11.EndOfMessage())
+   headers=[("Host", "httpbin.org")]))
+   client.send(h11.EndOfMessage())
 
 And read back the events:
 
@@ -321,8 +321,8 @@
client.conn.our_state, client.conn.their_state
 
client.send(h11.Request(method="GET", target="/get",
-   headers=[("Host", "httpbin.org")]),
-   h11.EndOfMessage())
+   headers=[("Host", "httpbin.org")]))
+   client.send(h11.EndOfMessage())
client.next_event()
 
 

commit python-h11 for openSUSE:Factory

2020-05-06 Thread root
Hello community,

here is the log from the commit of package python-h11 for openSUSE:Factory 
checked in at 2020-05-06 11:05:00

Comparing /work/SRC/openSUSE:Factory/python-h11 (Old)
 and  /work/SRC/openSUSE:Factory/.python-h11.new.2738 (New)


Package is "python-h11"

Wed May  6 11:05:00 2020 rev:5 rq:800592 version:0.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h11/python-h11.changes2019-08-23 
11:07:54.962471942 +0200
+++ /work/SRC/openSUSE:Factory/.python-h11.new.2738/python-h11.changes  
2020-05-06 11:05:02.995363479 +0200
@@ -1,0 +2,5 @@
+Wed May  6 07:47:22 UTC 2020 - Tomáš Chvátal 
+
+- Do not restrict pytest anymore, seems working
+
+---



Other differences:
--
++ python-h11.spec ++
--- /var/tmp/diff_new_pack.IaM2Qg/_old  2020-05-06 11:05:03.871365359 +0200
+++ /var/tmp/diff_new_pack.IaM2Qg/_new  2020-05-06 11:05:03.875365368 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-h11
 #
-# 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
@@ -22,7 +22,6 @@
 Release:0
 Summary:A pure-Python, bring-your-own-I/O implementation of HTTP/11
 License:MIT
-Group:  Development/Languages/Python
 URL:https://github.com/python-hyper/h11
 Source: 
https://files.pythonhosted.org/packages/source/h/h11/h11-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
@@ -30,7 +29,7 @@
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
 # SECTION test requirements
-BuildRequires:  %{python_module pytest < 5}
+BuildRequires:  %{python_module pytest}
 # /SECTION
 %python_subpackages
 




commit python-h11 for openSUSE:Factory

2019-08-23 Thread root
Hello community,

here is the log from the commit of package python-h11 for openSUSE:Factory 
checked in at 2019-08-23 11:07:48

Comparing /work/SRC/openSUSE:Factory/python-h11 (Old)
 and  /work/SRC/openSUSE:Factory/.python-h11.new.7948 (New)


Package is "python-h11"

Fri Aug 23 11:07:48 2019 rev:4 rq:725338 version:0.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h11/python-h11.changes2019-06-06 
18:17:04.924690249 +0200
+++ /work/SRC/openSUSE:Factory/.python-h11.new.7948/python-h11.changes  
2019-08-23 11:07:54.962471942 +0200
@@ -1,0 +2,7 @@
+Thu Aug 22 14:15:01 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.9.0:
+  * no changelog
+- Restrict pytest5 for now
+
+---

Old:

  h11-0.8.1.tar.gz

New:

  h11-0.9.0.tar.gz



Other differences:
--
++ python-h11.spec ++
--- /var/tmp/diff_new_pack.zNZqwD/_old  2019-08-23 11:07:56.034471810 +0200
+++ /var/tmp/diff_new_pack.zNZqwD/_new  2019-08-23 11:07:56.038471809 +0200
@@ -18,20 +18,20 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-h11
-Version:0.8.1
+Version:0.9.0
 Release:0
 Summary:A pure-Python, bring-your-own-I/O implementation of HTTP/11
 License:MIT
 Group:  Development/Languages/Python
-URL:https://github.com/njsmith/h11
+URL:https://github.com/python-hyper/h11
 Source: 
https://files.pythonhosted.org/packages/source/h/h11/h11-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildArch:  noarch
 # SECTION test requirements
-BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytest < 5}
 # /SECTION
-BuildArch:  noarch
 %python_subpackages
 
 %description

++ h11-0.8.1.tar.gz -> h11-0.9.0.tar.gz ++
 3525 lines of diff (skipped)




commit python-h11 for openSUSE:Factory

2019-06-06 Thread root
Hello community,

here is the log from the commit of package python-h11 for openSUSE:Factory 
checked in at 2019-06-06 18:17:01

Comparing /work/SRC/openSUSE:Factory/python-h11 (Old)
 and  /work/SRC/openSUSE:Factory/.python-h11.new.4811 (New)


Package is "python-h11"

Thu Jun  6 18:17:01 2019 rev:3 rq:707793 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-h11/python-h11.changes2018-12-05 
09:46:17.244515510 +0100
+++ /work/SRC/openSUSE:Factory/.python-h11.new.4811/python-h11.changes  
2019-06-06 18:17:04.924690249 +0200
@@ -1,0 +2,5 @@
+Wed Jun  5 08:36:51 UTC 2019 - Petr Gajdos 
+
+- test package in %check
+
+---



Other differences:
--
++ python-h11.spec ++
--- /var/tmp/diff_new_pack.5Z29gV/_old  2019-06-06 18:17:05.452690095 +0200
+++ /var/tmp/diff_new_pack.5Z29gV/_new  2019-06-06 18:17:05.456690093 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-h11
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -28,6 +28,9 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+# SECTION test requirements
+BuildRequires:  %{python_module pytest}
+# /SECTION
 BuildArch:  noarch
 %python_subpackages
 
@@ -45,6 +48,9 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%pytest
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE.txt




commit python-h11 for openSUSE:Factory

2018-12-05 Thread root
Hello community,

here is the log from the commit of package python-h11 for openSUSE:Factory 
checked in at 2018-12-05 09:46:11

Comparing /work/SRC/openSUSE:Factory/python-h11 (Old)
 and  /work/SRC/openSUSE:Factory/.python-h11.new.19453 (New)


Package is "python-h11"

Wed Dec  5 09:46:11 2018 rev:2 rq:654110 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-h11/python-h11.changes2018-02-27 
16:59:35.212510495 +0100
+++ /work/SRC/openSUSE:Factory/.python-h11.new.19453/python-h11.changes 
2018-12-05 09:46:17.244515510 +0100
@@ -1,0 +2,48 @@
+Tue Dec  4 21:14:53 UTC 2018 - aloi...@gmx.com
+
+- Update to version 0.8.1
+  Bug fixes:
+  * Always return headers as ``bytes`` objects (`#60
+`__)
+  Other changes:
+  * Added proper license notices to the Javascript used in our
+documentation (`#61
+`__)
+  version 0.8.0
+  Backwards **in**\compatible changes:
+  * h11 now performs stricter validation on outgoing header
+names and header values: illegal characters are now rejected
+(example: you can't put a newline into an HTTP header), and
+header values with leading/trailing whitespace are also
+rejected (previously h11 would silently discard the
+whitespace). All these checks were already performed on
+incoming headers; this just extends that to outgoing
+headers.
+  New features:
+  * New method :meth:`Connection.send_failed`, to notify a
+:class:`Connection` object when data returned from
+:meth:`Connection.send` was *not* sent.
+  Bug fixes:
+  * Make sure that when computing the framing headers for HEAD
+responses, we produce the same results as we would for the
+corresponding GET.
+  * Error out if a request has multiple Host: headers.
+  * Send the Host: header first, as recommended by RFC 7230.
+  * The Expect: header `is case-insensitive
+`__, so
+use case-insensitive matching when looking for 100-continue.
+  Other changes:
+  * Better error messages in several cases.
+  * Provide correct ``error_status_hint`` in exception raised
+when encountering an invalid ``Transfer-Encoding`` header.
+  * For better compatibility with broken servers, h11 now
+tolerates responses where the reason phrase is missing (not
+just empty).
+  * Various optimizations and documentation improvements.
+
+---
+Tue Dec  4 12:49:06 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---

Old:

  h11-0.7.0.zip

New:

  h11-0.8.1.tar.gz



Other differences:
--
++ python-h11.spec ++
--- /var/tmp/diff_new_pack.5RuNyL/_old  2018-12-05 09:46:17.660515055 +0100
+++ /var/tmp/diff_new_pack.5RuNyL/_new  2018-12-05 09:46:17.660515055 +0100
@@ -18,18 +18,16 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-h11
-Version:0.7.0
+Version:0.8.1
 Release:0
 Summary:A pure-Python, bring-your-own-I/O implementation of HTTP/11
 License:MIT
 Group:  Development/Languages/Python
 URL:https://github.com/njsmith/h11
-Source: 
https://files.pythonhosted.org/packages/source/h/h11/h11-%{version}.zip
-BuildRequires:  %{python_module devel}
+Source: 
https://files.pythonhosted.org/packages/source/h/h11/h11-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  unzip
 BuildArch:  noarch
 %python_subpackages