Hello community, here is the log from the commit of package python-treq for openSUSE:Factory checked in at 2019-09-13 15:02:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-treq (Old) and /work/SRC/openSUSE:Factory/.python-treq.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-treq" Fri Sep 13 15:02:02 2019 rev:3 rq:730449 version:18.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-treq/python-treq.changes 2019-03-10 09:34:34.152187824 +0100 +++ /work/SRC/openSUSE:Factory/.python-treq.new.7948/python-treq.changes 2019-09-13 15:03:43.205277122 +0200 @@ -1,0 +2,6 @@ +Thu Sep 12 17:21:23 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Add patch to fix build with new Twisted releases: + * urlparsing.patch + +------------------------------------------------------------------- New: ---- urlparsing.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-treq.spec ++++++ --- /var/tmp/diff_new_pack.Cft3xT/_old 2019-09-13 15:03:44.801276783 +0200 +++ /var/tmp/diff_new_pack.Cft3xT/_new 2019-09-13 15:03:44.801276783 +0200 @@ -26,6 +26,7 @@ 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} @@ -50,7 +51,7 @@ %prep %setup -q -n treq-%{version} -%patch0 -p1 +%autopatch -p1 %build %python_build ++++++ urlparsing.patch ++++++ >From 2a81fb782353666f60151d52a79fc5a034dd2ebe Mon Sep 17 00:00:00 2001 From: Glyph <[email protected]> Date: Tue, 11 Jun 2019 12:14:53 -0700 Subject: [PATCH] Fix to accommodate Twisted's new URL validity checking --- src/treq/test/test_testing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/treq/test/test_testing.py b/src/treq/test/test_testing.py index 6a13881..20797bd 100644 --- a/src/treq/test/test_testing.py +++ b/src/treq/test/test_testing.py @@ -138,9 +138,9 @@ def test_handles_invalid_schemes(self): so even after a successful request. """ stub = StubTreq(_StaticTestResource()) - self.failureResultOf(stub.get(""), SchemeNotSupported) + self.failureResultOf(stub.get("x-unknown-1:"), SchemeNotSupported) self.successResultOf(stub.get("http://url.com")) - self.failureResultOf(stub.get(""), SchemeNotSupported) + self.failureResultOf(stub.get("x-unknown-2:"), SchemeNotSupported) def test_files_are_rejected(self): """
