Hello community, here is the log from the commit of package python-stem for openSUSE:Leap:15.2 checked in at 2020-01-31 17:19:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-stem (Old) and /work/SRC/openSUSE:Leap:15.2/.python-stem.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-stem" Fri Jan 31 17:19:46 2020 rev:3 rq:768847 version:1.7.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-stem/python-stem.changes 2020-01-15 15:53:37.939604402 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-stem.new.26092/python-stem.changes 2020-01-31 17:19:47.152499814 +0100 @@ -1,0 +2,11 @@ +Wed Dec 11 08:17:38 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Require full python for sqlite module + +------------------------------------------------------------------- +Wed Oct 2 13:26:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Add patch to fix building with python 3.8: + * python38.patch + +------------------------------------------------------------------- New: ---- python38.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-stem.spec ++++++ --- /var/tmp/diff_new_pack.d5rqvb/_old 2020-01-31 17:19:48.024500287 +0100 +++ /var/tmp/diff_new_pack.d5rqvb/_new 2020-01-31 17:19:48.028500289 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-stem # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,11 +23,13 @@ Release: 0 Summary: Python controller library for Tor License: LGPL-3.0-only -Group: Productivity/Networking/Security URL: https://stem.torproject.org/ Source: https://files.pythonhosted.org/packages/source/s/stem/stem-%{version}.tar.gz +Patch0: python38.patch BuildRequires: %{python_module setuptools} +BuildRequires: %{pythons} BuildRequires: fdupes +Requires: python BuildArch: noarch %python_subpackages @@ -37,6 +39,7 @@ %prep %setup -q -n stem-%{version} +%patch0 -p1 %build %python_build ++++++ python38.patch ++++++
From af52d8b16f6623e3bdf0b470697b91a69b497dc2 Mon Sep 17 00:00:00 2001 From: Damian Johnson <atagar@torproject.org> Date: Wed, 12 Jun 2019 13:18:20 -0700 Subject: Tests fail to run with python 3.8
Python's platform module removed its linux_distribution() method... https://trac.torproject.org/projects/tor/ticket/30847 https://docs.python.org/3/library/platform.html#platform.linux_distribution https://stackoverflow.com/questions/49554443/platform-linux-distribution-dep... This method was only used for display purposes to indicate the OS where the tests were ran. No big whoop if we simply omit the information. --- test/task.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/task.py b/test/task.py index be518ca..1c14e64 100644 --- a/test/task.py +++ b/test/task.py @@ -120,7 +120,10 @@ def _check_platform_version(): extra = platform.release() elif platform.system() == 'Darwin': extra = platform.release() - elif platform.system() == 'Linux': + elif platform.system() == 'Linux' and hasattr(platform, 'linux_distribution'): + # TODO: platform.linux_distribution() was removed in python 3.8 + # https://trac.torproject.org/projects/tor/ticket/30847 + extra = ' '.join(platform.linux_distribution()[:2]) else: extra = None -- cgit v1.1
participants (1)
-
root