Hello community, here is the log from the commit of package python-h11 for openSUSE:Leap:15.2 checked in at 2020-03-09 18:06:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-h11 (Old) and /work/SRC/openSUSE:Leap:15.2/.python-h11.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-h11" Mon Mar 9 18:06:04 2020 rev:11 rq:776658 version:0.9.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-h11/python-h11.changes 2020-01-15 15:49:11.503451686 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-h11.new.26092/python-h11.changes 2020-03-09 18:06:06.224839503 +0100 @@ -1,0 +2,60 @@ +Thu Aug 22 14:15:01 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 0.9.0: + * no changelog +- Restrict pytest5 for now + +------------------------------------------------------------------- +Wed Jun 5 08:36:51 UTC 2019 - Petr Gajdos <pgaj...@suse.com> + +- test package in %check + +------------------------------------------------------------------- +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 + <https://github.com/python-hyper/h11/issues/60>`__) + Other changes: + * Added proper license notices to the Javascript used in our + documentation (`#61 + <https://github.com/python-hyper/h11/issues/60>`__) + 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 + <https://tools.ietf.org/html/rfc7231#section-5.1.1>`__, 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 <mc...@suse.com> + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- Old: ---- h11-0.7.0.zip New: ---- h11-0.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-h11.spec ++++++ --- /var/tmp/diff_new_pack.Hb6f44/_old 2020-03-09 18:06:07.176839976 +0100 +++ /var/tmp/diff_new_pack.Hb6f44/_new 2020-03-09 18:06:07.208839991 +0100 @@ -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,25 +12,26 @@ # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-h11 -Version: 0.7.0 +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 -Source: https://files.pythonhosted.org/packages/source/h/h11/h11-%{version}.zip -BuildRequires: %{python_module devel} +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 -BuildRequires: unzip BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest < 5} +# /SECTION %python_subpackages %description @@ -47,6 +48,9 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %doc README.rst %license LICENSE.txt