zope.proxy 7.2__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.
Files changed (40) hide show
  1. {zope_proxy-7.2 → zope_proxy-7.4}/.manylinux-install.sh +3 -10
  2. {zope_proxy-7.2 → zope_proxy-7.4}/.pre-commit-config.yaml +14 -2
  3. {zope_proxy-7.2 → zope_proxy-7.4}/CHANGES.rst +14 -0
  4. zope_proxy-7.4/COPYRIGHT.txt +1 -0
  5. {zope_proxy-7.2 → zope_proxy-7.4}/PKG-INFO +17 -4
  6. {zope_proxy-7.2 → zope_proxy-7.4}/docs/hacking.rst +10 -10
  7. {zope_proxy-7.2 → zope_proxy-7.4}/pyproject.toml +17 -16
  8. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope/proxy/__init__.py +3 -9
  9. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope.proxy.egg-info/PKG-INFO +17 -4
  10. {zope_proxy-7.2 → zope_proxy-7.4}/tox.ini +0 -3
  11. zope_proxy-7.2/COPYRIGHT.txt +0 -1
  12. {zope_proxy-7.2 → zope_proxy-7.4}/.manylinux.sh +0 -0
  13. {zope_proxy-7.2 → zope_proxy-7.4}/.readthedocs.yaml +0 -0
  14. {zope_proxy-7.2 → zope_proxy-7.4}/CONTRIBUTING.md +0 -0
  15. {zope_proxy-7.2 → zope_proxy-7.4}/LICENSE.txt +0 -0
  16. {zope_proxy-7.2 → zope_proxy-7.4}/MANIFEST.in +0 -0
  17. {zope_proxy-7.2 → zope_proxy-7.4}/README.rst +0 -0
  18. {zope_proxy-7.2 → zope_proxy-7.4}/buildout.cfg +0 -0
  19. {zope_proxy-7.2 → zope_proxy-7.4}/docs/Makefile +0 -0
  20. {zope_proxy-7.2 → zope_proxy-7.4}/docs/api.rst +0 -0
  21. {zope_proxy-7.2 → zope_proxy-7.4}/docs/changes.rst +0 -0
  22. {zope_proxy-7.2 → zope_proxy-7.4}/docs/conf.py +0 -0
  23. {zope_proxy-7.2 → zope_proxy-7.4}/docs/index.rst +0 -0
  24. {zope_proxy-7.2 → zope_proxy-7.4}/docs/make.bat +0 -0
  25. {zope_proxy-7.2 → zope_proxy-7.4}/docs/narr.rst +0 -0
  26. {zope_proxy-7.2 → zope_proxy-7.4}/docs/requirements.txt +0 -0
  27. {zope_proxy-7.2 → zope_proxy-7.4}/setup.cfg +0 -0
  28. {zope_proxy-7.2 → zope_proxy-7.4}/setup.py +0 -0
  29. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope/proxy/_zope_proxy_proxy.c +0 -0
  30. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope/proxy/decorator.py +0 -0
  31. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope/proxy/interfaces.py +0 -0
  32. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope/proxy/proxy.h +0 -0
  33. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope/proxy/tests/__init__.py +0 -0
  34. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope/proxy/tests/test_compile_flags.py +0 -0
  35. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope/proxy/tests/test_decorator.py +0 -0
  36. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope/proxy/tests/test_proxy.py +0 -0
  37. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope.proxy.egg-info/SOURCES.txt +0 -0
  38. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope.proxy.egg-info/dependency_links.txt +0 -0
  39. {zope_proxy-7.2 → zope_proxy-7.4}/src/zope.proxy.egg-info/requires.txt +0 -0
  40. {zope_proxy-7.2 → 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/"* ]] ; then
50
- if [[ "${PYBIN}" == *"cp315/"* ]] ; then
51
- "${PYBIN}/pip" install --pre -e /io/
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: [--py310-plus]
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
@@ -1,6 +1,20 @@
1
1
  Change log
2
2
  ==========
3
3
 
4
+ 7.4 (2026-11-10)
5
+ ----------------
6
+
7
+ - Add support for Python 3.15.
8
+
9
+ - Drop support for Python 3.10.
10
+
11
+
12
+ 7.3 (2026-08-20)
13
+ ----------------
14
+
15
+ - Add support for Python 3.15.
16
+
17
+
4
18
  7.2 (2026-04-30)
5
19
  ----------------
6
20
 
@@ -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.2
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,15 +16,14 @@ 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
24
22
  Classifier: Programming Language :: Python :: 3.14
23
+ Classifier: Programming Language :: Python :: 3.15
25
24
  Classifier: Programming Language :: Python :: Implementation :: CPython
26
25
  Classifier: Programming Language :: Python :: Implementation :: PyPy
27
- Requires-Python: >=3.10
26
+ Requires-Python: >=3.11
28
27
  Description-Content-Type: text/x-rst
29
28
  License-File: LICENSE.txt
30
29
  Requires-Dist: zope.interface
@@ -74,6 +73,20 @@ Complete documentation is at https://zopeproxy.readthedocs.io
74
73
  Change log
75
74
  ==========
76
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
+
84
+ 7.3 (2026-08-20)
85
+ ----------------
86
+
87
+ - Add support for Python 3.15.
88
+
89
+
77
90
  7.2 (2026-04-30)
78
91
  ----------------
79
92
 
@@ -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.2"
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.10"
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,20 +22,19 @@ maintainers = [
22
22
  { name = "Plone Foundation and contributors", email = "zope-dev@zope.dev" },
23
23
  ]
24
24
  classifiers = [
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 :: Only",
32
- "Programming Language :: Python :: 3.10",
33
- "Programming Language :: Python :: 3.11",
34
- "Programming Language :: Python :: 3.12",
35
- "Programming Language :: Python :: 3.13",
36
- "Programming Language :: Python :: 3.14",
37
- "Programming Language :: Python :: Implementation :: CPython",
38
- "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",
39
38
  ]
40
39
  dependencies = ["zope.interface"]
41
40
 
@@ -91,6 +90,8 @@ source = [
91
90
  [tool.setuptools.dynamic]
92
91
  readme = {file = ["README.rst", "CHANGES.rst"]}
93
92
 
93
+
94
94
  [tool.zest-releaser]
95
95
  create-wheel = false
96
+ extra-message = ""
96
97
  upload-pypi = false
@@ -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(AbstractPyProxyBase, cls).__new__(cls)
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(AbstractPyProxyBase, self).__setattr__(name, value)
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.2
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,15 +16,14 @@ 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
24
22
  Classifier: Programming Language :: Python :: 3.14
23
+ Classifier: Programming Language :: Python :: 3.15
25
24
  Classifier: Programming Language :: Python :: Implementation :: CPython
26
25
  Classifier: Programming Language :: Python :: Implementation :: PyPy
27
- Requires-Python: >=3.10
26
+ Requires-Python: >=3.11
28
27
  Description-Content-Type: text/x-rst
29
28
  License-File: LICENSE.txt
30
29
  Requires-Dist: zope.interface
@@ -74,6 +73,20 @@ Complete documentation is at https://zopeproxy.readthedocs.io
74
73
  Change log
75
74
  ==========
76
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
+
84
+ 7.3 (2026-08-20)
85
+ ----------------
86
+
87
+ - Add support for Python 3.15.
88
+
89
+
77
90
  7.2 (2026-04-30)
78
91
  ----------------
79
92
 
@@ -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,10 +15,8 @@ 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
- Sphinx
23
20
  setenv =
24
21
  pure: PURE_PYTHON=1
25
22
  !pure-!pypy3: PURE_PYTHON=0
@@ -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