ZEO 6.0.0__tar.gz → 6.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- zeo-6.2/.pre-commit-config.yaml +29 -0
- {ZEO-6.0.0 → zeo-6.2}/.readthedocs.yaml +2 -2
- {ZEO-6.0.0 → zeo-6.2}/CHANGES.rst +24 -0
- {ZEO-6.0.0 → zeo-6.2}/CONTRIBUTING.md +3 -3
- {ZEO-6.0.0 → zeo-6.2}/MANIFEST.in +4 -3
- {ZEO-6.0.0 → zeo-6.2}/PKG-INFO +38 -13
- {ZEO-6.0.0 → zeo-6.2}/buildout.cfg +1 -6
- {ZEO-6.0.0 → zeo-6.2}/docs/conf.py +79 -72
- {ZEO-6.0.0 → zeo-6.2}/perf.py +27 -23
- zeo-6.2/pyproject.toml +106 -0
- {ZEO-6.0.0 → zeo-6.2}/setup.cfg +0 -3
- zeo-6.2/setup.py +18 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/ClientStorage.py +11 -10
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/StorageServer.py +13 -13
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/_compat.py +1 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/_forker.py +11 -5
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/client.py +24 -25
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/compat.py +1 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/futures.py +28 -20
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/marshal.py +1 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/server.py +2 -2
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/smp.py +1 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/testing.py +3 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/tests.py +127 -118
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/cache.py +29 -24
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/monitor.py +0 -13
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/nagios.py +4 -4
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/nagios.rst +7 -3
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/runzeo.py +3 -3
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/cache_simul.py +10 -10
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/cache_stats.py +16 -14
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/tests.py +3 -3
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/timeout.py +2 -2
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/zeopack.py +9 -9
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/zeoqueue.py +1 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/zeoreplay.py +4 -4
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/zeoserverlog.py +16 -15
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/shortrepr.py +1 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/CommitLockTests.py +2 -2
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/ConnectionTests.py +10 -10
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/IterationTests.py +1 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/ThreadTests.py +1 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/forker.py +1 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/speed.py +1 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/testConnection.py +3 -3
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/testConversionSupport.py +2 -3
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/testZEO.py +28 -29
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/testZEO2.py +3 -3
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/testZEOOptions.py +0 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/testZEOServer.py +3 -3
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/test_cache.py +25 -25
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/test_client_side_conflict_resolution.py +3 -4
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/test_marshal.py +1 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/testssl.py +9 -9
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/zconfig.py +0 -1
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO.egg-info/PKG-INFO +38 -13
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO.egg-info/SOURCES.txt +2 -2
- {ZEO-6.0.0 → zeo-6.2}/tox.ini +26 -41
- ZEO-6.0.0/release.py +0 -81
- ZEO-6.0.0/setup.py +0 -107
- ZEO-6.0.0/src/ZEO.egg-info/not-zip-safe +0 -1
- {ZEO-6.0.0 → zeo-6.2}/COPYING +0 -0
- {ZEO-6.0.0 → zeo-6.2}/COPYRIGHT.txt +0 -0
- {ZEO-6.0.0 → zeo-6.2}/LICENSE.txt +0 -0
- {ZEO-6.0.0 → zeo-6.2}/README.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/blob-nfs.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/changelog.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/client-cache-tracing.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/client-cache.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/clients.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/index.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/introduction.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/nagios.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/ordering.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/protocol.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/reference.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/requirements.txt +0 -0
- {ZEO-6.0.0 → zeo-6.2}/docs/server.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/log.ini +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/Exceptions.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/TransactionBuffer.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/__init__.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/README.rst +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/__init__.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/_futures.pyx +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/_smp.pyx +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/asyncio/base.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/component.xml +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/interfaces.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/schema.xml +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/README.txt +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/__init__.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/parsezeolog.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/zeopack.test +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/scripts/zeoup.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/server.xml +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/Cache.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/InvalidationTests.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/TestThread.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/__init__.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/client-config.test +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/client.pem +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/client_key.pem +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/component.xml +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/drop_cache_rather_than_verify.txt +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/dynamic_server_ports.test +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/invalidation-age.txt +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/new_addr.test +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/protocols.test +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/racetest.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/server.pem +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/server.pem.csr +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/server_key.pem +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/serverpw.pem +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/serverpw_key.pem +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/servertesting.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/stress.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/testConfig.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/testTransactionBuffer.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/test_client_credentials.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/test_sync.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/threaded.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/utils.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/zdoptions.test +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/zeo-fan-out.test +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/tests/zeo_blob_cache.test +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/util.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/version.txt +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/zeoctl.py +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO/zeoctl.xml +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO.egg-info/dependency_links.txt +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO.egg-info/entry_points.txt +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO.egg-info/requires.txt +0 -0
- {ZEO-6.0.0 → zeo-6.2}/src/ZEO.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
|
|
2
|
+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
|
|
3
|
+
minimum_pre_commit_version: '3.6'
|
|
4
|
+
repos:
|
|
5
|
+
- repo: https://github.com/pycqa/isort
|
|
6
|
+
rev: "8.0.1"
|
|
7
|
+
hooks:
|
|
8
|
+
- id: isort
|
|
9
|
+
- repo: https://github.com/hhatto/autopep8
|
|
10
|
+
rev: "v2.3.2"
|
|
11
|
+
hooks:
|
|
12
|
+
- id: autopep8
|
|
13
|
+
args: [--in-place, --aggressive, --aggressive]
|
|
14
|
+
- repo: https://github.com/asottile/pyupgrade
|
|
15
|
+
rev: v3.21.2
|
|
16
|
+
hooks:
|
|
17
|
+
- id: pyupgrade
|
|
18
|
+
args: [--py310-plus]
|
|
19
|
+
- repo: https://github.com/isidentical/teyit
|
|
20
|
+
rev: 0.4.3
|
|
21
|
+
hooks:
|
|
22
|
+
- id: teyit
|
|
23
|
+
language_version: python3.13
|
|
24
|
+
- repo: https://github.com/PyCQA/flake8
|
|
25
|
+
rev: "7.3.0"
|
|
26
|
+
hooks:
|
|
27
|
+
- id: flake8
|
|
28
|
+
additional_dependencies:
|
|
29
|
+
- flake8-debugger == 4.1.2
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# Generated from:
|
|
2
|
-
# https://github.com/zopefoundation/meta/tree/master/
|
|
1
|
+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
|
|
2
|
+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
|
|
3
3
|
# Read the Docs configuration file
|
|
4
4
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
5
5
|
|
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
6.2 (2026-04-13)
|
|
5
|
+
----------------
|
|
6
|
+
|
|
7
|
+
- Move package metadata from setup.py to pyproject.toml.
|
|
8
|
+
|
|
9
|
+
- Fix ZEO cache tracing to work after year 2038.
|
|
10
|
+
|
|
11
|
+
- Add support for Python 3.14.
|
|
12
|
+
|
|
13
|
+
- Drop support for Python 3.9.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
6.1 (2025-07-23)
|
|
17
|
+
----------------
|
|
18
|
+
|
|
19
|
+
- Add support for Python 3.13.
|
|
20
|
+
|
|
21
|
+
- Drop support for Python 3.7, 3.8.
|
|
22
|
+
|
|
23
|
+
- Drop ``ZEO.monitor.zeo_version`` as it is unused across all zopefoundation
|
|
24
|
+
packages.
|
|
25
|
+
|
|
26
|
+
- No longer use deprecated ``pkg_resources``.
|
|
27
|
+
|
|
4
28
|
6.0.0 (2023-11-23)
|
|
5
29
|
------------------
|
|
6
30
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
Generated from:
|
|
3
|
-
https://github.com/zopefoundation/meta/tree/master/
|
|
4
|
-
-->
|
|
2
|
+
Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
|
|
3
|
+
https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
|
|
4
|
+
-->
|
|
5
5
|
# Contributing to zopefoundation projects
|
|
6
6
|
|
|
7
7
|
The projects under the zopefoundation GitHub organization are open source and
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
# Generated from:
|
|
2
|
-
# https://github.com/zopefoundation/meta/tree/master/
|
|
1
|
+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
|
|
2
|
+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
|
|
3
3
|
include *.md
|
|
4
4
|
include *.rst
|
|
5
5
|
include *.txt
|
|
6
6
|
include buildout.cfg
|
|
7
7
|
include tox.ini
|
|
8
|
+
include .pre-commit-config.yaml
|
|
8
9
|
|
|
9
10
|
recursive-include docs *.py
|
|
10
11
|
recursive-include docs *.rst
|
|
@@ -12,8 +13,8 @@ recursive-include docs *.txt
|
|
|
12
13
|
recursive-include docs Makefile
|
|
13
14
|
|
|
14
15
|
recursive-include src *.py
|
|
15
|
-
include *.yaml
|
|
16
16
|
include *.py
|
|
17
|
+
include *.yaml
|
|
17
18
|
include COPYING
|
|
18
19
|
include log.ini
|
|
19
20
|
recursive-include src *.csr
|
{ZEO-6.0.0 → zeo-6.2}/PKG-INFO
RENAMED
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: ZEO
|
|
3
|
-
Version: 6.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
Version: 6.2
|
|
4
|
+
Author-email: Zope Foundation and contributors <zodb@googlegroups.com>
|
|
5
|
+
Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
|
|
6
|
+
License-Expression: ZPL-2.1
|
|
7
|
+
Project-URL: Documentation, https://zeo.readthedocs.io/
|
|
8
|
+
Project-URL: Source, https://github.com/zopefoundation/ZEO
|
|
9
|
+
Project-URL: Issues, https://github.com/zopefoundation/ZEO/issues
|
|
10
|
+
Project-URL: Changelog, https://raw.githubusercontent.com/zopefoundation/ZEO/master/CHANGES.rst
|
|
9
11
|
Keywords: database,zodb
|
|
10
|
-
Platform: any
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: License :: OSI Approved :: Zope Public License
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
17
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
18
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
19
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
21
20
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
22
21
|
Classifier: Topic :: Database
|
|
@@ -24,7 +23,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
24
23
|
Classifier: Operating System :: Microsoft :: Windows
|
|
25
24
|
Classifier: Operating System :: Unix
|
|
26
25
|
Classifier: Framework :: ZODB
|
|
27
|
-
Requires-Python: >=3.
|
|
26
|
+
Requires-Python: >=3.10
|
|
27
|
+
Description-Content-Type: text/x-rst
|
|
28
28
|
License-File: LICENSE.txt
|
|
29
29
|
License-File: COPYING
|
|
30
30
|
Requires-Dist: ZODB>=5.1.1
|
|
@@ -51,6 +51,7 @@ Provides-Extra: docs
|
|
|
51
51
|
Requires-Dist: Sphinx; extra == "docs"
|
|
52
52
|
Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
|
|
53
53
|
Requires-Dist: sphinx_rtd_theme; extra == "docs"
|
|
54
|
+
Dynamic: license-file
|
|
54
55
|
|
|
55
56
|
============================================================
|
|
56
57
|
ZEO - Single-server client-server database server for ZODB
|
|
@@ -77,6 +78,30 @@ The documentation is available on `readthedocs <http://zeo.readthedocs.io/en/lat
|
|
|
77
78
|
Changelog
|
|
78
79
|
=========
|
|
79
80
|
|
|
81
|
+
6.2 (2026-04-13)
|
|
82
|
+
----------------
|
|
83
|
+
|
|
84
|
+
- Move package metadata from setup.py to pyproject.toml.
|
|
85
|
+
|
|
86
|
+
- Fix ZEO cache tracing to work after year 2038.
|
|
87
|
+
|
|
88
|
+
- Add support for Python 3.14.
|
|
89
|
+
|
|
90
|
+
- Drop support for Python 3.9.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
6.1 (2025-07-23)
|
|
94
|
+
----------------
|
|
95
|
+
|
|
96
|
+
- Add support for Python 3.13.
|
|
97
|
+
|
|
98
|
+
- Drop support for Python 3.7, 3.8.
|
|
99
|
+
|
|
100
|
+
- Drop ``ZEO.monitor.zeo_version`` as it is unused across all zopefoundation
|
|
101
|
+
packages.
|
|
102
|
+
|
|
103
|
+
- No longer use deprecated ``pkg_resources``.
|
|
104
|
+
|
|
80
105
|
6.0.0 (2023-11-23)
|
|
81
106
|
------------------
|
|
82
107
|
|
|
@@ -3,16 +3,11 @@ develop = .
|
|
|
3
3
|
parts =
|
|
4
4
|
test
|
|
5
5
|
scripts
|
|
6
|
-
versions = versions
|
|
7
|
-
extra =
|
|
8
|
-
|
|
9
|
-
[versions]
|
|
10
|
-
|
|
11
6
|
|
|
12
7
|
[test]
|
|
13
8
|
recipe = zc.recipe.testrunner
|
|
14
9
|
eggs =
|
|
15
|
-
ZEO
|
|
10
|
+
ZEO[test]
|
|
16
11
|
# ZopeUndo is needed as soft-dependency for a regression test
|
|
17
12
|
ZopeUndo
|
|
18
13
|
initialization =
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
1
|
#
|
|
3
|
-
# ZEO documentation build configuration file, created by
|
|
4
|
-
#
|
|
2
|
+
# ZEO documentation build configuration file, created by sphinx-quickstart on
|
|
3
|
+
# Thu Oct 18 00:16:24 2012.
|
|
5
4
|
#
|
|
6
|
-
# This file is execfile()d with the current directory set to its containing
|
|
5
|
+
# This file is execfile()d with the current directory set to its containing
|
|
6
|
+
# dir.
|
|
7
7
|
#
|
|
8
8
|
# Note that not all possible configuration values are present in this
|
|
9
9
|
# autogenerated file.
|
|
10
10
|
#
|
|
11
|
-
# All configuration values have a default; values that are commented out
|
|
12
|
-
#
|
|
11
|
+
# All configuration values have a default; values that are commented out serve
|
|
12
|
+
# to show the default.
|
|
13
13
|
|
|
14
|
-
import
|
|
14
|
+
import importlib.metadata
|
|
15
15
|
import os
|
|
16
|
-
import
|
|
16
|
+
import sys
|
|
17
|
+
from datetime import datetime
|
|
18
|
+
|
|
17
19
|
|
|
18
20
|
# If extensions (or modules to document with autodoc) are in another directory,
|
|
19
21
|
# add these directories to sys.path here. If the directory is relative to the
|
|
@@ -22,15 +24,15 @@ import pkg_resources
|
|
|
22
24
|
sys.path.insert(0, os.path.abspath('.'))
|
|
23
25
|
sys.path.insert(0, os.path.abspath(".."))
|
|
24
26
|
|
|
25
|
-
# -- General configuration
|
|
27
|
+
# -- General configuration -----------------------------------------------
|
|
26
28
|
|
|
27
29
|
# If your documentation needs a minimal Sphinx version, state it here.
|
|
28
|
-
#needs_sphinx = '1.0'
|
|
30
|
+
# needs_sphinx = '1.0'
|
|
29
31
|
|
|
30
|
-
rqmt =
|
|
32
|
+
rqmt = importlib.metadata.distribution('ZEO')
|
|
31
33
|
|
|
32
|
-
# Add any Sphinx extension module names here, as strings. They can be
|
|
33
|
-
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
|
34
|
+
# Add any Sphinx extension module names here, as strings. They can be
|
|
35
|
+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
|
34
36
|
extensions = [
|
|
35
37
|
'sphinx.ext.autodoc',
|
|
36
38
|
'sphinx.ext.doctest',
|
|
@@ -47,14 +49,14 @@ templates_path = ['_templates']
|
|
|
47
49
|
source_suffix = '.rst'
|
|
48
50
|
|
|
49
51
|
# The encoding of source files.
|
|
50
|
-
#source_encoding = 'utf-8-sig'
|
|
52
|
+
# source_encoding = 'utf-8-sig'
|
|
51
53
|
|
|
52
54
|
# The master toctree document.
|
|
53
55
|
master_doc = 'index'
|
|
54
56
|
|
|
55
57
|
# General information about the project.
|
|
56
|
-
project =
|
|
57
|
-
copyright =
|
|
58
|
+
project = 'ZEO'
|
|
59
|
+
copyright = f'2012-{datetime.now().year}, Zope Foundation Contributors'
|
|
58
60
|
|
|
59
61
|
# The version info for the project you're documenting, acts as replacement for
|
|
60
62
|
# |version| and |release|, also used in various other places throughout the
|
|
@@ -67,40 +69,41 @@ release = version
|
|
|
67
69
|
|
|
68
70
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
|
69
71
|
# for a list of supported languages.
|
|
70
|
-
#language = None
|
|
72
|
+
# language = None
|
|
71
73
|
|
|
72
74
|
# There are two options for replacing |today|: either, you set today to some
|
|
73
75
|
# non-false value, then it is used:
|
|
74
|
-
#today = ''
|
|
76
|
+
# today = ''
|
|
75
77
|
# Else, today_fmt is used as the format for a strftime call.
|
|
76
|
-
#today_fmt = '%B %d, %Y'
|
|
78
|
+
# today_fmt = '%B %d, %Y'
|
|
77
79
|
|
|
78
80
|
# List of patterns, relative to source directory, that match files and
|
|
79
81
|
# directories to ignore when looking for source files.
|
|
80
82
|
exclude_patterns = ['_build']
|
|
81
83
|
|
|
82
|
-
# The reST default role (used for this markup: `text`) to use for all
|
|
83
|
-
#
|
|
84
|
+
# The reST default role (used for this markup: `text`) to use for all
|
|
85
|
+
# documents.
|
|
86
|
+
# default_role = None
|
|
84
87
|
|
|
85
88
|
# If true, '()' will be appended to :func: etc. cross-reference text.
|
|
86
|
-
#add_function_parentheses = True
|
|
89
|
+
# add_function_parentheses = True
|
|
87
90
|
|
|
88
91
|
# If true, the current module name will be prepended to all description
|
|
89
92
|
# unit titles (such as .. function::).
|
|
90
|
-
#add_module_names = True
|
|
93
|
+
# add_module_names = True
|
|
91
94
|
|
|
92
95
|
# If true, sectionauthor and moduleauthor directives will be shown in the
|
|
93
96
|
# output. They are ignored by default.
|
|
94
|
-
#show_authors = False
|
|
97
|
+
# show_authors = False
|
|
95
98
|
|
|
96
99
|
# The name of the Pygments (syntax highlighting) style to use.
|
|
97
100
|
pygments_style = 'sphinx'
|
|
98
101
|
|
|
99
102
|
# A list of ignored prefixes for module index sorting.
|
|
100
|
-
#modindex_common_prefix = []
|
|
103
|
+
# modindex_common_prefix = []
|
|
101
104
|
|
|
102
105
|
|
|
103
|
-
# -- Options for HTML output
|
|
106
|
+
# -- Options for HTML output ---------------------------------------------
|
|
104
107
|
|
|
105
108
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
106
109
|
# a list of builtin themes.
|
|
@@ -109,26 +112,26 @@ html_theme = 'sphinx_rtd_theme'
|
|
|
109
112
|
# Theme options are theme-specific and customize the look and feel of a theme
|
|
110
113
|
# further. For a list of options available for each theme, see the
|
|
111
114
|
# documentation.
|
|
112
|
-
#html_theme_options = {}
|
|
115
|
+
# html_theme_options = {}
|
|
113
116
|
|
|
114
117
|
# Add any paths that contain custom themes here, relative to this directory.
|
|
115
|
-
#html_theme_path = []
|
|
118
|
+
# html_theme_path = []
|
|
116
119
|
|
|
117
120
|
# The name for this set of Sphinx documents. If None, it defaults to
|
|
118
121
|
# "<project> v<release> documentation".
|
|
119
|
-
#html_title = None
|
|
122
|
+
# html_title = None
|
|
120
123
|
|
|
121
124
|
# A shorter title for the navigation bar. Default is the same as html_title.
|
|
122
|
-
#html_short_title = None
|
|
125
|
+
# html_short_title = None
|
|
123
126
|
|
|
124
127
|
# The name of an image file (relative to this directory) to place at the top
|
|
125
128
|
# of the sidebar.
|
|
126
|
-
#html_logo = None
|
|
129
|
+
# html_logo = None
|
|
127
130
|
|
|
128
131
|
# The name of an image file (within the static path) to use as favicon of the
|
|
129
132
|
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
|
130
133
|
# pixels large.
|
|
131
|
-
#html_favicon = None
|
|
134
|
+
# html_favicon = None
|
|
132
135
|
|
|
133
136
|
# Add any paths that contain custom static files (such as style sheets) here,
|
|
134
137
|
# relative to this directory. They are copied after the builtin static files,
|
|
@@ -137,122 +140,126 @@ html_static_path = ['_static']
|
|
|
137
140
|
|
|
138
141
|
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
|
139
142
|
# using the given strftime format.
|
|
140
|
-
#html_last_updated_fmt = '%b %d, %Y'
|
|
143
|
+
# html_last_updated_fmt = '%b %d, %Y'
|
|
141
144
|
|
|
142
145
|
# If true, SmartyPants will be used to convert quotes and dashes to
|
|
143
146
|
# typographically correct entities.
|
|
144
|
-
#html_use_smartypants = True
|
|
147
|
+
# html_use_smartypants = True
|
|
145
148
|
|
|
146
149
|
# Custom sidebar templates, maps document names to template names.
|
|
147
|
-
#html_sidebars = {}
|
|
150
|
+
# html_sidebars = {}
|
|
148
151
|
|
|
149
152
|
# Additional templates that should be rendered to pages, maps page names to
|
|
150
153
|
# template names.
|
|
151
|
-
#html_additional_pages = {}
|
|
154
|
+
# html_additional_pages = {}
|
|
152
155
|
|
|
153
156
|
# If false, no module index is generated.
|
|
154
|
-
#html_domain_indices = True
|
|
157
|
+
# html_domain_indices = True
|
|
155
158
|
|
|
156
159
|
# If false, no index is generated.
|
|
157
|
-
#html_use_index = True
|
|
160
|
+
# html_use_index = True
|
|
158
161
|
|
|
159
162
|
# If true, the index is split into individual pages for each letter.
|
|
160
|
-
#html_split_index = False
|
|
163
|
+
# html_split_index = False
|
|
161
164
|
|
|
162
165
|
# If true, links to the reST sources are added to the pages.
|
|
163
|
-
#html_show_sourcelink = True
|
|
166
|
+
# html_show_sourcelink = True
|
|
164
167
|
|
|
165
168
|
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
|
|
166
|
-
#html_show_sphinx = True
|
|
169
|
+
# html_show_sphinx = True
|
|
167
170
|
|
|
168
171
|
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
|
|
169
|
-
#html_show_copyright = True
|
|
172
|
+
# html_show_copyright = True
|
|
170
173
|
|
|
171
174
|
# If true, an OpenSearch description file will be output, and all pages will
|
|
172
175
|
# contain a <link> tag referring to it. The value of this option must be the
|
|
173
176
|
# base URL from which the finished HTML is served.
|
|
174
|
-
#html_use_opensearch = ''
|
|
177
|
+
# html_use_opensearch = ''
|
|
175
178
|
|
|
176
179
|
# This is the file name suffix for HTML files (e.g. ".xhtml").
|
|
177
|
-
#html_file_suffix = None
|
|
180
|
+
# html_file_suffix = None
|
|
178
181
|
|
|
179
182
|
# Output file base name for HTML help builder.
|
|
180
183
|
htmlhelp_basename = 'ZEOdoc'
|
|
181
184
|
|
|
182
185
|
|
|
183
|
-
# -- Options for LaTeX output
|
|
186
|
+
# -- Options for LaTeX output --------------------------------------------
|
|
184
187
|
|
|
185
188
|
latex_elements = {
|
|
186
|
-
# The paper size ('letterpaper' or 'a4paper').
|
|
187
|
-
#'papersize': 'letterpaper',
|
|
189
|
+
# The paper size ('letterpaper' or 'a4paper').
|
|
190
|
+
# 'papersize': 'letterpaper',
|
|
188
191
|
|
|
189
|
-
# The font size ('10pt', '11pt' or '12pt').
|
|
190
|
-
#'pointsize': '10pt',
|
|
192
|
+
# The font size ('10pt', '11pt' or '12pt').
|
|
193
|
+
# 'pointsize': '10pt',
|
|
191
194
|
|
|
192
|
-
# Additional stuff for the LaTeX preamble.
|
|
193
|
-
#'preamble': '',
|
|
195
|
+
# Additional stuff for the LaTeX preamble.
|
|
196
|
+
# 'preamble': '',
|
|
194
197
|
}
|
|
195
198
|
|
|
196
|
-
# Grouping the document tree into LaTeX files. List of tuples
|
|
197
|
-
#
|
|
199
|
+
# Grouping the document tree into LaTeX files. List of tuples (source start
|
|
200
|
+
# file, target name, title, author, documentclass [howto/manual]).
|
|
198
201
|
latex_documents = [
|
|
199
|
-
|
|
200
|
-
|
|
202
|
+
('index', 'ZEO.tex', 'ZEO Documentation',
|
|
203
|
+
'Zope Foundation Contributors', 'manual'),
|
|
201
204
|
]
|
|
202
205
|
|
|
203
206
|
# The name of an image file (relative to this directory) to place at the top of
|
|
204
207
|
# the title page.
|
|
205
|
-
#latex_logo = None
|
|
208
|
+
# latex_logo = None
|
|
206
209
|
|
|
207
210
|
# For "manual" documents, if this is true, then toplevel headings are parts,
|
|
208
211
|
# not chapters.
|
|
209
|
-
#latex_use_parts = False
|
|
212
|
+
# latex_use_parts = False
|
|
210
213
|
|
|
211
214
|
# If true, show page references after internal links.
|
|
212
|
-
#latex_show_pagerefs = False
|
|
215
|
+
# latex_show_pagerefs = False
|
|
213
216
|
|
|
214
217
|
# If true, show URL addresses after external links.
|
|
215
|
-
#latex_show_urls = False
|
|
218
|
+
# latex_show_urls = False
|
|
216
219
|
|
|
217
220
|
# Documents to append as an appendix to all manuals.
|
|
218
|
-
#latex_appendices = []
|
|
221
|
+
# latex_appendices = []
|
|
219
222
|
|
|
220
223
|
# If false, no module index is generated.
|
|
221
|
-
#latex_domain_indices = True
|
|
224
|
+
# latex_domain_indices = True
|
|
222
225
|
|
|
223
226
|
|
|
224
|
-
# -- Options for manual page output
|
|
227
|
+
# -- Options for manual page output --------------------------------------
|
|
225
228
|
|
|
226
229
|
# One entry per manual page. List of tuples
|
|
227
230
|
# (source start file, name, description, authors, manual section).
|
|
228
231
|
man_pages = [
|
|
229
|
-
('index', 'btrees',
|
|
230
|
-
[
|
|
232
|
+
('index', 'btrees', 'ZEO Documentation',
|
|
233
|
+
['Zope Foundation Contributors'], 1)
|
|
231
234
|
]
|
|
232
235
|
|
|
233
236
|
# If true, show URL addresses after external links.
|
|
234
|
-
#man_show_urls = False
|
|
237
|
+
# man_show_urls = False
|
|
235
238
|
|
|
236
239
|
|
|
237
|
-
# -- Options for Texinfo output
|
|
240
|
+
# -- Options for Texinfo output ------------------------------------------
|
|
238
241
|
|
|
239
242
|
# Grouping the document tree into Texinfo files. List of tuples
|
|
240
243
|
# (source start file, target name, title, author,
|
|
241
244
|
# dir menu entry, description, category)
|
|
242
245
|
texinfo_documents = [
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
+
('index',
|
|
247
|
+
'ZEO',
|
|
248
|
+
'ZEO Documentation',
|
|
249
|
+
'Zope Foundation Contributors',
|
|
250
|
+
'ZEO',
|
|
251
|
+
'Single-server client-server database server for ZODB',
|
|
252
|
+
'Miscellaneous'),
|
|
246
253
|
]
|
|
247
254
|
|
|
248
255
|
# Documents to append as an appendix to all manuals.
|
|
249
|
-
#texinfo_appendices = []
|
|
256
|
+
# texinfo_appendices = []
|
|
250
257
|
|
|
251
258
|
# If false, no module index is generated.
|
|
252
|
-
#texinfo_domain_indices = True
|
|
259
|
+
# texinfo_domain_indices = True
|
|
253
260
|
|
|
254
261
|
# How to display URL addresses: 'footnote', 'no', or 'inline'.
|
|
255
|
-
#texinfo_show_urls = 'footnote'
|
|
262
|
+
# texinfo_show_urls = 'footnote'
|
|
256
263
|
|
|
257
264
|
|
|
258
265
|
# Example configuration for intersphinx: refer to the Python standard library.
|
{ZEO-6.0.0 → zeo-6.2}/perf.py
RENAMED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import argparse
|
|
2
|
-
import logging
|
|
3
2
|
import multiprocessing
|
|
4
3
|
import os
|
|
5
|
-
import persistent
|
|
6
|
-
import re
|
|
7
4
|
import time
|
|
8
5
|
|
|
6
|
+
import persistent
|
|
9
7
|
import ZODB
|
|
10
8
|
from BTrees.IOBTree import BTree
|
|
11
9
|
|
|
12
10
|
import ZEO
|
|
13
11
|
|
|
14
|
-
|
|
12
|
+
|
|
13
|
+
# logging.basicConfig(level='DEBUG')
|
|
15
14
|
|
|
16
15
|
class P(persistent.Persistent):
|
|
17
16
|
|
|
@@ -34,6 +33,7 @@ parser.add_argument('--save', '-s', help='save results to file')
|
|
|
34
33
|
parser.add_argument('--name', '-n', help='Run name')
|
|
35
34
|
parser.add_argument('--read-only', '-W', action='store_true')
|
|
36
35
|
|
|
36
|
+
|
|
37
37
|
def shoot():
|
|
38
38
|
"""zodbshootout-inspired performance exercise.
|
|
39
39
|
"""
|
|
@@ -45,15 +45,16 @@ def shoot():
|
|
|
45
45
|
repetitions = options.repetitions
|
|
46
46
|
|
|
47
47
|
if options.ssl:
|
|
48
|
-
from ZEO.tests.testssl import
|
|
48
|
+
from ZEO.tests.testssl import client_ssl
|
|
49
|
+
from ZEO.tests.testssl import server_config
|
|
49
50
|
else:
|
|
50
51
|
server_config = None
|
|
51
|
-
client_ssl
|
|
52
|
+
def client_ssl(): return None
|
|
52
53
|
|
|
53
54
|
if options.demo_storage_baseline:
|
|
54
55
|
db_factory = None
|
|
55
56
|
headings = ('add', 'update', 'read')
|
|
56
|
-
stop
|
|
57
|
+
def stop(): return None
|
|
57
58
|
else:
|
|
58
59
|
if options.address:
|
|
59
60
|
addr = options.address
|
|
@@ -62,7 +63,8 @@ def shoot():
|
|
|
62
63
|
addr = host, int(port)
|
|
63
64
|
else:
|
|
64
65
|
addr = '127.0.0.1', int(addr)
|
|
65
|
-
|
|
66
|
+
|
|
67
|
+
def stop(): return None
|
|
66
68
|
else:
|
|
67
69
|
if os.path.exists('perf.fs'):
|
|
68
70
|
os.remove('perf.fs')
|
|
@@ -74,7 +76,7 @@ def shoot():
|
|
|
74
76
|
# ZEO 4
|
|
75
77
|
addr, stop = ZEO.server()
|
|
76
78
|
|
|
77
|
-
db_factory
|
|
79
|
+
def db_factory(): return ZEO.DB(
|
|
78
80
|
addr,
|
|
79
81
|
ssl=client_ssl(),
|
|
80
82
|
wait_timeout=9999,
|
|
@@ -96,8 +98,7 @@ def shoot():
|
|
|
96
98
|
db.pack()
|
|
97
99
|
db.close()
|
|
98
100
|
|
|
99
|
-
|
|
100
|
-
print('Times per operation in microseconds (o=%s, t=%s, c=%s)' % (
|
|
101
|
+
print('Times per operation in microseconds (o={}, t={}, c={})'.format(
|
|
101
102
|
object_size, transaction_size, concurrency))
|
|
102
103
|
print(' %12s' * 5 % ('op', 'min', 'mean', 'median', 'max'))
|
|
103
104
|
|
|
@@ -116,16 +117,16 @@ def shoot():
|
|
|
116
117
|
args=(db_factory, ip, queues[ip][0], queues[ip][1],
|
|
117
118
|
object_size, transaction_size, repetitions,
|
|
118
119
|
options.read_only),
|
|
119
|
-
|
|
120
|
+
)
|
|
120
121
|
for ip in range(concurrency)
|
|
121
|
-
|
|
122
|
+
]
|
|
122
123
|
|
|
123
124
|
for p in processes:
|
|
124
125
|
p.daemon = True
|
|
125
126
|
p.start()
|
|
126
127
|
|
|
127
128
|
for iqueue, oqueue in queues:
|
|
128
|
-
oqueue.get(timeout=9)
|
|
129
|
+
oqueue.get(timeout=9) # ready?
|
|
129
130
|
|
|
130
131
|
for name in headings:
|
|
131
132
|
for iqueue, oqueue in queues:
|
|
@@ -142,9 +143,9 @@ def shoot():
|
|
|
142
143
|
options.server_sync, options.ssl,
|
|
143
144
|
options.demo_storage_baseline,
|
|
144
145
|
options.address,
|
|
145
|
-
name, sum(data)/len(data))
|
|
146
|
+
name, sum(data) / len(data))
|
|
146
147
|
)
|
|
147
|
-
|
|
148
|
+
) + '\n')
|
|
148
149
|
|
|
149
150
|
for p in processes:
|
|
150
151
|
p.join(1)
|
|
@@ -163,7 +164,7 @@ def shoot():
|
|
|
163
164
|
run_test(db_factory, 0, iqueue, oqueue,
|
|
164
165
|
object_size, transaction_size, repetitions,
|
|
165
166
|
options.read_only)
|
|
166
|
-
oqueue.get(timeout=9)
|
|
167
|
+
oqueue.get(timeout=9) # ready?
|
|
167
168
|
if profiler is not None:
|
|
168
169
|
profiler.disable()
|
|
169
170
|
profiler.dump_stats(options.profile)
|
|
@@ -173,17 +174,19 @@ def shoot():
|
|
|
173
174
|
|
|
174
175
|
stop()
|
|
175
176
|
|
|
177
|
+
|
|
176
178
|
def summarize(name, results):
|
|
177
|
-
results = [int(t*1000000) for t in results]
|
|
178
|
-
|
|
179
|
-
if
|
|
179
|
+
results = [int(t * 1000000) for t in results]
|
|
180
|
+
l_ = len(results)
|
|
181
|
+
if l_ > 1:
|
|
180
182
|
print(' %12s' * 5 % (
|
|
181
|
-
name, min(results), round(sum(results)/
|
|
183
|
+
name, min(results), round(sum(results) / l_), results[l_ // 2],
|
|
182
184
|
max(results)
|
|
183
|
-
|
|
185
|
+
))
|
|
184
186
|
else:
|
|
185
187
|
print(' %12s' * 2 % (name, results[0]))
|
|
186
188
|
|
|
189
|
+
|
|
187
190
|
def run_test(db_factory, process_index, iqueue, oqueue,
|
|
188
191
|
object_size, transaction_size, repetitions, read_only):
|
|
189
192
|
|
|
@@ -200,7 +203,7 @@ def run_test(db_factory, process_index, iqueue, oqueue,
|
|
|
200
203
|
|
|
201
204
|
conn = db.open()
|
|
202
205
|
data = conn.root.speedtest[process_index]
|
|
203
|
-
slots = list(data.values())
|
|
206
|
+
slots = list(data.values()) # Get data slots loaded
|
|
204
207
|
oqueue.put('ready')
|
|
205
208
|
|
|
206
209
|
if not read_only:
|
|
@@ -288,5 +291,6 @@ def run_test(db_factory, process_index, iqueue, oqueue,
|
|
|
288
291
|
conn.close()
|
|
289
292
|
db.close()
|
|
290
293
|
|
|
294
|
+
|
|
291
295
|
if __name__ == '__main__':
|
|
292
296
|
shoot()
|