zope.proxy 6.1__tar.gz → 7.1__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 (52) hide show
  1. {zope_proxy-6.1 → zope_proxy-7.1}/.manylinux-install.sh +16 -8
  2. {zope_proxy-6.1 → zope_proxy-7.1}/.pre-commit-config.yaml +9 -8
  3. {zope_proxy-6.1 → zope_proxy-7.1}/CHANGES.rst +82 -40
  4. {zope_proxy-6.1 → zope_proxy-7.1}/CONTRIBUTING.md +1 -1
  5. zope_proxy-7.1/PKG-INFO +72 -0
  6. {zope_proxy-6.1 → zope_proxy-7.1}/docs/conf.py +1 -1
  7. {zope_proxy-6.1 → zope_proxy-7.1}/docs/requirements.txt +1 -2
  8. zope_proxy-7.1/pyproject.toml +91 -0
  9. zope_proxy-7.1/setup.py +77 -0
  10. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope/proxy/_zope_proxy_proxy.c +3 -3
  11. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope/proxy/tests/test_proxy.py +2 -2
  12. zope_proxy-7.1/src/zope.proxy.egg-info/PKG-INFO +72 -0
  13. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope.proxy.egg-info/SOURCES.txt +0 -9
  14. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope.proxy.egg-info/requires.txt +3 -4
  15. {zope_proxy-6.1 → zope_proxy-7.1}/tox.ini +9 -8
  16. zope_proxy-6.1/PKG-INFO +0 -414
  17. zope_proxy-6.1/docs/_build/doctest/output.txt +0 -313
  18. zope_proxy-6.1/docs/_build/html/_sources/api.rst.txt +0 -95
  19. zope_proxy-6.1/docs/_build/html/_sources/changes.rst.txt +0 -1
  20. zope_proxy-6.1/docs/_build/html/_sources/hacking.rst.txt +0 -311
  21. zope_proxy-6.1/docs/_build/html/_sources/index.rst.txt +0 -20
  22. zope_proxy-6.1/docs/_build/html/_sources/narr.rst.txt +0 -153
  23. zope_proxy-6.1/pyproject.toml +0 -25
  24. zope_proxy-6.1/setup.py +0 -147
  25. zope_proxy-6.1/src/zope/__init__.py +0 -1
  26. zope_proxy-6.1/src/zope.proxy.egg-info/PKG-INFO +0 -414
  27. zope_proxy-6.1/src/zope.proxy.egg-info/namespace_packages.txt +0 -1
  28. zope_proxy-6.1/src/zope.proxy.egg-info/not-zip-safe +0 -1
  29. {zope_proxy-6.1 → zope_proxy-7.1}/.manylinux.sh +0 -0
  30. {zope_proxy-6.1 → zope_proxy-7.1}/.readthedocs.yaml +0 -0
  31. {zope_proxy-6.1 → zope_proxy-7.1}/COPYRIGHT.txt +0 -0
  32. {zope_proxy-6.1 → zope_proxy-7.1}/LICENSE.txt +0 -0
  33. {zope_proxy-6.1 → zope_proxy-7.1}/MANIFEST.in +0 -0
  34. {zope_proxy-6.1 → zope_proxy-7.1}/README.rst +0 -0
  35. {zope_proxy-6.1 → zope_proxy-7.1}/buildout.cfg +0 -0
  36. {zope_proxy-6.1 → zope_proxy-7.1}/docs/Makefile +0 -0
  37. {zope_proxy-6.1 → zope_proxy-7.1}/docs/api.rst +0 -0
  38. {zope_proxy-6.1 → zope_proxy-7.1}/docs/changes.rst +0 -0
  39. {zope_proxy-6.1 → zope_proxy-7.1}/docs/hacking.rst +0 -0
  40. {zope_proxy-6.1 → zope_proxy-7.1}/docs/index.rst +0 -0
  41. {zope_proxy-6.1 → zope_proxy-7.1}/docs/make.bat +0 -0
  42. {zope_proxy-6.1 → zope_proxy-7.1}/docs/narr.rst +0 -0
  43. {zope_proxy-6.1 → zope_proxy-7.1}/setup.cfg +0 -0
  44. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope/proxy/__init__.py +0 -0
  45. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope/proxy/decorator.py +0 -0
  46. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope/proxy/interfaces.py +0 -0
  47. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope/proxy/proxy.h +0 -0
  48. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope/proxy/tests/__init__.py +0 -0
  49. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope/proxy/tests/test_compile_flags.py +0 -0
  50. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope/proxy/tests/test_decorator.py +0 -0
  51. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope.proxy.egg-info/dependency_links.txt +0 -0
  52. {zope_proxy-6.1 → zope_proxy-7.1}/src/zope.proxy.egg-info/top_level.txt +0 -0
@@ -28,12 +28,12 @@ yum -y install libffi-devel
28
28
 
29
29
  tox_env_map() {
30
30
  case $1 in
31
- *"cp38"*) echo 'py38';;
32
- *"cp39"*) echo 'py39';;
33
31
  *"cp310"*) echo 'py310';;
34
32
  *"cp311"*) echo 'py311';;
35
33
  *"cp312"*) echo 'py312';;
36
34
  *"cp313"*) echo 'py313';;
35
+ *"cp314"*) echo 'py314';;
36
+ *"cp315"*) echo 'py315';;
37
37
  *) echo 'py';;
38
38
  esac
39
39
  }
@@ -41,14 +41,19 @@ tox_env_map() {
41
41
  # Compile wheels
42
42
  for PYBIN in /opt/python/*/bin; do
43
43
  if \
44
- [[ "${PYBIN}" == *"cp38/"* ]] || \
45
- [[ "${PYBIN}" == *"cp39/"* ]] || \
46
44
  [[ "${PYBIN}" == *"cp310/"* ]] || \
47
45
  [[ "${PYBIN}" == *"cp311/"* ]] || \
48
46
  [[ "${PYBIN}" == *"cp312/"* ]] || \
49
- [[ "${PYBIN}" == *"cp313/"* ]] ; then
50
- "${PYBIN}/pip" install -e /io/
51
- "${PYBIN}/pip" wheel /io/ -w wheelhouse/
47
+ [[ "${PYBIN}" == *"cp313/"* ]] || \
48
+ [[ "${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
52
57
  if [ `uname -m` == 'aarch64' ]; then
53
58
  cd /io/
54
59
  ${PYBIN}/pip install tox
@@ -60,7 +65,10 @@ for PYBIN in /opt/python/*/bin; do
60
65
  fi
61
66
  done
62
67
 
68
+ # Show what wheels we have
69
+ echo "Fixing up the following wheels:"
70
+ ls -l wheelhouse/zope?proxy*.whl
63
71
  # Bundle external shared libraries into the wheels
64
- for whl in wheelhouse/zope.proxy*.whl; do
72
+ for whl in wheelhouse/zope?proxy*.whl; do
65
73
  auditwheel repair "$whl" -w /io/wheelhouse/
66
74
  done
@@ -3,25 +3,26 @@
3
3
  minimum_pre_commit_version: '3.6'
4
4
  repos:
5
5
  - repo: https://github.com/pycqa/isort
6
- rev: "5.13.2"
6
+ rev: "7.0.0"
7
7
  hooks:
8
8
  - id: isort
9
9
  - repo: https://github.com/hhatto/autopep8
10
- rev: "v2.3.1"
10
+ rev: "v2.3.2"
11
11
  hooks:
12
12
  - id: autopep8
13
13
  args: [--in-place, --aggressive, --aggressive]
14
- # - repo: https://github.com/asottile/pyupgrade
15
- # rev: v3.17.0
16
- # hooks:
17
- # - id: pyupgrade
18
- # args: [--py38-plus]
14
+ - repo: https://github.com/asottile/pyupgrade
15
+ rev: v3.21.0
16
+ hooks:
17
+ - id: pyupgrade
18
+ args: [--py310-plus]
19
+ exclude: ^src/zope/proxy/__init__\.py$
19
20
  - repo: https://github.com/isidentical/teyit
20
21
  rev: 0.4.3
21
22
  hooks:
22
23
  - id: teyit
23
24
  - repo: https://github.com/PyCQA/flake8
24
- rev: "7.1.1"
25
+ rev: "7.3.0"
25
26
  hooks:
26
27
  - id: flake8
27
28
  additional_dependencies:
@@ -1,15 +1,38 @@
1
- =========
2
- Changes
3
- =========
1
+ Change log
2
+ ==========
3
+
4
+ 7.1 (2025-11-18)
5
+ ----------------
6
+
7
+ - Drop support for Python 3.9.
8
+
9
+ - Add support for Python 3.14.
10
+
11
+ - Move all supported package metadata into ``pyproject.toml``.
12
+
13
+ - Remove no longer necessary ``setuptools`` runtime dependency.
14
+
15
+
16
+ 7.0 (2025-09-12)
17
+ ----------------
18
+
19
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
20
+
21
+ - Add preliminary support for Python 3.14.
22
+
23
+ - Drop support for Python 3.8.
24
+
25
+ - Adjust minimal required version of ``zope.security`` test dependency to ``7.3``.
26
+
4
27
 
5
28
  6.1 (2024-10-02)
6
- ================
29
+ ----------------
7
30
 
8
31
  - Respect ``PURE_PYTHON`` environment variable set to ``0``.
9
32
 
10
33
 
11
34
  6.0 (2024-09-17)
12
- ================
35
+ ----------------
13
36
 
14
37
  - Declare full support for Python 3.13.
15
38
 
@@ -17,7 +40,7 @@
17
40
 
18
41
 
19
42
  5.3 (2024-08-07)
20
- ================
43
+ ----------------
21
44
 
22
45
  - Build Windows wheels on GHA.
23
46
 
@@ -26,19 +49,19 @@
26
49
 
27
50
 
28
51
  5.2 (2024-02-09)
29
- ================
52
+ ----------------
30
53
 
31
54
  - Add preliminary support for Python 3.13 as of 3.13a3.
32
55
 
33
56
 
34
57
  5.1 (2023-10-05)
35
- ================
58
+ ----------------
36
59
 
37
60
  - Add support for Python 3.12.
38
61
 
39
62
 
40
63
  5.0.0 (2023-01-18)
41
- ==================
64
+ ------------------
42
65
 
43
66
  - Drop support for Python 2.7, 3.5, 3.6.
44
67
 
@@ -48,32 +71,32 @@
48
71
 
49
72
 
50
73
  4.6.1 (2022-11-16)
51
- ==================
74
+ ------------------
52
75
 
53
76
  - Add support for building arm64 wheels on macOS.
54
77
 
55
78
 
56
79
  4.6.0 (2022-11-03)
57
- ==================
80
+ ------------------
58
81
 
59
82
  - Add support for Python 3.11.
60
83
 
61
84
 
62
85
  4.5.1 (2022-09-15)
63
- ==================
86
+ ------------------
64
87
 
65
88
  - Disable unsafe math optimizations in C code. See `pull request 53
66
89
  <https://github.com/zopefoundation/zope.proxy/pull/53>`_.
67
90
 
68
91
 
69
92
  4.5.0 (2021-11-17)
70
- ==================
93
+ ------------------
71
94
 
72
95
  - Add support for Python 3.10.
73
96
 
74
97
 
75
98
  4.4.0 (2021-07-22)
76
- ==================
99
+ ------------------
77
100
 
78
101
  - Add support for Python 3.9.
79
102
 
@@ -81,7 +104,7 @@
81
104
 
82
105
 
83
106
  4.3.5 (2020-03-16)
84
- ==================
107
+ ------------------
85
108
 
86
109
  - Stop installing C header files on PyPy (which is what zope.proxy before 4.3.4
87
110
  used to do), fixes `issue 39
@@ -89,7 +112,7 @@
89
112
 
90
113
 
91
114
  4.3.4 (2020-03-13)
92
- ==================
115
+ ------------------
93
116
 
94
117
  - Fix a compilation warning on Python 3.8. The slot ``tp_print``
95
118
  changed to ``tp_vectorcall_offset`` in 3.8 and must not be set.
@@ -102,7 +125,7 @@
102
125
 
103
126
 
104
127
  4.3.3 (2019-11-11)
105
- ==================
128
+ ------------------
106
129
 
107
130
  - Add support for Python 3.8.
108
131
 
@@ -110,7 +133,7 @@
110
133
 
111
134
 
112
135
  4.3.2 (2019-07-12)
113
- ==================
136
+ ------------------
114
137
 
115
138
  - Fix error handling in ``ProxyBase.__setattr__``: any the exception raised by
116
139
  ``PyString_AsString``/``PyUnicode_AsUTF8`` would be silently swallowed up
@@ -119,7 +142,7 @@
119
142
 
120
143
 
121
144
  4.3.1 (2018-08-09)
122
- ==================
145
+ ------------------
123
146
 
124
147
  - Simplify the internal C handling of attribute names in
125
148
  ``__getattribute__`` and ``__setattr__``.
@@ -133,8 +156,9 @@
133
156
 
134
157
  - Add support for Python 3.7.
135
158
 
159
+
136
160
  4.3.0 (2017-09-13)
137
- ==================
161
+ ------------------
138
162
 
139
163
  - Fix a potential rare crash when deallocating proxies. See `issue 20
140
164
  <https://github.com/zopefoundation/zope.proxy/issues/20>`_.
@@ -152,16 +176,18 @@
152
176
  2, a custom ``__getslice__`` was ignored. See `issue 21
153
177
  <https://github.com/zopefoundation/zope.proxy/issues/21>`_.
154
178
 
179
+
155
180
  4.2.1 (2017-04-23)
156
- ==================
181
+ ------------------
157
182
 
158
183
  - Make the pure-Python implementation of ``sameProxiedObjects`` handle
159
184
  ``zope.security`` proxies. See `issue 15 <https://github.com/zopefoundation/zope.proxy/issues/15>`_.
160
185
 
161
186
  - Add support for Python 3.6.
162
187
 
188
+
163
189
  4.2.0 (2016-05-05)
164
- ==================
190
+ ------------------
165
191
 
166
192
  - Correctly strip ``zope.security`` proxies in ``removeAllProxies``.
167
193
  See `issue 13 <https://github.com/zopefoundation/zope.proxy/pull/13>`_.
@@ -173,8 +199,9 @@
173
199
 
174
200
  - Add support for Python 3.5.
175
201
 
202
+
176
203
  4.1.6 (2015-06-02)
177
- ==================
204
+ ------------------
178
205
 
179
206
  - Make subclasses of ProxyBase properly delegate ``__module__`` to the
180
207
  wrapped object. This fixes some ``zope.interface`` lookups under
@@ -184,8 +211,9 @@
184
211
  ``zope.interface`` interfaces implemented by builtin types like
185
212
  ``list``. This fixes some ``zope.interface`` lookups under PyPy.
186
213
 
214
+
187
215
  4.1.5 (2015-05-19)
188
- ==================
216
+ ------------------
189
217
 
190
218
  - Make the C implementation proxy ``__unicode__`` correctly.
191
219
 
@@ -196,23 +224,26 @@
196
224
  subclasses like the C version. See
197
225
  https://github.com/zopefoundation/zope.proxy/issues/5.
198
226
 
227
+
199
228
  4.1.4 (2014-03-19)
200
- ==================
229
+ ------------------
201
230
 
202
231
  - Add support for Python 3.4.
203
232
 
204
233
  - Update ``bootstrap.py`` to version 2.2.
205
234
 
235
+
206
236
  4.1.3 (2013-03-12)
207
- ==================
237
+ ------------------
208
238
 
209
239
  - Fix interface object introspection in PyPy. For some reason PyPy makes
210
240
  attributes available despite the restrictive ``__slots__`` declaration.
211
241
 
212
242
  - Add a bunch of tests surrounding interface lookup and adaptation.
213
243
 
244
+
214
245
  4.1.2 (2013-03-11)
215
- ==================
246
+ ------------------
216
247
 
217
248
  - Make ``PyProxyBase.__iter__()`` return the result of
218
249
  ``PyProxyBase._wrapped.__iter__`` if available, otherwise falling back to
@@ -222,13 +253,15 @@
222
253
  proxy itself. This is needed to properly allow proxy extensions as was
223
254
  evidenced int he ``zope.security.decorator`` module.
224
255
 
256
+
225
257
  4.1.1 (2012-12-31)
226
- ==================
258
+ ------------------
227
259
 
228
260
  - Fleshed out PyPI Trove classifiers.
229
261
 
262
+
230
263
  4.1.0 (2012-12-19)
231
- ==================
264
+ ------------------
232
265
 
233
266
  - Enable compilation of dependent modules under Py3k.
234
267
 
@@ -239,13 +272,15 @@
239
272
  extensions built under Python 2.7 against 4.0.x versions of
240
273
  ``zope.proxy`` must be rebuilt.
241
274
 
275
+
242
276
  4.0.1 (2012-11-21)
243
- ==================
277
+ ------------------
244
278
 
245
279
  - Add support for Python 3.3.
246
280
 
281
+
247
282
  4.0.0 (2012-06-06)
248
- ==================
283
+ ------------------
249
284
 
250
285
  - Add support for PyPy.
251
286
 
@@ -278,32 +313,37 @@
278
313
 
279
314
  - Add Python 3.2 support.
280
315
 
316
+
281
317
  3.6.1 (2010-07-06)
282
- ==================
318
+ ------------------
283
319
 
284
320
  - Make tests compatible with Python 2.7.
285
321
 
322
+
286
323
  3.6.0 (2010-04-30)
287
- ==================
324
+ ------------------
288
325
 
289
326
  - Remove test extra and the remaining dependency on zope.testing.
290
327
 
291
328
  - Remove use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
292
329
 
330
+
293
331
  3.5.0 (2009/01/31)
294
- ==================
332
+ ------------------
295
333
 
296
334
  - Add support to bootstrap on Jython.
297
335
 
298
336
  - Use ``zope.container`` instead of ``zope.app.container``.
299
337
 
338
+
300
339
  3.4.2 (2008/07/27)
301
- ==================
340
+ ------------------
302
341
 
303
342
  - Make C code compatible with Python 2.5 on 64bit architectures.
304
343
 
344
+
305
345
  3.4.1 (2008/06/24)
306
- ==================
346
+ ------------------
307
347
 
308
348
  - Bug: Update ``setup.py`` script to conform to common layout. Also updated
309
349
  some of the fields.
@@ -312,28 +352,30 @@
312
352
  and ``__setslice__()`` methods. See
313
353
  http://docs.python.org/ref/sequence-methods.html.
314
354
 
355
+
315
356
  3.4.0 (2007/07/12)
316
- ==================
357
+ ------------------
317
358
 
318
359
  - Feature: Add a ``decorator`` module that supports declaring interfaces on
319
360
  proxies that get blended with the interfaces of the things they proxy.
320
361
 
362
+
321
363
  3.3.0 (2006/12/20)
322
- ==================
364
+ ------------------
323
365
 
324
366
  - Corresponds to the verison of the ``zope.proxy`` package shipped as part of
325
367
  the Zope 3.3.0 release.
326
368
 
327
369
 
328
370
  3.2.0 (2006/01/05)
329
- ==================
371
+ ------------------
330
372
 
331
373
  - Corresponds to the verison of the ``zope.proxy`` package shipped as part of
332
374
  the Zope 3.2.0 release.
333
375
 
334
376
 
335
377
  3.0.0 (2004/11/07)
336
- ==================
378
+ ------------------
337
379
 
338
380
  - Corresponds to the verison of the ``zope.proxy`` package shipped as part of
339
381
  the Zope X3.0.0 release.
@@ -1,7 +1,7 @@
1
1
  <!--
2
2
  Generated from:
3
3
  https://github.com/zopefoundation/meta/tree/master/config/c-code
4
- -->
4
+ -->
5
5
  # Contributing to zopefoundation projects
6
6
 
7
7
  The projects under the zopefoundation GitHub organization are open source and
@@ -0,0 +1,72 @@
1
+ Metadata-Version: 2.4
2
+ Name: zope.proxy
3
+ Version: 7.1
4
+ Summary: Generic Transparent Proxies
5
+ Author-email: Zope Foundation and contributors <zope-dev@zope.dev>
6
+ Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
7
+ License-Expression: ZPL-2.1
8
+ Project-URL: Documentation, https://zopeproxy.readthedocs.io
9
+ Project-URL: Issues, https://github.com/zopefoundation/zope.proxy/issues
10
+ Project-URL: Source, https://github.com/zopefoundation/zope.proxy
11
+ Project-URL: Changelog, https://github.com/zopefoundation/zope.proxy/blob/master/CHANGES.rst
12
+ Keywords: zope,proxy,generic,transparent
13
+ Classifier: Development Status :: 5 - Production/Stable
14
+ Classifier: Framework :: Zope :: 3
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Programming Language :: Python :: Implementation :: CPython
26
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
27
+ Requires-Python: >=3.10
28
+ Description-Content-Type: text/x-rst
29
+ License-File: LICENSE.txt
30
+ Requires-Dist: zope.interface
31
+ Provides-Extra: docs
32
+ Requires-Dist: Sphinx; extra == "docs"
33
+ Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
34
+ Requires-Dist: furo; extra == "docs"
35
+ Provides-Extra: test
36
+ Requires-Dist: zope.security>=7.3; extra == "test"
37
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
38
+ Dynamic: license-file
39
+
40
+ ================
41
+ ``zope.proxy``
42
+ ================
43
+
44
+ .. image:: https://github.com/zopefoundation/zope.proxy/actions/workflows/tests.yml/badge.svg
45
+ :target: https://github.com/zopefoundation/zope.proxy/actions/workflows/tests.yml
46
+
47
+ .. image:: https://coveralls.io/repos/github/zopefoundation/zope.proxy/badge.svg?branch=master
48
+ :target: https://coveralls.io/github/zopefoundation/zope.proxy?branch=master
49
+
50
+ .. image:: https://readthedocs.org/projects/zopeproxy/badge/?version=latest
51
+ :target: https://zopeproxy.readthedocs.io/en/latest/
52
+ :alt: Documentation Status
53
+
54
+ .. image:: https://img.shields.io/pypi/v/zope.proxy.svg
55
+ :target: https://pypi.org/project/zope.proxy/
56
+ :alt: Latest release
57
+
58
+ .. image:: https://img.shields.io/pypi/pyversions/zope.proxy.svg
59
+ :target: https://pypi.org/project/zope.proxy/
60
+ :alt: Python versions
61
+
62
+ Proxies are special objects which serve as mostly-transparent
63
+ wrappers around another object, intervening in the apparent behavior of
64
+ the wrapped object only when necessary to apply the policy (e.g., access
65
+ checking, location brokering, etc.) for which the proxy is responsible.
66
+
67
+ zope.proxy is implemented via a C extension module, which lets it do things
68
+ like lie about its own ``__class__`` that are difficult in pure Python (and
69
+ were completely impossible before metaclasses). It also proxies all the
70
+ internal slots (such as ``__int__``/``__str__``/``__add__``).
71
+
72
+ Complete documentation is at https://zopeproxy.readthedocs.io
@@ -30,5 +30,5 @@ exclude_patterns = []
30
30
  # -- Options for HTML output -------------------------------------------------
31
31
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
32
32
 
33
- html_theme = 'sphinx_rtd_theme'
33
+ html_theme = 'furo'
34
34
  html_static_path = ['_static']
@@ -1,4 +1,3 @@
1
1
  Sphinx
2
2
  repoze.sphinx.autointerface
3
- sphinx_rtd_theme>1
4
- docutils<0.19
3
+ furo
@@ -0,0 +1,91 @@
1
+ #
2
+ # Generated from:
3
+ # https://github.com/zopefoundation/meta/tree/master/config/c-code
4
+
5
+ [build-system]
6
+ requires = [
7
+ "setuptools",
8
+ "wheel",
9
+ ]
10
+ build-backend = "setuptools.build_meta"
11
+
12
+ [project]
13
+ name = "zope.proxy"
14
+ version = "7.1"
15
+ description = "Generic Transparent Proxies"
16
+ keywords = ["zope", "proxy", "generic", "transparent"]
17
+ readme = "README.rst"
18
+ requires-python = ">=3.10"
19
+ license = "ZPL-2.1"
20
+ authors = [
21
+ { name = "Zope Foundation and contributors", email = "zope-dev@zope.dev" },
22
+ ]
23
+ maintainers = [
24
+ { name = "Plone Foundation and contributors", email = "zope-dev@zope.dev" },
25
+ ]
26
+ classifiers = [
27
+ "Development Status :: 5 - Production/Stable",
28
+ "Framework :: Zope :: 3",
29
+ "Intended Audience :: Developers",
30
+ "Operating System :: OS Independent",
31
+ "Programming Language :: Python",
32
+ "Programming Language :: Python :: 3",
33
+ "Programming Language :: Python :: 3 :: Only",
34
+ "Programming Language :: Python :: 3.10",
35
+ "Programming Language :: Python :: 3.11",
36
+ "Programming Language :: Python :: 3.12",
37
+ "Programming Language :: Python :: 3.13",
38
+ "Programming Language :: Python :: 3.14",
39
+ "Programming Language :: Python :: Implementation :: CPython",
40
+ "Programming Language :: Python :: Implementation :: PyPy",
41
+ ]
42
+ dependencies = ["zope.interface"]
43
+
44
+ [project.optional-dependencies]
45
+ docs = [
46
+ "Sphinx",
47
+ "repoze.sphinx.autointerface",
48
+ "furo",
49
+ ]
50
+ # We have a circular dependency with zope.security for testing
51
+ test = [
52
+ "zope.security >= 7.3",
53
+ "zope.testrunner >= 6.4",
54
+ ]
55
+
56
+ [project.urls]
57
+ Documentation = "https://zopeproxy.readthedocs.io"
58
+ Issues = "https://github.com/zopefoundation/zope.proxy/issues"
59
+ Source = "https://github.com/zopefoundation/zope.proxy"
60
+ Changelog = "https://github.com/zopefoundation/zope.proxy/blob/master/CHANGES.rst"
61
+
62
+ [tool.coverage.run]
63
+ branch = true
64
+ source = ["zope.proxy"]
65
+ relative_files = true
66
+
67
+ [tool.coverage.report]
68
+ fail_under = 99
69
+ precision = 2
70
+ ignore_errors = true
71
+ show_missing = true
72
+ exclude_lines = [
73
+ "pragma: no cover",
74
+ "pragma: nocover",
75
+ "except ImportError:",
76
+ "raise NotImplementedError",
77
+ "if __name__ == '__main__':",
78
+ "self.fail",
79
+ "raise AssertionError",
80
+ "raise unittest.Skip",
81
+ ]
82
+
83
+ [tool.coverage.html]
84
+ directory = "parts/htmlcov"
85
+
86
+ [tool.coverage.paths]
87
+ source = [
88
+ "src/",
89
+ ".tox/*/lib/python*/site-packages/",
90
+ ".tox/pypy*/site-packages/",
91
+ ]