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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
47ce5afc
Commit
47ce5afc
authored
Mar 19, 2022
by
Jens Vagelpohl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- remove testing for mtacceptor and dead Python versions
parent
df4bd2cd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
15 deletions
+15
-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
+1
-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 @
47ce5afc
...
@@ -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] }}
...
...
CHANGES.rst
View file @
47ce5afc
...
@@ -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``.
...
...
src/ZEO/StorageServer.py
View file @
47ce5afc
...
@@ -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
:
...
...
src/ZEO/asyncio/mtacceptor.py
View file @
47ce5afc
...
@@ -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
...
...
tox.ini
View file @
47ce5afc
...
@@ -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
=
...
...
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