Hello community,
here is the log from the commit of package python-txtorcon for openSUSE:Factory
checked in at 2019-07-31 14:28:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-txtorcon (Old)
and /work/SRC/openSUSE:Factory/.python-txtorcon.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-txtorcon"
Wed Jul 31 14:28:01 2019 rev:4 rq:719794 version:19.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-txtorcon/python-txtorcon.changes
2019-06-18 14:58:07.041339075 +0200
+++
/work/SRC/openSUSE:Factory/.python-txtorcon.new.4126/python-txtorcon.changes
2019-07-31 14:28:06.638167724 +0200
@@ -1,0 +2,8 @@
+Tue Jul 30 08:21:53 UTC 2019 - [email protected]
+
+- fix build
+- added patches
+
https://github.com/meejah/txtorcon/commit/5d7ebea5086f361efe7f14aea58e512a04b401f3
+ + python-txtorcon-methods-are-bytes.patch
+
+-------------------------------------------------------------------
New:
----
python-txtorcon-methods-are-bytes.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-txtorcon.spec ++++++
--- /var/tmp/diff_new_pack.7ENkIc/_old 2019-07-31 14:28:07.138166803 +0200
+++ /var/tmp/diff_new_pack.7ENkIc/_new 2019-07-31 14:28:07.142166795 +0200
@@ -25,6 +25,8 @@
Group: Development/Languages/Python
URL: https://txtorcon.readthedocs.org
Source:
https://files.pythonhosted.org/packages/source/t/txtorcon/txtorcon-%{version}.tar.gz
+#
https://github.com/meejah/txtorcon/commit/5d7ebea5086f361efe7f14aea58e512a04b401f3
+Patch0: python-txtorcon-methods-are-bytes.patch
BuildRequires: %{python_module setuptools >= 36.2}
BuildRequires: fdupes
BuildRequires: python-ipaddress
@@ -54,6 +56,7 @@
%prep
%setup -q -n txtorcon-%{version}
+%patch0 -p1
sed -i '/data_files/,/\]\,/s/^/#/' setup.py
++++++ python-txtorcon-methods-are-bytes.patch ++++++
diff --git a/test/test_controller.py b/test/test_controller.py
index 722cc695..9856f2ca 100644
--- a/test/test_controller.py
+++ b/test/test_controller.py
@@ -1060,7 +1060,7 @@ def test_web_agent_defaults(self):
print("Skipping; appears we don't have web support")
return
- resp = yield agent.request('GET', b'meejah.ca')
+ resp = yield agent.request(b'GET', b'meejah.ca')
self.assertEqual(self.expected_response, resp)
@defer.inlineCallbacks
@@ -1074,7 +1074,7 @@ def test_web_agent_deferred(self):
tor = Tor(reactor, proto, _tor_config=cfg)
agent = tor.web_agent(pool=self.pool, socks_endpoint=socks_d)
- resp = yield agent.request('GET', b'meejah.ca')
+ resp = yield agent.request(b'GET', b'meejah.ca')
self.assertEqual(self.expected_response, resp)
@defer.inlineCallbacks
@@ -1089,7 +1089,7 @@ def test_web_agent_endpoint(self):
tor = Tor(reactor, proto, _tor_config=cfg)
agent = tor.web_agent(pool=self.pool, socks_endpoint=socks)
- resp = yield agent.request('GET', b'meejah.ca')
+ resp = yield agent.request(b'GET', b'meejah.ca')
self.assertEqual(self.expected_response, resp)
@defer.inlineCallbacks
@@ -1102,7 +1102,7 @@ def test_web_agent_error(self):
tor = Tor(reactor, proto, _tor_config=cfg)
with self.assertRaises(ValueError) as ctx:
agent = tor.web_agent(pool=self.pool, socks_endpoint=object())
- yield agent.request('GET', b'meejah.ca')
+ yield agent.request(B'GET', b'meejah.ca')
self.assertTrue("'socks_endpoint' should be" in str(ctx.exception))