diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 39c9b9d72..58e9b600b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,7 +58,7 @@ jobs: # python 3.11 fails with "src/twisted/test/raiser.c:198:12: fatal error: longintrepr.h: No such file or directory" # twisted doesn't yet support 3.11 formally: https://github.com/twisted/twisted/blob/trunk/pyproject.toml#L24 python-version: ['3.9', '3.11', 'pypy-3.9'] - framework: ['asyncio', 'tw2210', 'twtrunk'] + framework: ['asyncio', 'tw2403', 'twtrunk'] # https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/ # https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error diff --git a/autobahn/_version.py b/autobahn/_version.py index 602fdd653..965c97f24 100644 --- a/autobahn/_version.py +++ b/autobahn/_version.py @@ -24,6 +24,6 @@ # ############################################################################### -__version__ = '23.6.2' +__version__ = '24.4.1' __build__ = '00000000-0000000' diff --git a/docs/changelog.rst b/docs/changelog.rst index 2fff51740..35681f6d7 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,6 +5,11 @@ Changelog ========= +24.4.1 +------ + +- new: bump minimum required Twisted version to 24.3.0 (`see also `_) + 23.6.2 ------ diff --git a/setup.py b/setup.py index 881edd8ce..47a17b165 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ # as we make claim to support older Twisted!) extras_require_twisted = [ "zope.interface>=5.2.0", # Zope Public License - "twisted>=20.3.0", # MIT license (https://pypi.org/project/Twisted/20.3.0/) + "twisted>=24.3.0", # MIT license (https://pypi.org/project/Twisted/24.3.0/) "attrs>=20.3.0" # MIT license (https://pypi.org/project/attrs/19.2.0/) ] diff --git a/tox.ini b/tox.ini index 0903e5edb..6bfafc608 100644 --- a/tox.ini +++ b/tox.ini @@ -3,11 +3,9 @@ skip_missing_interpreters = true envlist = flake8 sphinx - py39-{tw203,tw2210,twtrunk,asyncio} - # Twisted <22.10 on Python 3.11 fails with: - # src/twisted/test/raiser.c:198:12: fatal error: longintrepr.h: Datei oder Verzeichnis nicht gefunden - py311-{tw2210,twtrunk,asyncio} - pypy39-{tw2210,twtrunk,asyncio} + py39-{tw2403,twtrunk,asyncio} + py311-{tw2403,twtrunk,asyncio} + pypy39-{tw2403,twtrunk,asyncio} # MAP: GitHub Actions Python Name => Tox Env Name (for Python) @@ -38,14 +36,11 @@ deps = git+https://github.com/ilanschnell/bitarray.git@master#egg=bitarray cytoolz - - ; twisted dependencies - tw203: twisted==20.3.0 - tw2210: twisted==22.10.0 + tw2403: twisted==24.3.0 # twtrunk: https://github.com/twisted/twisted/archive/trunk.zip twtrunk: git+https://github.com/twisted/twisted - {tw203,tw2210,twtrunk}: pytest-twisted + {tw2403,twtrunk}: pytest-twisted ; asyncio dependencies asyncio: pytest_asyncio @@ -91,7 +86,7 @@ setenv = # controls test setup according to networking framework asyncio: USE_ASYNCIO=1 asyncio: PYTHONPATH={toxinidir} - tw203,tw2210,twtrunk: USE_TWISTED=1 + tw2403,twtrunk: USE_TWISTED=1 # this enables "autobahn/test/test_rng.py" (on Linux), # which tests entropy depletion, and tests how to correctly @@ -109,7 +104,7 @@ commands = asyncio: pytest -s -v -rfP --ignore=./autobahn/twisted ./autobahn # IMPORTANT: trial doesn't allow to recurse-and-exclude, and hence we need this looong list (because we must exclude "asyncio") - tw203,tw2210: trial --no-recurse autobahn.test autobahn.twisted.test autobahn.websocket.test autobahn.rawsocket.test autobahn.wamp.test autobahn.xbr.test autobahn.nvx.test + tw2403: trial --no-recurse autobahn.test autobahn.twisted.test autobahn.websocket.test autobahn.rawsocket.test autobahn.wamp.test autobahn.xbr.test autobahn.nvx.test twtrunk: python -m twisted.trial --no-recurse autobahn.test autobahn.twisted.test autobahn.websocket.test autobahn.rawsocket.test autobahn.wamp.test autobahn.xbr.test autobahn.nvx.test