Commit 47ce5afc authored by Jens Vagelpohl's avatar Jens Vagelpohl

- remove testing for mtacceptor and dead Python versions

parent df4bd2cd
...@@ -17,28 +17,20 @@ jobs: ...@@ -17,28 +17,20 @@ jobs:
- ["2.7", "py27-msgpack1"] - ["2.7", "py27-msgpack1"]
- ["2.7", "py27-zeo4"] - ["2.7", "py27-zeo4"]
- ["2.7", "py27-zodbmaster"] - ["2.7", "py27-zodbmaster"]
- ["3.5", "py35"]
- ["3.5", "py35-zeo4"]
- ["3.6", "py36"] - ["3.6", "py36"]
- ["3.6", "py36-mtacceptor"]
- ["3.6", "py36-mtacceptor-msgpack1"]
- ["3.7", "py37"] - ["3.7", "py37"]
- ["3.7", "py37-mtacceptor"] - ["3.7", "py37-msgpack1"]
- ["3.7", "py37-mtacceptor-msgpack1"]
- ["3.7", "py37-uvloop"] - ["3.7", "py37-uvloop"]
- ["3.7", "py37-zodbmaster"] - ["3.7", "py37-zodbmaster"]
- ["3.8", "py38"] - ["3.8", "py38"]
- ["3.8", "py38-mtacceptor"] - ["3.8", "py38-msgpack1"]
- ["3.8", "py38-mtacceptor-msgpack1"]
- ["3.8", "py38-uvloop"] - ["3.8", "py38-uvloop"]
- ["3.9", "py39"] - ["3.9", "py39"]
- ["3.9", "py39-mtacceptor"] - ["3.9", "py39-msgpack1"]
- ["3.9", "py39-mtacceptor-msgpack1"]
- ["3.9", "py39-uvloop"] - ["3.9", "py39-uvloop"]
- ["pypy2", "pypy"] - ["pypy2", "pypy"]
- ["pypy3", "pypy3"] - ["pypy3", "pypy3"]
- ["pypy3", "pypy3-mtacceptor"] - ["pypy3", "pypy3-msgpack1"]
- ["pypy3", "pypy3-mtacceptor-msgpack1"]
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: ${{ matrix.config[1] }} name: ${{ matrix.config[1] }}
......
...@@ -4,6 +4,12 @@ Changelog ...@@ -4,6 +4,12 @@ Changelog
5.3.0 (unreleased) 5.3.0 (unreleased)
------------------ ------------------
- Remove tests for the `asyncio/mtacceptor` module, it appears unused
and presents a maintenance burden. The module will be removed in
ZEO version 6.
- Remove GitHub Actions testing for Python 3.5, it has reached end of life.
- Add support for Python 3.8 and Python 3.9. - Add support for Python 3.8 and Python 3.9.
- Add more accurate error handling for ``asyncio.CancelledError``. - Add more accurate error handling for ``asyncio.CancelledError``.
......
...@@ -48,6 +48,7 @@ from ZODB.POSException import TransactionError, ReadOnlyError, ConflictError ...@@ -48,6 +48,7 @@ from ZODB.POSException import TransactionError, ReadOnlyError, ConflictError
from ZODB.serialize import referencesf from ZODB.serialize import referencesf
from ZODB.utils import oid_repr, p64, u64, z64, Lock, RLock from ZODB.utils import oid_repr, p64, u64, z64, Lock, RLock
# BBB mtacceptor is unused and will be removed in ZEO version 6
if os.environ.get("ZEO_MTACCEPTOR"): # mainly for tests if os.environ.get("ZEO_MTACCEPTOR"): # mainly for tests
from .asyncio.mtacceptor import Acceptor from .asyncio.mtacceptor import Acceptor
else: else:
......
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
############################################################################## ##############################################################################
"""Multi-threaded server connectin acceptor """Multi-threaded server connectin acceptor
BBB this module is unused and will be removed in ZEO version 6
Each connection is run in it's own thread. Testing serveral years ago Each connection is run in it's own thread. Testing serveral years ago
suggsted that this was a win, but ZODB shootout and another suggsted that this was a win, but ZODB shootout and another
lower-level tests suggest otherwise. It's really unclear, which is lower-level tests suggest otherwise. It's really unclear, which is
......
...@@ -38,20 +38,19 @@ deps = ...@@ -38,20 +38,19 @@ deps =
setenv = setenv =
!py27-!pypy: PYTHONWARNINGS=ignore::ResourceWarning !py27-!pypy: PYTHONWARNINGS=ignore::ResourceWarning
msgpack1: ZEO_MSGPACK=1 msgpack1: ZEO_MSGPACK=1
mtacceptor: ZEO_MTACCEPTOR=1
zeo4: ZEO4_SERVER=1 zeo4: ZEO4_SERVER=1
[testenv:simple] [testenv:simple]
# Test that 'setup.py test' works # Test that 'setup.py test' works
basepython = basepython =
python3.6 python3
commands = commands =
python setup.py -q test -q python setup.py -q test -q
deps = {[testenv]deps} deps = {[testenv]deps}
[testenv:docs] [testenv:docs]
basepython = basepython =
python3.6 python3
commands = commands =
sphinx-build -b html doc doc/_build/html sphinx-build -b html doc doc/_build/html
extras = extras =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment