From 31e6719caf6eab6f407d30e5be1f48fbd82c4659bec078e6042afafeab6b127c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 29 Dec 2023 09:03:47 +0000 Subject: [PATCH] - update to 23.11.0: * Fix test-failures on Python 3.12 * Particular GETINFO hanging (ultra-long lines over 16KiB caused problems in the protocol) * Use built-in `mock` only * Remove `incremental` OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txtorcon?expand=0&rev=29 --- python-txtorcon.changes | 10 ++++++++++ python-txtorcon.spec | 6 +----- txtorcon-23.11.0.tar.gz | 3 +++ txtorcon-23.5.0.tar.gz | 3 --- 4 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 txtorcon-23.11.0.tar.gz delete mode 100644 txtorcon-23.5.0.tar.gz diff --git a/python-txtorcon.changes b/python-txtorcon.changes index 2f43008..c233366 100644 --- a/python-txtorcon.changes +++ b/python-txtorcon.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Dec 29 09:02:35 UTC 2023 - Dirk Müller + +- update to 23.11.0: + * Fix test-failures on Python 3.12 + * Particular GETINFO hanging + (ultra-long lines over 16KiB caused problems in the protocol) + * Use built-in `mock` only + * Remove `incremental` + ------------------------------------------------------------------- Tue Sep 19 12:02:42 UTC 2023 - Ondřej Súkup diff --git a/python-txtorcon.spec b/python-txtorcon.spec index 362c8e6..8c5f0b9 100644 --- a/python-txtorcon.spec +++ b/python-txtorcon.spec @@ -17,7 +17,7 @@ Name: python-txtorcon -Version: 23.5.0 +Version: 23.11.0 Release: 0 Summary: Twisted-based asynchronous Tor control protocol implementation License: MIT @@ -29,7 +29,6 @@ BuildRequires: python-rpm-macros Requires: python-Automat Requires: python-Twisted-tls >= 15.5.0 Requires: python-cryptography -Requires: python-incremental Requires: python-six Requires: python-zope.interface >= 3.6.1 BuildArch: noarch @@ -38,7 +37,6 @@ BuildRequires: lsof BuildRequires: %{python_module Automat} BuildRequires: %{python_module Twisted-tls >= 15.5.0} BuildRequires: %{python_module cryptography} -BuildRequires: %{python_module incremental} BuildRequires: %{python_module six} BuildRequires: %{python_module zope.interface >= 3.6.1} %python_subpackages @@ -62,8 +60,6 @@ sed -i '/data_files/,/\]\,/s/^/#/' setup.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# https://github.com/meejah/txtorcon/issues/368 -sed -i 's:from mock:from unittest.mock:' test/*.py # looks more like integration tests # Async tests don't work with pytest gh#crossbario/autobahn-python#1235 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} diff --git a/txtorcon-23.11.0.tar.gz b/txtorcon-23.11.0.tar.gz new file mode 100644 index 0000000..2216378 --- /dev/null +++ b/txtorcon-23.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71f85ae93d76d726510059c9ed74e608bc5a5c9f7d103853b49e414280406a2f +size 313549 diff --git a/txtorcon-23.5.0.tar.gz b/txtorcon-23.5.0.tar.gz deleted file mode 100644 index d7d99d8..0000000 --- a/txtorcon-23.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:93fd80a9dd505f698d0864fe93db8b6a9c1144b5feb91530820b70ed8982651c -size 311564