zope.proxy 7.3__tar.gz → 7.4__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.
- {zope_proxy-7.3 → zope_proxy-7.4}/.manylinux-install.sh +3 -10
- {zope_proxy-7.3 → zope_proxy-7.4}/.pre-commit-config.yaml +14 -2
- {zope_proxy-7.3 → zope_proxy-7.4}/CHANGES.rst +8 -0
- zope_proxy-7.4/COPYRIGHT.txt +1 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/PKG-INFO +10 -4
- {zope_proxy-7.3 → zope_proxy-7.4}/docs/hacking.rst +10 -10
- {zope_proxy-7.3 → zope_proxy-7.4}/pyproject.toml +15 -17
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope/proxy/__init__.py +3 -9
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope.proxy.egg-info/PKG-INFO +10 -4
- {zope_proxy-7.3 → zope_proxy-7.4}/tox.ini +0 -2
- zope_proxy-7.3/COPYRIGHT.txt +0 -1
- {zope_proxy-7.3 → zope_proxy-7.4}/.manylinux.sh +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/.readthedocs.yaml +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/CONTRIBUTING.md +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/LICENSE.txt +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/MANIFEST.in +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/README.rst +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/buildout.cfg +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/docs/Makefile +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/docs/api.rst +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/docs/changes.rst +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/docs/conf.py +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/docs/index.rst +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/docs/make.bat +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/docs/narr.rst +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/docs/requirements.txt +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/setup.cfg +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/setup.py +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope/proxy/_zope_proxy_proxy.c +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope/proxy/decorator.py +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope/proxy/interfaces.py +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope/proxy/proxy.h +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope/proxy/tests/__init__.py +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope/proxy/tests/test_compile_flags.py +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope/proxy/tests/test_decorator.py +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope/proxy/tests/test_proxy.py +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope.proxy.egg-info/SOURCES.txt +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope.proxy.egg-info/dependency_links.txt +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope.proxy.egg-info/requires.txt +0 -0
- {zope_proxy-7.3 → zope_proxy-7.4}/src/zope.proxy.egg-info/top_level.txt +0 -0
|
@@ -28,7 +28,6 @@ yum -y install libffi-devel
|
|
|
28
28
|
|
|
29
29
|
tox_env_map() {
|
|
30
30
|
case $1 in
|
|
31
|
-
*"cp310"*) echo 'py310';;
|
|
32
31
|
*"cp311"*) echo 'py311';;
|
|
33
32
|
*"cp312"*) echo 'py312';;
|
|
34
33
|
*"cp313"*) echo 'py313';;
|
|
@@ -41,19 +40,13 @@ tox_env_map() {
|
|
|
41
40
|
# Compile wheels
|
|
42
41
|
for PYBIN in /opt/python/*/bin; do
|
|
43
42
|
if \
|
|
44
|
-
[[ "${PYBIN}" == *"cp310/"* ]] || \
|
|
45
43
|
[[ "${PYBIN}" == *"cp311/"* ]] || \
|
|
46
44
|
[[ "${PYBIN}" == *"cp312/"* ]] || \
|
|
47
45
|
[[ "${PYBIN}" == *"cp313/"* ]] || \
|
|
48
46
|
[[ "${PYBIN}" == *"cp314/"* ]] || \
|
|
49
|
-
[[ "${PYBIN}" == *"cp315/"* ]]
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"${PYBIN}/pip" wheel /io/ --pre -w wheelhouse/
|
|
53
|
-
else
|
|
54
|
-
"${PYBIN}/pip" install -e /io/
|
|
55
|
-
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
|
|
56
|
-
fi
|
|
47
|
+
[[ "${PYBIN}" == *"cp315/"* ]] ; then
|
|
48
|
+
"${PYBIN}/pip" install -e /io/
|
|
49
|
+
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
|
|
57
50
|
if [ `uname -m` == 'aarch64' ]; then
|
|
58
51
|
cd /io/
|
|
59
52
|
${PYBIN}/pip install tox
|
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
|
|
3
3
|
minimum_pre_commit_version: '3.6'
|
|
4
4
|
repos:
|
|
5
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
6
|
+
rev: v6.0.0
|
|
7
|
+
hooks:
|
|
8
|
+
- id: check-case-conflict
|
|
9
|
+
- id: check-merge-conflict
|
|
10
|
+
- id: check-toml
|
|
11
|
+
- id: check-yaml
|
|
12
|
+
- id: end-of-file-fixer
|
|
13
|
+
- id: trailing-whitespace
|
|
5
14
|
- repo: https://github.com/pycqa/isort
|
|
6
15
|
rev: "8.0.1"
|
|
7
16
|
hooks:
|
|
@@ -15,8 +24,7 @@ repos:
|
|
|
15
24
|
rev: v3.21.2
|
|
16
25
|
hooks:
|
|
17
26
|
- id: pyupgrade
|
|
18
|
-
args: [--
|
|
19
|
-
exclude: ^src/zope/proxy/__init__\.py$
|
|
27
|
+
args: [--py311-plus]
|
|
20
28
|
- repo: https://github.com/isidentical/teyit
|
|
21
29
|
rev: 0.4.3
|
|
22
30
|
hooks:
|
|
@@ -28,3 +36,7 @@ repos:
|
|
|
28
36
|
- id: flake8
|
|
29
37
|
additional_dependencies:
|
|
30
38
|
- flake8-debugger == 4.1.2
|
|
39
|
+
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
|
40
|
+
rev: v1.0.2
|
|
41
|
+
hooks:
|
|
42
|
+
- id: sphinx-lint
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Zope Foundation and Contributors
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: zope.proxy
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.4
|
|
4
4
|
Summary: Generic Transparent Proxies
|
|
5
5
|
Author-email: Zope Foundation and contributors <zope-dev@zope.dev>
|
|
6
6
|
Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
|
|
@@ -16,8 +16,6 @@ Classifier: Intended Audience :: Developers
|
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
23
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
@@ -25,7 +23,7 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
25
23
|
Classifier: Programming Language :: Python :: 3.15
|
|
26
24
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
25
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
28
|
-
Requires-Python: >=3.
|
|
26
|
+
Requires-Python: >=3.11
|
|
29
27
|
Description-Content-Type: text/x-rst
|
|
30
28
|
License-File: LICENSE.txt
|
|
31
29
|
Requires-Dist: zope.interface
|
|
@@ -75,6 +73,14 @@ Complete documentation is at https://zopeproxy.readthedocs.io
|
|
|
75
73
|
Change log
|
|
76
74
|
==========
|
|
77
75
|
|
|
76
|
+
7.4 (2026-11-10)
|
|
77
|
+
----------------
|
|
78
|
+
|
|
79
|
+
- Add support for Python 3.15.
|
|
80
|
+
|
|
81
|
+
- Drop support for Python 3.10.
|
|
82
|
+
|
|
83
|
+
|
|
78
84
|
7.3 (2026-08-20)
|
|
79
85
|
----------------
|
|
80
86
|
|
|
@@ -67,9 +67,9 @@ Then, you canrun the tests using the build-in ``setuptools`` testrunner:
|
|
|
67
67
|
...................................................................................................................................................
|
|
68
68
|
----------------------------------------------------------------------
|
|
69
69
|
Ran 147 tests in 0.010s
|
|
70
|
-
|
|
70
|
+
|
|
71
71
|
OK
|
|
72
|
-
|
|
72
|
+
|
|
73
73
|
|
|
74
74
|
If you have the :mod:`nose` package installed in the virtualenv, you can
|
|
75
75
|
use its testrunner too:
|
|
@@ -82,7 +82,7 @@ use its testrunner too:
|
|
|
82
82
|
.....................................................................................................................................................
|
|
83
83
|
----------------------------------------------------------------------
|
|
84
84
|
Ran 149 tests in 0.107s
|
|
85
|
-
|
|
85
|
+
|
|
86
86
|
OK
|
|
87
87
|
|
|
88
88
|
If you have the :mod:`coverage` pacakge installed in the virtualenv,
|
|
@@ -96,15 +96,15 @@ you can see how well the tests cover the code:
|
|
|
96
96
|
.....................................................................................................................................................
|
|
97
97
|
Name Stmts Miss Cover Missing
|
|
98
98
|
-----------------------------------------------------
|
|
99
|
-
zope.proxy 271 0 100%
|
|
100
|
-
zope.proxy._compat 2 0 100%
|
|
101
|
-
zope.proxy.decorator 18 0 100%
|
|
102
|
-
zope.proxy.interfaces 10 0 100%
|
|
99
|
+
zope.proxy 271 0 100%
|
|
100
|
+
zope.proxy._compat 2 0 100%
|
|
101
|
+
zope.proxy.decorator 18 0 100%
|
|
102
|
+
zope.proxy.interfaces 10 0 100%
|
|
103
103
|
-----------------------------------------------------
|
|
104
|
-
TOTAL 301 0 100%
|
|
104
|
+
TOTAL 301 0 100%
|
|
105
105
|
----------------------------------------------------------------------
|
|
106
106
|
Ran 149 tests in 0.148s
|
|
107
|
-
|
|
107
|
+
|
|
108
108
|
OK
|
|
109
109
|
|
|
110
110
|
|
|
@@ -206,7 +206,7 @@ tool designed to run tests against multiple Python versions. It creates
|
|
|
206
206
|
a ``virtualenv`` for each configured version, installs the current package
|
|
207
207
|
and configured dependencies into each ``virtualenv``, and then runs the
|
|
208
208
|
configured commands.
|
|
209
|
-
|
|
209
|
+
|
|
210
210
|
:mod:`zope.proxy` configures the following :mod:`tox` environments via
|
|
211
211
|
its ``tox.ini`` file:
|
|
212
212
|
|
|
@@ -9,11 +9,11 @@ build-backend = "setuptools.build_meta"
|
|
|
9
9
|
|
|
10
10
|
[project]
|
|
11
11
|
name = "zope.proxy"
|
|
12
|
-
version = "7.
|
|
12
|
+
version = "7.4"
|
|
13
13
|
description = "Generic Transparent Proxies"
|
|
14
14
|
keywords = ["zope", "proxy", "generic", "transparent"]
|
|
15
15
|
dynamic = ["readme"]
|
|
16
|
-
requires-python = ">=3.
|
|
16
|
+
requires-python = ">=3.11"
|
|
17
17
|
license = "ZPL-2.1"
|
|
18
18
|
authors = [
|
|
19
19
|
{ name = "Zope Foundation and contributors", email = "zope-dev@zope.dev" },
|
|
@@ -22,21 +22,19 @@ maintainers = [
|
|
|
22
22
|
{ name = "Plone Foundation and contributors", email = "zope-dev@zope.dev" },
|
|
23
23
|
]
|
|
24
24
|
classifiers = [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"Programming Language :: Python :: Implementation :: CPython",
|
|
39
|
-
"Programming Language :: Python :: Implementation :: PyPy",
|
|
25
|
+
"Development Status :: 5 - Production/Stable",
|
|
26
|
+
"Framework :: Zope :: 3",
|
|
27
|
+
"Intended Audience :: Developers",
|
|
28
|
+
"Operating System :: OS Independent",
|
|
29
|
+
"Programming Language :: Python",
|
|
30
|
+
"Programming Language :: Python :: 3",
|
|
31
|
+
"Programming Language :: Python :: 3.11",
|
|
32
|
+
"Programming Language :: Python :: 3.12",
|
|
33
|
+
"Programming Language :: Python :: 3.13",
|
|
34
|
+
"Programming Language :: Python :: 3.14",
|
|
35
|
+
"Programming Language :: Python :: 3.15",
|
|
36
|
+
"Programming Language :: Python :: Implementation :: CPython",
|
|
37
|
+
"Programming Language :: Python :: Implementation :: PyPy",
|
|
40
38
|
]
|
|
41
39
|
dependencies = ["zope.interface"]
|
|
42
40
|
|
|
@@ -86,12 +86,10 @@ class _EmptyInterfaceDescriptor:
|
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
class _ProxyMetaclass(type):
|
|
89
|
-
# The metaclass is applied after the class definition
|
|
90
|
-
# for Py2/Py3 compatibility.
|
|
91
89
|
__implemented__ = _EmptyInterfaceDescriptor()
|
|
92
90
|
|
|
93
91
|
|
|
94
|
-
class AbstractPyProxyBase:
|
|
92
|
+
class AbstractPyProxyBase(metaclass=_ProxyMetaclass):
|
|
95
93
|
"""
|
|
96
94
|
A reference implementation that cannot be instantiated. Most users
|
|
97
95
|
will want to use :class:`PyProxyBase`.
|
|
@@ -107,7 +105,7 @@ class AbstractPyProxyBase:
|
|
|
107
105
|
|
|
108
106
|
def __new__(cls, value=None):
|
|
109
107
|
# Some subclasses (zope.security.proxy) fail to pass the object
|
|
110
|
-
inst = super(
|
|
108
|
+
inst = super().__new__(cls)
|
|
111
109
|
inst._wrapped = value
|
|
112
110
|
return inst
|
|
113
111
|
|
|
@@ -197,7 +195,7 @@ class AbstractPyProxyBase:
|
|
|
197
195
|
|
|
198
196
|
def __setattr__(self, name, value):
|
|
199
197
|
if name == '_wrapped':
|
|
200
|
-
return super(
|
|
198
|
+
return super().__setattr__(name, value)
|
|
201
199
|
|
|
202
200
|
# First, look for descriptors in this object's type
|
|
203
201
|
type_self = type(self)
|
|
@@ -413,10 +411,6 @@ class AbstractPyProxyBase:
|
|
|
413
411
|
return self
|
|
414
412
|
|
|
415
413
|
|
|
416
|
-
AbstractPyProxyBase = _ProxyMetaclass('AbstractPyProxyBase', (),
|
|
417
|
-
dict(AbstractPyProxyBase.__dict__))
|
|
418
|
-
|
|
419
|
-
|
|
420
414
|
class PyProxyBase(AbstractPyProxyBase):
|
|
421
415
|
"""Reference implementation.
|
|
422
416
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: zope.proxy
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.4
|
|
4
4
|
Summary: Generic Transparent Proxies
|
|
5
5
|
Author-email: Zope Foundation and contributors <zope-dev@zope.dev>
|
|
6
6
|
Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
|
|
@@ -16,8 +16,6 @@ Classifier: Intended Audience :: Developers
|
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
23
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
@@ -25,7 +23,7 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
25
23
|
Classifier: Programming Language :: Python :: 3.15
|
|
26
24
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
25
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
28
|
-
Requires-Python: >=3.
|
|
26
|
+
Requires-Python: >=3.11
|
|
29
27
|
Description-Content-Type: text/x-rst
|
|
30
28
|
License-File: LICENSE.txt
|
|
31
29
|
Requires-Dist: zope.interface
|
|
@@ -75,6 +73,14 @@ Complete documentation is at https://zopeproxy.readthedocs.io
|
|
|
75
73
|
Change log
|
|
76
74
|
==========
|
|
77
75
|
|
|
76
|
+
7.4 (2026-11-10)
|
|
77
|
+
----------------
|
|
78
|
+
|
|
79
|
+
- Add support for Python 3.15.
|
|
80
|
+
|
|
81
|
+
- Drop support for Python 3.10.
|
|
82
|
+
|
|
83
|
+
|
|
78
84
|
7.3 (2026-08-20)
|
|
79
85
|
----------------
|
|
80
86
|
|
|
@@ -5,7 +5,6 @@ minversion = 4.0
|
|
|
5
5
|
envlist =
|
|
6
6
|
release-check
|
|
7
7
|
lint
|
|
8
|
-
py310,py310-pure
|
|
9
8
|
py311,py311-pure
|
|
10
9
|
py312,py312-pure
|
|
11
10
|
py313,py313-pure
|
|
@@ -16,7 +15,6 @@ envlist =
|
|
|
16
15
|
coverage
|
|
17
16
|
|
|
18
17
|
[testenv]
|
|
19
|
-
pip_pre = py315: true
|
|
20
18
|
deps =
|
|
21
19
|
setuptools >= 78.1.1,< 82
|
|
22
20
|
setenv =
|
zope_proxy-7.3/COPYRIGHT.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Zope Foundation and Contributors
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|