Skip to content

Commit 924604e

Browse files
authored
bump minimum twisted to 24.3.0 (#1635)
* bump minimum twisted to 24.3.0 * adjust GH actions workflow
1 parent 5ab9461 commit 924604e

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
# python 3.11 fails with "src/twisted/test/raiser.c:198:12: fatal error: longintrepr.h: No such file or directory"
5959
# twisted doesn't yet support 3.11 formally: https://github.com/twisted/twisted/blob/trunk/pyproject.toml#L24
6060
python-version: ['3.9', '3.11', 'pypy-3.9']
61-
framework: ['asyncio', 'tw2210', 'twtrunk']
61+
framework: ['asyncio', 'tw2403', 'twtrunk']
6262

6363
# https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/
6464
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error

autobahn/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
#
2525
###############################################################################
2626

27-
__version__ = '23.6.2'
27+
__version__ = '24.4.1'
2828

2929
__build__ = '00000000-0000000'

docs/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
Changelog
66
=========
77

8+
24.4.1
9+
------
10+
11+
- new: bump minimum required Twisted version to 24.3.0 (`see also <https://github.com/crossbario/autobahn-python/pull/1634>`_)
12+
813
23.6.2
914
------
1015

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
# as we make claim to support older Twisted!)
4747
extras_require_twisted = [
4848
"zope.interface>=5.2.0", # Zope Public License
49-
"twisted>=20.3.0", # MIT license (https://pypi.org/project/Twisted/20.3.0/)
49+
"twisted>=24.3.0", # MIT license (https://pypi.org/project/Twisted/24.3.0/)
5050
"attrs>=20.3.0" # MIT license (https://pypi.org/project/attrs/19.2.0/)
5151
]
5252

tox.ini

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ skip_missing_interpreters = true
33
envlist =
44
flake8
55
sphinx
6-
py39-{tw203,tw2210,twtrunk,asyncio}
7-
# Twisted <22.10 on Python 3.11 fails with:
8-
# src/twisted/test/raiser.c:198:12: fatal error: longintrepr.h: Datei oder Verzeichnis nicht gefunden
9-
py311-{tw2210,twtrunk,asyncio}
10-
pypy39-{tw2210,twtrunk,asyncio}
6+
py39-{tw2403,twtrunk,asyncio}
7+
py311-{tw2403,twtrunk,asyncio}
8+
pypy39-{tw2403,twtrunk,asyncio}
119

1210

1311
# MAP: GitHub Actions Python Name => Tox Env Name (for Python)
@@ -38,14 +36,11 @@ deps =
3836
git+https://github.com/ilanschnell/bitarray.git@master#egg=bitarray
3937

4038
cytoolz
41-
42-
; twisted dependencies
43-
tw203: twisted==20.3.0
44-
tw2210: twisted==22.10.0
39+
tw2403: twisted==24.3.0
4540

4641
# twtrunk: https://github.com/twisted/twisted/archive/trunk.zip
4742
twtrunk: git+https://github.com/twisted/twisted
48-
{tw203,tw2210,twtrunk}: pytest-twisted
43+
{tw2403,twtrunk}: pytest-twisted
4944

5045
; asyncio dependencies
5146
asyncio: pytest_asyncio
@@ -91,7 +86,7 @@ setenv =
9186
# controls test setup according to networking framework
9287
asyncio: USE_ASYNCIO=1
9388
asyncio: PYTHONPATH={toxinidir}
94-
tw203,tw2210,twtrunk: USE_TWISTED=1
89+
tw2403,twtrunk: USE_TWISTED=1
9590

9691
# this enables "autobahn/test/test_rng.py" (on Linux),
9792
# which tests entropy depletion, and tests how to correctly
@@ -109,7 +104,7 @@ commands =
109104
asyncio: pytest -s -v -rfP --ignore=./autobahn/twisted ./autobahn
110105

111106
# IMPORTANT: trial doesn't allow to recurse-and-exclude, and hence we need this looong list (because we must exclude "asyncio")
112-
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
107+
tw2403: trial --no-recurse autobahn.test autobahn.twisted.test autobahn.websocket.test autobahn.rawsocket.test autobahn.wamp.test autobahn.xbr.test autobahn.nvx.test
113108
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
114109

115110

0 commit comments

Comments
 (0)