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
d535f533
Commit
d535f533
authored
Jul 28, 2020
by
Tres Seaver
Committed by
GitHub
Jul 28, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #159 from zopefoundation/zodb-pr207
Fix tests with ZODB >= 5.6.0.
parents
cb26281d
503dccb1
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
12 deletions
+24
-12
.gitignore
.gitignore
+3
-0
.travis.yml
.travis.yml
+0
-2
CHANGES.rst
CHANGES.rst
+2
-0
setup.py
setup.py
+2
-3
src/ZEO/asyncio/marshal.py
src/ZEO/asyncio/marshal.py
+5
-2
src/ZEO/tests/ZEO4/zrpc/marshal.py
src/ZEO/tests/ZEO4/zrpc/marshal.py
+4
-1
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+2
-0
tox.ini
tox.ini
+6
-4
No files found.
.gitignore
View file @
d535f533
...
...
@@ -7,9 +7,12 @@ bin
develop-eggs
eggs
parts
pyvenv.cfg
testing.log
.dir-locals.el
data.fs*
ZEO_forker*.conf
.eggs/
doc/_build
lib/
lib64
.travis.yml
View file @
d535f533
...
...
@@ -5,8 +5,6 @@ matrix:
python
:
2.7
-
os
:
linux
python
:
pypy
-
os
:
linux
python
:
3.4
-
os
:
linux
python
:
3.5
-
os
:
linux
...
...
CHANGES.rst
View file @
d535f533
...
...
@@ -4,6 +4,8 @@ Changelog
5.2.2 (unreleased)
------------------
- Remove support for Python 3.4
- Provide proper CA test certificates to allow the SSL tests succeed for Py3
- Replace deprecated occurences of ``Thread.isAlive()`` by ``Thread.is_alive()``
...
...
setup.py
View file @
d535f533
...
...
@@ -35,7 +35,7 @@ tests_require = [
'manuel'
,
'random2'
,
'mock'
,
'msgpack <
0.6
'
,
'msgpack <
1
'
,
'zope.testrunner'
,
]
...
...
@@ -45,7 +45,6 @@ License :: OSI Approved :: Zope Public License
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
...
...
@@ -157,5 +156,5 @@ setup(name="ZEO",
zeo-nagios = ZEO.nagios:main
"""
,
include_package_data
=
True
,
python_requires
=
'>=2.7.9,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*'
,
python_requires
=
'>=2.7.9,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
,!=3.4.*
'
,
)
src/ZEO/asyncio/marshal.py
View file @
d535f533
...
...
@@ -66,7 +66,7 @@ def decoder(protocol):
from
msgpack
import
unpackb
def
msgpack_decode
(
data
):
"""Decodes msg and returns its parts"""
return
unpackb
(
data
,
encoding
=
'utf-8'
,
use_list
=
False
)
return
unpackb
(
data
,
raw
=
False
,
use_list
=
False
)
return
msgpack_decode
else
:
assert
protocol
[:
1
]
==
b'Z'
...
...
@@ -126,7 +126,10 @@ _silly = ('__doc__',)
exception_type_type
=
type
(
Exception
)
_SAFE_MODULE_NAMES
=
(
'ZopeUndo.Prefix'
,
'copy_reg'
,
'__builtin__'
,
'zodbpickle'
)
_SAFE_MODULE_NAMES
=
(
'ZopeUndo.Prefix'
,
'zodbpickle'
,
'builtins'
,
'copy_reg'
,
'__builtin__'
,
)
def
find_global
(
module
,
name
):
"""Helper for message unpickler"""
...
...
src/ZEO/tests/ZEO4/zrpc/marshal.py
View file @
d535f533
...
...
@@ -97,7 +97,10 @@ _silly = ('__doc__',)
exception_type_type
=
type
(
Exception
)
_SAFE_MODULE_NAMES
=
(
'ZopeUndo.Prefix'
,
'copy_reg'
,
'__builtin__'
,
'zodbpickle'
)
_SAFE_MODULE_NAMES
=
(
'ZopeUndo.Prefix'
,
'zodbpickle'
,
'builtins'
,
'copy_reg'
,
'__builtin__'
,
)
def
find_global
(
module
,
name
):
"""Helper for message unpickler"""
...
...
src/ZEO/tests/testZEO.py
View file @
d535f533
...
...
@@ -489,6 +489,8 @@ class FileStorageHexTests(FileStorageTests):
class
FileStorageClientHexTests
(
FileStorageHexTests
):
use_extension_bytes
=
True
def
getConfig
(
self
):
return
"""
\
%import ZODB.tests
...
...
tox.ini
View file @
d535f533
[tox]
envlist
=
py27,py3
4,py3
5,py36,py37,pypy,pypy3,simple,docs
py27,py35,py36,py37,pypy,pypy3,simple,docs
[testenv]
commands
=
...
...
@@ -21,19 +21,21 @@ deps =
zope.testing
zope.testrunner
mock
msgpack
msgpack
<
1
# ZopeUndo is needed as soft-dependency for a regression test
ZopeUndo
[testenv:simple]
# Test that 'setup.py test' works
basepython
=
python3.
4
python3.
6
commands
=
python
setup.py
-q
test
-q
deps
=
{[testenv]deps}
[testenv:docs]
basepython
=
python3.
8
python3.
6
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