Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
b1708117
Commit
b1708117
authored
Mar 24, 2022
by
Jens Vagelpohl
Committed by
GitHub
Mar 24, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #190 from zopefoundation/deprecate_mtacceptor
Remove testing for mtacceptor and dead Python versions
parents
df4bd2cd
5c1335ed
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
15 deletions
+17
-15
.github/workflows/tests.yml
.github/workflows/tests.yml
+4
-12
CHANGES.rst
CHANGES.rst
+6
-0
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+3
-0
src/ZEO/asyncio/mtacceptor.py
src/ZEO/asyncio/mtacceptor.py
+2
-0
tox.ini
tox.ini
+2
-3
No files found.
.github/workflows/tests.yml
View file @
b1708117
...
...
@@ -17,28 +17,20 @@ jobs:
-
[
"
2.7"
,
"
py27-msgpack1"
]
-
[
"
2.7"
,
"
py27-zeo4"
]
-
[
"
2.7"
,
"
py27-zodbmaster"
]
-
[
"
3.5"
,
"
py35"
]
-
[
"
3.5"
,
"
py35-zeo4"
]
-
[
"
3.6"
,
"
py36"
]
-
[
"
3.6"
,
"
py36-mtacceptor"
]
-
[
"
3.6"
,
"
py36-mtacceptor-msgpack1"
]
-
[
"
3.7"
,
"
py37"
]
-
[
"
3.7"
,
"
py37-mtacceptor"
]
-
[
"
3.7"
,
"
py37-mtacceptor-msgpack1"
]
-
[
"
3.7"
,
"
py37-msgpack1"
]
-
[
"
3.7"
,
"
py37-uvloop"
]
-
[
"
3.7"
,
"
py37-zodbmaster"
]
-
[
"
3.8"
,
"
py38"
]
-
[
"
3.8"
,
"
py38-mtacceptor"
]
-
[
"
3.8"
,
"
py38-mtacceptor-msgpack1"
]
-
[
"
3.8"
,
"
py38-msgpack1"
]
-
[
"
3.8"
,
"
py38-uvloop"
]
-
[
"
3.9"
,
"
py39"
]
-
[
"
3.9"
,
"
py39-mtacceptor"
]
-
[
"
3.9"
,
"
py39-mtacceptor-msgpack1"
]
-
[
"
3.9"
,
"
py39-msgpack1"
]
-
[
"
3.9"
,
"
py39-uvloop"
]
-
[
"
pypy2"
,
"
pypy"
]
-
[
"
pypy3"
,
"
pypy3"
]
-
[
"
pypy3"
,
"
pypy3-mtacceptor"
]
-
[
"
pypy3"
,
"
pypy3-mtacceptor-msgpack1"
]
-
[
"
pypy3"
,
"
pypy3-msgpack1"
]
runs-on
:
ubuntu-latest
name
:
${{ matrix.config[1] }}
...
...
CHANGES.rst
View file @
b1708117
...
...
@@ -4,6 +4,12 @@ Changelog
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 more accurate error handling for ``asyncio.CancelledError``.
...
...
src/ZEO/StorageServer.py
View file @
b1708117
...
...
@@ -48,7 +48,10 @@ from ZODB.POSException import TransactionError, ReadOnlyError, ConflictError
from
ZODB.serialize
import
referencesf
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
warnings
.
warn
(
'The mtacceptor module is deprecated and will be removed '
'in ZEO version 6.'
,
DeprecationWarning
)
from
.asyncio.mtacceptor
import
Acceptor
else
:
from
.asyncio.server
import
Acceptor
...
...
src/ZEO/asyncio/mtacceptor.py
View file @
b1708117
...
...
@@ -13,6 +13,8 @@
##############################################################################
"""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
suggsted that this was a win, but ZODB shootout and another
lower-level tests suggest otherwise. It's really unclear, which is
...
...
tox.ini
View file @
b1708117
...
...
@@ -38,20 +38,19 @@ deps =
setenv
=
!py27-!pypy:
PYTHONWARNINGS
=
ignore::ResourceWarning
msgpack1:
ZEO_MSGPACK
=
1
mtacceptor:
ZEO_MTACCEPTOR
=
1
zeo4:
ZEO4_SERVER
=
1
[testenv:simple]
# Test that 'setup.py test' works
basepython
=
python3
.6
python3
commands
=
python
setup.py
-q
test
-q
deps
=
{[testenv]deps}
[testenv:docs]
basepython
=
python3
.6
python3
commands
=
sphinx-build
-b
html
doc
doc/_build/html
extras
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment