Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-txaio for openSUSE:Factory checked in at 2021-01-18 14:39:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-txaio (Old) and /work/SRC/openSUSE:Factory/.python-txaio.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-txaio" Mon Jan 18 14:39:06 2021 rev:10 rq:863999 version:20.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-txaio/python-txaio.changes 2020-06-06 23:38:02.516659288 +0200 +++ /work/SRC/openSUSE:Factory/.python-txaio.new.28504/python-txaio.changes 2021-01-18 14:46:03.654041709 +0100 @@ -1,0 +2,9 @@ +Mon Jan 18 00:21:11 UTC 2021 - Benjamin Greiner <[email protected]> + +- 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 + +------------------------------------------------------------------- Old: ---- txaio-20.4.1.tar.gz New: ---- remove-mock.patch txaio-20.12.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-txaio.spec ++++++ --- /var/tmp/diff_new_pack.rcoUCB/_old 2021-01-18 14:46:06.326045737 +0100 +++ /var/tmp/diff_new_pack.rcoUCB/_new 2021-01-18 14:46:06.330045743 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-txaio # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,31 +19,26 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-txaio -Version: 20.4.1 +Version: 20.12.1 Release: 0 Summary: WebSocket and WAMP in Python for Twisted and asyncio License: MIT Group: Development/Languages/Python URL: https://github.com/crossbario/txaio Source: https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz +# PATCH-FIX-UPSTREAM remove-mock.patch gh#crossbario/txaio#169 +Patch0: remove-mock.patch BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module testsuite} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python2-devel -BuildRequires: python3-testsuite -Requires: python-six Recommends: python-Twisted >= 20.3.0 Recommends: python-zope.interface >= 3.6 BuildArch: noarch -%ifpython2 -Requires: python-future -Recommends: python-trollius -%endif # SECTION test requirements BuildRequires: %{python_module Twisted >= 20.3.0} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module six} +BuildRequires: %{python_module zope.interface >= 3.6} # /SECTION %python_subpackages @@ -67,6 +62,7 @@ %files %{python_files} %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/txaio +%{python_sitelib}/txaio-%{version}*-info %changelog ++++++ remove-mock.patch ++++++ Index: txaio-20.12.1/setup.py =================================================================== --- txaio-20.12.1.orig/setup.py +++ txaio-20.12.1/setup.py @@ -61,7 +61,6 @@ extras_require_dev = [ 'sphinxcontrib-spelling>=2.1.2', # BSD 'sphinx_rtd_theme>=0.1.9', # BSD 'tox>=2.1.1', # MIT - 'mock==1.3.0', # BSD 'twine>=1.6.5', # Apache 2.0 'tox-gh-actions>=2.2.0 ', # MIT ] Index: txaio-20.12.1/test/test_call_later.py =================================================================== --- txaio-20.12.1.orig/test/test_call_later.py +++ txaio-20.12.1/test/test_call_later.py @@ -26,7 +26,7 @@ import sys -from mock import patch +from unittest.mock import patch import pytest import txaio Index: txaio-20.12.1/tox.ini =================================================================== --- txaio-20.12.1.orig/tox.ini +++ txaio-20.12.1/tox.ini @@ -29,7 +29,6 @@ python = [testenv] deps = - mock pytest==4.6.9 coverage==4.5.4 ++++++ txaio-20.4.1.tar.gz -> txaio-20.12.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/Makefile new/txaio-20.12.1/Makefile --- old/txaio-20.4.1/Makefile 2020-01-10 16:19:58.000000000 +0100 +++ new/txaio-20.12.1/Makefile 2020-12-19 16:45:48.000000000 +0100 @@ -40,6 +40,8 @@ rm -rf ./.eggs rm -rf ./.cache rm -rf ./test/.coverage.*.* + rm -rf ./.pytest_cache/ + rm -rf ./.coverage.*.* rm -rf ./docs/_build rm -rf ./docs/_spelling find . -name "*.tar.gz" -type f -exec rm -f {} \; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/PKG-INFO new/txaio-20.12.1/PKG-INFO --- old/txaio-20.4.1/PKG-INFO 2020-03-31 21:04:44.039488800 +0200 +++ new/txaio-20.12.1/PKG-INFO 2020-12-19 18:29:43.518034500 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: txaio -Version: 20.4.1 +Version: 20.12.1 Summary: Compatibility API between asyncio/Twisted/Trollius Home-page: https://github.com/crossbario/txaio Author: Crossbar.io Technologies GmbH @@ -30,12 +30,12 @@ Platform support ---------------- - **txaio** runs on CPython 3.5+ and PyPy 3, on top of *Twisted* or *asyncio*. Specifically, **txaio** is tested on the following platforms: + **txaio** runs on CPython 3.6+ and PyPy 3, on top of *Twisted* or *asyncio*. Specifically, **txaio** is tested on the following platforms: - * CPython 3.5, 3.7 and 3.8 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) - * PyPy 3 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) + * CPython 3.6 and 3.9 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) + * PyPy 3.6 an 3.7 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) - > Note: txaio up to version 18.8.1 also supported Python 2.7 and Python 3.4. Beginning with release v20.1.1, txaio only supports Python 3.5+. + > Note: txaio up to version 18.8.1 also supported Python 2.7 and Python 3.4. Beginning with release v20.1.1, txaio only supports Python 3.5+. Beginning with release v20.12.1, txaio only supports Python 3.6+. How it works @@ -71,15 +71,19 @@ .. |Version| image:: https://img.shields.io/pypi/v/txaio.svg :target: https://pypi.python.org/pypi/txaio + :alt: Version - .. |Build Status| image:: https://travis-ci.com/crossbario/txaio.svg?branch=master - :target: https://travis-ci.com/crossbario/txaio + .. |Build Status| image:: https://github.com/crossbario/txaio/workflows/main/badge.svg + :target: https://github.com/crossbario/txaio/actions?query=workflow%3Amain + :alt: Build Status .. |Coverage| image:: https://codecov.io/github/crossbario/txaio/coverage.svg?branch=master :target: https://codecov.io/github/crossbario/txaio + :alt: Coverage .. |Docs| image:: https://readthedocs.org/projects/txaio/badge/?version=latest :target: https://txaio.readthedocs.io/en/latest/ + :alt: Docs Keywords: asyncio twisted trollius coroutine Platform: Any @@ -91,15 +95,15 @@ Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Software Development :: Libraries :: Application Frameworks -Requires-Python: >=3.5 +Requires-Python: >=3.6 Provides-Extra: twisted Provides-Extra: asyncio Provides-Extra: dev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/README.rst new/txaio-20.12.1/README.rst --- old/txaio-20.4.1/README.rst 2020-03-30 15:31:18.000000000 +0200 +++ new/txaio-20.12.1/README.rst 2020-12-19 16:22:52.000000000 +0100 @@ -22,12 +22,12 @@ Platform support ---------------- -**txaio** runs on CPython 3.5+ and PyPy 3, on top of *Twisted* or *asyncio*. Specifically, **txaio** is tested on the following platforms: +**txaio** runs on CPython 3.6+ and PyPy 3, on top of *Twisted* or *asyncio*. Specifically, **txaio** is tested on the following platforms: -* CPython 3.5, 3.7 and 3.8 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) -* PyPy 3 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) +* CPython 3.6 and 3.9 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) +* PyPy 3.6 an 3.7 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) -> Note: txaio up to version 18.8.1 also supported Python 2.7 and Python 3.4. Beginning with release v20.1.1, txaio only supports Python 3.5+. +> Note: txaio up to version 18.8.1 also supported Python 2.7 and Python 3.4. Beginning with release v20.1.1, txaio only supports Python 3.5+. Beginning with release v20.12.1, txaio only supports Python 3.6+. How it works @@ -63,12 +63,16 @@ .. |Version| image:: https://img.shields.io/pypi/v/txaio.svg :target: https://pypi.python.org/pypi/txaio + :alt: Version -.. |Build Status| image:: https://travis-ci.com/crossbario/txaio.svg?branch=master - :target: https://travis-ci.com/crossbario/txaio +.. |Build Status| image:: https://github.com/crossbario/txaio/workflows/main/badge.svg + :target: https://github.com/crossbario/txaio/actions?query=workflow%3Amain + :alt: Build Status .. |Coverage| image:: https://codecov.io/github/crossbario/txaio/coverage.svg?branch=master :target: https://codecov.io/github/crossbario/txaio + :alt: Coverage .. |Docs| image:: https://readthedocs.org/projects/txaio/badge/?version=latest :target: https://txaio.readthedocs.io/en/latest/ + :alt: Docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/docs/api.rst new/txaio-20.12.1/docs/api.rst --- old/txaio-20.4.1/docs/api.rst 2020-01-10 16:19:58.000000000 +0100 +++ new/txaio-20.12.1/docs/api.rst 2020-12-19 16:22:52.000000000 +0100 @@ -82,7 +82,7 @@ :param error: if not ``None`` then the future is already failed, with the given error. - :type error: class:`IFailedFuture` or Exception + :type error: IFailedFuture or Exception :param canceller: a single-argument callable which is invoked if this future is cancelled (the single argument is the future @@ -126,11 +126,11 @@ :param error: The error to fail the `Deferred`_/`Future`_ with. If this is ``None``, ``sys.exc_info()`` is used to create an - :class:`txaio.IFailedFuture` (or `Failure`_) + `IFailedFuture` (or `Failure`_) wrapping the current exception (so in this case it must be called inside an ``except:`` clause). - :type error: :class:`IFailedFuture` or :class:`Exception` + :type error: IFailedFuture or :class:`Exception` .. py:function:: cancel(future) @@ -172,7 +172,7 @@ .. py:function:: failure_message(fail) - Takes an :class:`txaio.IFailedFuture` instance and returns a + Takes an `IFailedFuture` instance and returns a formatted message suitable to show to a user. This will be a ``str`` with no newlines for the form: ``{exception_name}: {error_message}`` where ``error_message`` is the result of running @@ -182,13 +182,13 @@ .. py:function:: failure_traceback(fail) - Take an :class:`txaio.IFailedFuture` instance and returns the + Take an `IFailedFuture` instance and returns the Python ``traceback`` instance associated with the failure. .. py:function:: failure_format_traceback(fail): - Take an :class:`txaio.IFailedFuture` instance and returns a + Take an `IFailedFuture` instance and returns a formatted string showing the traceback. Typically, this will have many newlines in it and look like a "normal" Python traceback. @@ -212,7 +212,7 @@ .. py:function:: make_batched_timer(seconds_per_bucket, chunk_size) - This returns an object implementing :class:`txaio.IBatchedTimer` + This returns an object implementing `IBatchedTimer` such that any ``.call_later`` calls done through it (instead of via :meth:`txaio.call_later`) will be "quantized" into buckets and processed in ``chunk_size`` batches "near" the time they are @@ -236,7 +236,7 @@ The `Future`_/`Deferred`_ returned will callback with a list the same length as ``futures`` containing either the return value from - each future, or an :class:`IFailedFuture`/`Failure`_ instance if + each future, or an `IFailedFuture`/`Failure`_ instance if it failed. Note that on Twisted, we use `DeferredList`_ which usually @@ -248,11 +248,11 @@ .. py:function:: make_logger() - Creates and returns an instance of :class:`ILogger`. This can pick + Creates and returns an instance of `ILogger`. This can pick up context from where it's instantiated (e.g. the containing class or module) so the best way to use this is to create a logger for each class that produces logs; see the example in - :class:`ILogger` 's documentation + `ILogger` 's documentation .. autoclass:: txaio.interfaces.ILogger diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/docs/conf.py new/txaio-20.12.1/docs/conf.py --- old/txaio-20.4.1/docs/conf.py 2020-01-27 12:13:44.000000000 +0100 +++ new/txaio-20.12.1/docs/conf.py 2020-12-19 16:22:52.000000000 +0100 @@ -273,7 +273,10 @@ # http://sphinx-doc.org/ext/intersphinx.html intersphinx_mapping = { - 'py2': ('http://docs.python.org/2', None), - 'py3': ('http://docs.python.org/3', None), - 'six': ('https://pythonhosted.org/six/', None), + 'py2': ('https://docs.python.org/2', None), + 'py3': ('https://docs.python.org/3', None), + 'python': ('https://docs.python.org/3', None), + 'rtd': ('https://docs.readthedocs.io/en/latest/', None), + 'autobahn': ('https://autobahn.readthedocs.io/en/latest/', None), + 'zlmdb': ('https://zlmdb.readthedocs.io/en/latest/', None), } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/docs/index.rst new/txaio-20.12.1/docs/index.rst --- old/txaio-20.4.1/docs/index.rst 2020-03-30 15:31:18.000000000 +0200 +++ new/txaio-20.12.1/docs/index.rst 2020-12-19 16:22:52.000000000 +0100 @@ -22,12 +22,12 @@ Platform support ---------------- -**txaio** runs on CPython 3.5+ and PyPy 3, on top of *Twisted* or *asyncio*. Specifically, **txaio** is tested on the following platforms: +**txaio** runs on CPython 3.6+ and PyPy 3, on top of *Twisted* or *asyncio*. Specifically, **txaio** is tested on the following platforms: -* CPython 3.5, 3.7 and 3.8 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) -* PyPy 3 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) +* CPython 3.6 and 3.9 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) +* PyPy 3.6 an 3.7 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) -> Note: txaio up to version 18.8.1 also supported Python 2.7 and Python 3.4. Beginning with release v20.1.1, txaio only supports Python 3.5+. +> Note: txaio up to version 18.8.1 also supported Python 2.7 and Python 3.4. Beginning with release v20.1.1, txaio only supports Python 3.5+. Beginning with release v20.12.1, txaio only supports Python 3.6+. How it works @@ -63,12 +63,16 @@ .. |Version| image:: https://img.shields.io/pypi/v/txaio.svg :target: https://pypi.python.org/pypi/txaio + :alt: Version -.. |Build Status| image:: https://travis-ci.com/crossbario/txaio.svg?branch=master - :target: https://travis-ci.com/crossbario/txaio +.. |Build Status| image:: https://github.com/crossbario/txaio/workflows/main/badge.svg + :target: https://github.com/crossbario/txaio/actions?query=workflow%3Amain + :alt: Build Status .. |Coverage| image:: https://codecov.io/github/crossbario/txaio/coverage.svg?branch=master :target: https://codecov.io/github/crossbario/txaio + :alt: Coverage .. |Docs| image:: https://readthedocs.org/projects/txaio/badge/?version=latest :target: https://txaio.readthedocs.io/en/latest/ + :alt: Docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/docs/programming-guide.rst new/txaio-20.12.1/docs/programming-guide.rst --- old/txaio-20.4.1/docs/programming-guide.rst 2020-01-10 16:19:58.000000000 +0100 +++ new/txaio-20.12.1/docs/programming-guide.rst 2020-12-19 16:22:52.000000000 +0100 @@ -11,9 +11,9 @@ After version 2.7.0 it is possible to use txaio with multiple event-loops, and thereby offer asyncio users the chance to pass one. Of course, it's still not possible to use multiple event-loops at once with Twisted. -To start using multiple event-loops with txaio, use :func:`txaio.with_config` to return a new "instance" of the txaio API with the given config (the only thing you can configure currently is the event-loop). On Twisted, it's an error if you try to use a different reactor. +To start using multiple event-loops with txaio, use `txaio.with_config` to return a new "instance" of the txaio API with the given config (the only thing you can configure currently is the event-loop). On Twisted, it's an error if you try to use a different reactor. -The object returned by :func:`txaio.with_config` is a drop-in replacement for every `txaio.*` call, so you can go from code like this:: +The object returned by `txaio.with_config` is a drop-in replacement for every `txaio.*` call, so you can go from code like this:: import txaio f = txaio.create_future() @@ -125,6 +125,6 @@ Starting Logging Yourself ------------------------- -If you are already starting your favourite logging system yourself (be that Twiste'd logger via ``globalLogBeginner`` or Python stdlib logging), any library using txaio's logging should play nicely with it. **Not** ever calling :func:`txaio.start_logging` has a slight drawback, however: as part of setting up logging, we re-bind all the "unused" logging methods to do-nothing. For example, if the log level is set to ``'info'`` than the ``.debug`` method on all txaio-created logger instances becomes a no-op. +If you are already starting your favourite logging system yourself (be that Twiste'd logger via ``globalLogBeginner`` or Python stdlib logging), any library using txaio's logging should play nicely with it. **Not** ever calling `txaio.start_logging` has a slight drawback, however: as part of setting up logging, we re-bind all the "unused" logging methods to do-nothing. For example, if the log level is set to ``'info'`` than the ``.debug`` method on all txaio-created logger instances becomes a no-op. For fully-worked examples of this, look in ``examples/log_interop_stdlib.py`` and ``examples/log_interop_twisted.py``. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/docs/releases.rst new/txaio-20.12.1/docs/releases.rst --- old/txaio-20.4.1/docs/releases.rst 2020-03-30 12:50:10.000000000 +0200 +++ new/txaio-20.12.1/docs/releases.rst 2020-12-19 16:22:52.000000000 +0100 @@ -1,31 +1,40 @@ txio releases ============= -master +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 + + +20.4.1 ------ - new: upload wheel to S3 (bucket "crossbarbuilder") in CI deploy stage - fix: fix event loop threading issue (PR #163) + 20.3.1 ------ - new: support import-time framework selection - fix: remove python2 support (finally) + 20.1.1 ------ - IMPORTANT: beginning release v20.1.1, we only support Python 3.5 or later - new: moved ``time_ns`` and ``perf_counter_ns`` helper functions here + 18.8.1 ------ -* IMPORTANT: release v18.8.1 is the last release supporting Python 2. We will support Python 3.5 and later beginning with release v20.1.1. -- add API to support cancellation; this means passing a 1-argument - callable to ``create_future`` and ``txaio.cancel`` to actually - cancel a future +- IMPORTANT: release v18.8.1 is the last release supporting Python 2. We will support Python 3.5 and later beginning with release v20.1.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) @@ -39,9 +48,7 @@ 2.10.0 ------ -- the asyncio version of ``make_logger`` now deduces a proper - namespace instead of using the root (thanks `spr0cketeer - <https://github.com/spr0cketeer>`_) +- the asyncio version of ``make_logger`` now deduces a proper namespace instead of using the root (thanks `spr0cketeer <https://github.com/spr0cketeer>`_) 2.9.0 @@ -56,6 +63,7 @@ - September 4, 2017 - fix: no longer install LICENSE file into installation directory (conflicts!) + 2.8.1 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/setup.py new/txaio-20.12.1/setup.py --- old/txaio-20.4.1/setup.py 2020-03-31 20:57:25.000000000 +0200 +++ new/txaio-20.12.1/setup.py 2020-12-19 16:22:52.000000000 +0100 @@ -63,6 +63,7 @@ 'tox>=2.1.1', # MIT 'mock==1.3.0', # BSD 'twine>=1.6.5', # Apache 2.0 + 'tox-gh-actions>=2.2.0 ', # MIT ] # everything @@ -80,7 +81,7 @@ author_email='[email protected]', url='https://github.com/crossbario/txaio', platforms=('Any'), - python_requires='>=3.5', + python_requires='>=3.6', extras_require={ 'twisted': extras_require_twisted, 'asyncio': extras_require_asyncio, @@ -111,10 +112,10 @@ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/tox.ini new/txaio-20.12.1/tox.ini --- old/txaio-20.4.1/tox.ini 2020-01-27 12:13:44.000000000 +0100 +++ new/txaio-20.12.1/tox.ini 2020-12-19 16:22:52.000000000 +0100 @@ -1,14 +1,31 @@ [tox] +skip_missing_interpreters = true envlist = flake8 + py36-{tw187,tw1910,twtrunk,asyncio} + py37-{tw187,tw1910,twtrunk,asyncio} + py38-{tw187,tw1910,twtrunk,asyncio} + py39-{tw187,tw1910,twtrunk,asyncio} + pypy36-{tw187,tw1910,twtrunk,asyncio} + pypy37-{tw187,tw1910,twtrunk,asyncio} + + +# MAP: GitHub Actions Python Name => Tox Env Name (for Python) +# +# when called without a specific environment ("-e"), detect the +# python version / get from GH action, and map to tox env +# +# https://github.com/ymyzk/tox-gh-actions +# +[gh-actions] +python = + 3.6: py36 + 3.7: py37 + 3.8: py38 + 3.9: py39 + pypy-3.6: pypy36 + pypy-3.7: pypy37 - # CPython - py35-{tw187,tw1910,twtrunk,asyncio} - py37-{tw165,tw187,tw1910,twtrunk,asyncio} - py38-{tw165,tw187,tw1910,twtrunk,asyncio} - - # PyPy - pypy3-{tw187,tw1910,twtrunk,asyncio} [testenv] deps = @@ -16,7 +33,6 @@ pytest==4.6.9 coverage==4.5.4 - ; twisted dependencies tw187: twisted==18.7.0 tw1910: twisted==19.10.0 twtrunk: https://github.com/twisted/twisted/archive/trunk.zip @@ -29,9 +45,8 @@ usedevelop=true commands = - coverage run --parallel-mode --source=txaio {envbindir}/py.test -v -s --basetemp={envtmpdir} -# -s: show output immediately -# -v: one line per test, instead of one dot + sh -c "coverage run --parallel-mode --source=txaio `which pytest` -v -s --basetemp=/tmp" + [testenv:flake8] deps = @@ -40,4 +55,25 @@ changedir=. commands = - flake8 --max-line-length=119 txaio/ test/ --exclude=test/_asyncio_test_utils.py + flake8 -v --statistics \ + --max-line-length=119 txaio/ \ + test/ \ + --exclude=test/_asyncio_test_utils.py + + +[testenv:sphinx] +description = + Generate docs using Sphinx. +skip_install = False +deps = + sphinx + sphinx_rtd_theme +commands = + python -V + sphinx-build --version + + # first test with all warnings fatal + sphinx-build -nWT -b dummy {toxinidir}/docs {toxinidir}/docs/_build + + # generate HTML output + sphinx-build -b html {toxinidir}/docs {toxinidir}/docs/_build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/txaio/_version.py new/txaio-20.12.1/txaio/_version.py --- old/txaio-20.4.1/txaio/_version.py 2020-03-31 20:57:11.000000000 +0200 +++ new/txaio-20.12.1/txaio/_version.py 2020-12-19 05:45:28.000000000 +0100 @@ -24,4 +24,4 @@ # ############################################################################### -__version__ = '20.4.1' +__version__ = '20.12.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/txaio.egg-info/PKG-INFO new/txaio-20.12.1/txaio.egg-info/PKG-INFO --- old/txaio-20.4.1/txaio.egg-info/PKG-INFO 2020-03-31 21:04:43.000000000 +0200 +++ new/txaio-20.12.1/txaio.egg-info/PKG-INFO 2020-12-19 18:29:43.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: txaio -Version: 20.4.1 +Version: 20.12.1 Summary: Compatibility API between asyncio/Twisted/Trollius Home-page: https://github.com/crossbario/txaio Author: Crossbar.io Technologies GmbH @@ -30,12 +30,12 @@ Platform support ---------------- - **txaio** runs on CPython 3.5+ and PyPy 3, on top of *Twisted* or *asyncio*. Specifically, **txaio** is tested on the following platforms: + **txaio** runs on CPython 3.6+ and PyPy 3, on top of *Twisted* or *asyncio*. Specifically, **txaio** is tested on the following platforms: - * CPython 3.5, 3.7 and 3.8 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) - * PyPy 3 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) + * CPython 3.6 and 3.9 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) + * PyPy 3.6 an 3.7 on Twisted 18.7, 19.10, trunk and on asyncio (stdlib) - > Note: txaio up to version 18.8.1 also supported Python 2.7 and Python 3.4. Beginning with release v20.1.1, txaio only supports Python 3.5+. + > Note: txaio up to version 18.8.1 also supported Python 2.7 and Python 3.4. Beginning with release v20.1.1, txaio only supports Python 3.5+. Beginning with release v20.12.1, txaio only supports Python 3.6+. How it works @@ -71,15 +71,19 @@ .. |Version| image:: https://img.shields.io/pypi/v/txaio.svg :target: https://pypi.python.org/pypi/txaio + :alt: Version - .. |Build Status| image:: https://travis-ci.com/crossbario/txaio.svg?branch=master - :target: https://travis-ci.com/crossbario/txaio + .. |Build Status| image:: https://github.com/crossbario/txaio/workflows/main/badge.svg + :target: https://github.com/crossbario/txaio/actions?query=workflow%3Amain + :alt: Build Status .. |Coverage| image:: https://codecov.io/github/crossbario/txaio/coverage.svg?branch=master :target: https://codecov.io/github/crossbario/txaio + :alt: Coverage .. |Docs| image:: https://readthedocs.org/projects/txaio/badge/?version=latest :target: https://txaio.readthedocs.io/en/latest/ + :alt: Docs Keywords: asyncio twisted trollius coroutine Platform: Any @@ -91,15 +95,15 @@ Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Software Development :: Libraries :: Application Frameworks -Requires-Python: >=3.5 +Requires-Python: >=3.6 Provides-Extra: twisted Provides-Extra: asyncio Provides-Extra: dev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/txaio-20.4.1/txaio.egg-info/requires.txt new/txaio-20.12.1/txaio.egg-info/requires.txt --- old/txaio-20.4.1/txaio.egg-info/requires.txt 2020-03-31 21:04:43.000000000 +0200 +++ new/txaio-20.12.1/txaio.egg-info/requires.txt 2020-12-19 18:29:43.000000000 +0100 @@ -17,6 +17,7 @@ tox>=2.1.1 mock==1.3.0 twine>=1.6.5 +tox-gh-actions>=2.2.0 [twisted] zope.interface>=3.6
