From 9e16240e45d095d0a7b089d7e1cb55c842b7d9b70d05eeadd2a7452d3a3a9e58 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 4 Jun 2025 06:23:11 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txaio?expand=0&rev=29 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + python-txaio.changes | 102 +++++++++++++++++++++++++++++++++++++++++++ python-txaio.spec | 65 +++++++++++++++++++++++++++ txaio-23.1.1.tar.gz | 3 ++ 5 files changed, 194 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-txaio.changes create mode 100644 python-txaio.spec create mode 100644 txaio-23.1.1.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-txaio.changes b/python-txaio.changes new file mode 100644 index 0000000..bd1b95b --- /dev/null +++ b/python-txaio.changes @@ -0,0 +1,102 @@ +------------------------------------------------------------------- +Wed Jun 4 06:08:04 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + +------------------------------------------------------------------- +Mon Feb 20 04:48:22 UTC 2023 - Steve Kowalik + +- Update to 23.1.1: + * fix: support for Python up to v3.11 + +------------------------------------------------------------------- +Sat Jun 4 15:12:30 UTC 2022 - Dirk Müller + +- update to 22.2.1: + * fix: cancel handling in python 3.8/3.9. (#175) + * fix: gracefully fail if coroutine called with wrong args (#176) + * fix: eliminate redundant dep. on mock (#170) + * fix: doc note that twisted supports native coroutines (#172) +- remove-mock.patch: upstream + +------------------------------------------------------------------- +Tue Mar 2 00:23:51 UTC 2021 - Dirk Müller + +- update to 21.2.1: + - fix: update minimum dependencies (here, and in other crossbar packages) in an + attempt to tame the new pip dep resolver madness. + +------------------------------------------------------------------- +Mon Jan 18 00:21:11 UTC 2021 - Benjamin Greiner + +- update to 20.12.1 + * new: CI/CD migrated to GitHub Actions + * new: support Python 3.9 (CI / testing added) + * new: minimum Python version is now 3.6 +- add remove-mock.patch gh#crossbario/txaio#169 + +------------------------------------------------------------------- +Mon Apr 6 09:20:12 UTC 2020 - Marketa Calabkova + +- update to 20.4.1 + * always use the asyncio loop of the thread which conducts the API call + +------------------------------------------------------------------- +Fri Mar 27 15:24:16 UTC 2020 - Matej Cepl + +- Remove pytest4.patch as it is included upstream +- Switch off python2 builds. + +------------------------------------------------------------------- +Wed Mar 25 14:49:27 UTC 2020 - pgajdos@suse.com + +- version update to 20.3.1 + - MISC: Remove python2 support + - NEW: support import-time framework selection + +------------------------------------------------------------------- +Wed Feb 5 13:11:01 UTC 2020 - Ondřej Súkup + +- update to 20.1.1 +- drop pytest4.patch + * new: moved time_ns and perf_counter_ns helper functions here + * drop support for python 3.4 and older + +------------------------------------------------------------------- +Fri Sep 13 11:40:25 UTC 2019 - Tomáš Chvátal + +- Add patch to build with newer pytest releases: + * pytest4.patch + +------------------------------------------------------------------- +Thu Sep 5 13:40:10 UTC 2019 - Todd R + +- Set pytest maximum version. + +------------------------------------------------------------------- +Tue Mar 19 12:35:11 UTC 2019 - John Vandenberg + +- Fix invocation of test suite, previously silently not running +- Add missing runtime dependencies +- Update to v18.8.1 + * add API to support cancellation; this means passing a 1-argument + callable to ``create_future`` and ``txaio.cancel`` to actually + cancel a future + * support Python 3.7 (CI / testing added) +- from v18.7.1 + * move to calver + * deprecate Python 3.3 support and CI testing +- from v2.10.0 + * the asyncio version of ``make_logger`` now deduces a proper + namespace instead of using the root + +------------------------------------------------------------------- +Tue Dec 4 12:55:27 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Fri Mar 2 22:01:11 UTC 2018 - avvissu@yandex.by + +- Initial package + diff --git a/python-txaio.spec b/python-txaio.spec new file mode 100644 index 0000000..9b30322 --- /dev/null +++ b/python-txaio.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-txaio +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-txaio +Version: 23.1.1 +Release: 0 +Summary: WebSocket and WAMP in Python for Twisted and asyncio +License: MIT +URL: https://github.com/crossbario/txaio +Source: https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module testsuite} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Recommends: python-Twisted >= 20.3.0 +Recommends: python-zope.interface >= 5.2 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module Twisted >= 20.3.0} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module zope.interface >= 5.2} +# /SECTION +%python_subpackages + +%description +WebSocket allows bidirectional real-time messaging on the Web and WAMP adds +asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket. + +%prep +%setup -q -n txaio-%{version} +%autopatch -p1 + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest -k 'not test_sdist' + +%files %{python_files} +%license LICENSE +%{python_sitelib}/txaio +%{python_sitelib}/txaio-%{version}*-info + +%changelog diff --git a/txaio-23.1.1.tar.gz b/txaio-23.1.1.tar.gz new file mode 100644 index 0000000..7ab8e2d --- /dev/null +++ b/txaio-23.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9a9216e976e5e3246dfd112ad7ad55ca915606b60b84a757ac769bd404ff704 +size 53704