zope.proxy 7.0__tar.gz → 7.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.
Files changed (42) hide show
  1. {zope_proxy-7.0 → zope_proxy-7.2}/.manylinux-install.sh +10 -7
  2. {zope_proxy-7.0 → zope_proxy-7.2}/.manylinux.sh +2 -2
  3. {zope_proxy-7.0 → zope_proxy-7.2}/.pre-commit-config.yaml +6 -5
  4. {zope_proxy-7.0 → zope_proxy-7.2}/.readthedocs.yaml +2 -2
  5. {zope_proxy-7.0 → zope_proxy-7.2}/CHANGES.rst +79 -41
  6. {zope_proxy-7.0 → zope_proxy-7.2}/CONTRIBUTING.md +2 -2
  7. {zope_proxy-7.0 → zope_proxy-7.2}/MANIFEST.in +2 -2
  8. {zope_proxy-7.0 → zope_proxy-7.2}/PKG-INFO +96 -72
  9. {zope_proxy-7.0 → zope_proxy-7.2}/docs/conf.py +1 -1
  10. {zope_proxy-7.0 → zope_proxy-7.2}/docs/requirements.txt +1 -2
  11. zope_proxy-7.2/pyproject.toml +96 -0
  12. {zope_proxy-7.0 → zope_proxy-7.2}/setup.cfg +1 -3
  13. zope_proxy-7.2/setup.py +77 -0
  14. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope.proxy.egg-info/PKG-INFO +96 -72
  15. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope.proxy.egg-info/SOURCES.txt +0 -1
  16. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope.proxy.egg-info/requires.txt +1 -2
  17. {zope_proxy-7.0 → zope_proxy-7.2}/tox.ini +7 -7
  18. zope_proxy-7.0/pyproject.toml +0 -41
  19. zope_proxy-7.0/setup.py +0 -148
  20. zope_proxy-7.0/src/zope.proxy.egg-info/not-zip-safe +0 -1
  21. {zope_proxy-7.0 → zope_proxy-7.2}/COPYRIGHT.txt +0 -0
  22. {zope_proxy-7.0 → zope_proxy-7.2}/LICENSE.txt +0 -0
  23. {zope_proxy-7.0 → zope_proxy-7.2}/README.rst +0 -0
  24. {zope_proxy-7.0 → zope_proxy-7.2}/buildout.cfg +0 -0
  25. {zope_proxy-7.0 → zope_proxy-7.2}/docs/Makefile +0 -0
  26. {zope_proxy-7.0 → zope_proxy-7.2}/docs/api.rst +0 -0
  27. {zope_proxy-7.0 → zope_proxy-7.2}/docs/changes.rst +0 -0
  28. {zope_proxy-7.0 → zope_proxy-7.2}/docs/hacking.rst +0 -0
  29. {zope_proxy-7.0 → zope_proxy-7.2}/docs/index.rst +0 -0
  30. {zope_proxy-7.0 → zope_proxy-7.2}/docs/make.bat +0 -0
  31. {zope_proxy-7.0 → zope_proxy-7.2}/docs/narr.rst +0 -0
  32. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope/proxy/__init__.py +0 -0
  33. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope/proxy/_zope_proxy_proxy.c +0 -0
  34. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope/proxy/decorator.py +0 -0
  35. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope/proxy/interfaces.py +0 -0
  36. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope/proxy/proxy.h +0 -0
  37. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope/proxy/tests/__init__.py +0 -0
  38. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope/proxy/tests/test_compile_flags.py +0 -0
  39. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope/proxy/tests/test_decorator.py +0 -0
  40. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope/proxy/tests/test_proxy.py +0 -0
  41. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope.proxy.egg-info/dependency_links.txt +0 -0
  42. {zope_proxy-7.0 → zope_proxy-7.2}/src/zope.proxy.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env bash
2
- # Generated from:
3
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
2
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
4
4
 
5
5
  set -e -x
6
6
 
@@ -28,12 +28,12 @@ yum -y install libffi-devel
28
28
 
29
29
  tox_env_map() {
30
30
  case $1 in
31
- *"cp39"*) echo 'py39';;
32
31
  *"cp310"*) echo 'py310';;
33
32
  *"cp311"*) echo 'py311';;
34
33
  *"cp312"*) echo 'py312';;
35
34
  *"cp313"*) echo 'py313';;
36
35
  *"cp314"*) echo 'py314';;
36
+ *"cp315"*) echo 'py315';;
37
37
  *) echo 'py';;
38
38
  esac
39
39
  }
@@ -41,13 +41,13 @@ tox_env_map() {
41
41
  # Compile wheels
42
42
  for PYBIN in /opt/python/*/bin; do
43
43
  if \
44
- [[ "${PYBIN}" == *"cp39/"* ]] || \
45
44
  [[ "${PYBIN}" == *"cp310/"* ]] || \
46
45
  [[ "${PYBIN}" == *"cp311/"* ]] || \
47
46
  [[ "${PYBIN}" == *"cp312/"* ]] || \
48
47
  [[ "${PYBIN}" == *"cp313/"* ]] || \
49
- [[ "${PYBIN}" == *"cp314/"* ]] ; then
50
- if [[ "${PYBIN}" == *"cp314/"* ]] ; then
48
+ [[ "${PYBIN}" == *"cp314/"* ]] || \
49
+ [[ "${PYBIN}" == *"cp315/"* ]] ; then
50
+ if [[ "${PYBIN}" == *"cp315/"* ]] ; then
51
51
  "${PYBIN}/pip" install --pre -e /io/
52
52
  "${PYBIN}/pip" wheel /io/ --pre -w wheelhouse/
53
53
  else
@@ -65,7 +65,10 @@ for PYBIN in /opt/python/*/bin; do
65
65
  fi
66
66
  done
67
67
 
68
+ # Show what wheels we have
69
+ echo "Fixing up the following wheels:"
70
+ ls -l wheelhouse/zope?proxy*.whl
68
71
  # Bundle external shared libraries into the wheels
69
- for whl in wheelhouse/zope_proxy*.whl; do
72
+ for whl in wheelhouse/zope?proxy*.whl; do
70
73
  auditwheel repair "$whl" -w /io/wheelhouse/
71
74
  done
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env bash
2
- # Generated from:
3
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
2
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
4
4
 
5
5
  set -e -x
6
6
 
@@ -1,9 +1,9 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
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
5
  - repo: https://github.com/pycqa/isort
6
- rev: "6.0.1"
6
+ rev: "8.0.1"
7
7
  hooks:
8
8
  - id: isort
9
9
  - repo: https://github.com/hhatto/autopep8
@@ -12,15 +12,16 @@ repos:
12
12
  - id: autopep8
13
13
  args: [--in-place, --aggressive, --aggressive]
14
14
  - repo: https://github.com/asottile/pyupgrade
15
- rev: v3.20.0
15
+ rev: v3.21.2
16
16
  hooks:
17
17
  - id: pyupgrade
18
- args: [--py39-plus]
18
+ args: [--py310-plus]
19
19
  exclude: ^src/zope/proxy/__init__\.py$
20
20
  - repo: https://github.com/isidentical/teyit
21
21
  rev: 0.4.3
22
22
  hooks:
23
23
  - id: teyit
24
+ language_version: python3.13
24
25
  - repo: https://github.com/PyCQA/flake8
25
26
  rev: "7.3.0"
26
27
  hooks:
@@ -1,5 +1,5 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
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,9 +1,28 @@
1
- =========
2
- Changes
3
- =========
1
+ Change log
2
+ ==========
3
+
4
+ 7.2 (2026-04-30)
5
+ ----------------
6
+
7
+ - Add support for automatically building and publishing Windows/ARM64 wheels.
8
+
9
+ - Add support for automatically building and publishing source distributions.
10
+
11
+
12
+ 7.1 (2025-11-18)
13
+ ----------------
14
+
15
+ - Drop support for Python 3.9.
16
+
17
+ - Add support for Python 3.14.
18
+
19
+ - Move all supported package metadata into ``pyproject.toml``.
20
+
21
+ - Remove no longer necessary ``setuptools`` runtime dependency.
22
+
4
23
 
5
24
  7.0 (2025-09-12)
6
- ================
25
+ ----------------
7
26
 
8
27
  - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
9
28
 
@@ -15,13 +34,13 @@
15
34
 
16
35
 
17
36
  6.1 (2024-10-02)
18
- ================
37
+ ----------------
19
38
 
20
39
  - Respect ``PURE_PYTHON`` environment variable set to ``0``.
21
40
 
22
41
 
23
42
  6.0 (2024-09-17)
24
- ================
43
+ ----------------
25
44
 
26
45
  - Declare full support for Python 3.13.
27
46
 
@@ -29,7 +48,7 @@
29
48
 
30
49
 
31
50
  5.3 (2024-08-07)
32
- ================
51
+ ----------------
33
52
 
34
53
  - Build Windows wheels on GHA.
35
54
 
@@ -38,19 +57,19 @@
38
57
 
39
58
 
40
59
  5.2 (2024-02-09)
41
- ================
60
+ ----------------
42
61
 
43
62
  - Add preliminary support for Python 3.13 as of 3.13a3.
44
63
 
45
64
 
46
65
  5.1 (2023-10-05)
47
- ================
66
+ ----------------
48
67
 
49
68
  - Add support for Python 3.12.
50
69
 
51
70
 
52
71
  5.0.0 (2023-01-18)
53
- ==================
72
+ ------------------
54
73
 
55
74
  - Drop support for Python 2.7, 3.5, 3.6.
56
75
 
@@ -60,32 +79,32 @@
60
79
 
61
80
 
62
81
  4.6.1 (2022-11-16)
63
- ==================
82
+ ------------------
64
83
 
65
84
  - Add support for building arm64 wheels on macOS.
66
85
 
67
86
 
68
87
  4.6.0 (2022-11-03)
69
- ==================
88
+ ------------------
70
89
 
71
90
  - Add support for Python 3.11.
72
91
 
73
92
 
74
93
  4.5.1 (2022-09-15)
75
- ==================
94
+ ------------------
76
95
 
77
96
  - Disable unsafe math optimizations in C code. See `pull request 53
78
97
  <https://github.com/zopefoundation/zope.proxy/pull/53>`_.
79
98
 
80
99
 
81
100
  4.5.0 (2021-11-17)
82
- ==================
101
+ ------------------
83
102
 
84
103
  - Add support for Python 3.10.
85
104
 
86
105
 
87
106
  4.4.0 (2021-07-22)
88
- ==================
107
+ ------------------
89
108
 
90
109
  - Add support for Python 3.9.
91
110
 
@@ -93,7 +112,7 @@
93
112
 
94
113
 
95
114
  4.3.5 (2020-03-16)
96
- ==================
115
+ ------------------
97
116
 
98
117
  - Stop installing C header files on PyPy (which is what zope.proxy before 4.3.4
99
118
  used to do), fixes `issue 39
@@ -101,7 +120,7 @@
101
120
 
102
121
 
103
122
  4.3.4 (2020-03-13)
104
- ==================
123
+ ------------------
105
124
 
106
125
  - Fix a compilation warning on Python 3.8. The slot ``tp_print``
107
126
  changed to ``tp_vectorcall_offset`` in 3.8 and must not be set.
@@ -114,7 +133,7 @@
114
133
 
115
134
 
116
135
  4.3.3 (2019-11-11)
117
- ==================
136
+ ------------------
118
137
 
119
138
  - Add support for Python 3.8.
120
139
 
@@ -122,7 +141,7 @@
122
141
 
123
142
 
124
143
  4.3.2 (2019-07-12)
125
- ==================
144
+ ------------------
126
145
 
127
146
  - Fix error handling in ``ProxyBase.__setattr__``: any the exception raised by
128
147
  ``PyString_AsString``/``PyUnicode_AsUTF8`` would be silently swallowed up
@@ -131,7 +150,7 @@
131
150
 
132
151
 
133
152
  4.3.1 (2018-08-09)
134
- ==================
153
+ ------------------
135
154
 
136
155
  - Simplify the internal C handling of attribute names in
137
156
  ``__getattribute__`` and ``__setattr__``.
@@ -145,8 +164,9 @@
145
164
 
146
165
  - Add support for Python 3.7.
147
166
 
167
+
148
168
  4.3.0 (2017-09-13)
149
- ==================
169
+ ------------------
150
170
 
151
171
  - Fix a potential rare crash when deallocating proxies. See `issue 20
152
172
  <https://github.com/zopefoundation/zope.proxy/issues/20>`_.
@@ -164,16 +184,18 @@
164
184
  2, a custom ``__getslice__`` was ignored. See `issue 21
165
185
  <https://github.com/zopefoundation/zope.proxy/issues/21>`_.
166
186
 
187
+
167
188
  4.2.1 (2017-04-23)
168
- ==================
189
+ ------------------
169
190
 
170
191
  - Make the pure-Python implementation of ``sameProxiedObjects`` handle
171
192
  ``zope.security`` proxies. See `issue 15 <https://github.com/zopefoundation/zope.proxy/issues/15>`_.
172
193
 
173
194
  - Add support for Python 3.6.
174
195
 
196
+
175
197
  4.2.0 (2016-05-05)
176
- ==================
198
+ ------------------
177
199
 
178
200
  - Correctly strip ``zope.security`` proxies in ``removeAllProxies``.
179
201
  See `issue 13 <https://github.com/zopefoundation/zope.proxy/pull/13>`_.
@@ -185,8 +207,9 @@
185
207
 
186
208
  - Add support for Python 3.5.
187
209
 
210
+
188
211
  4.1.6 (2015-06-02)
189
- ==================
212
+ ------------------
190
213
 
191
214
  - Make subclasses of ProxyBase properly delegate ``__module__`` to the
192
215
  wrapped object. This fixes some ``zope.interface`` lookups under
@@ -196,8 +219,9 @@
196
219
  ``zope.interface`` interfaces implemented by builtin types like
197
220
  ``list``. This fixes some ``zope.interface`` lookups under PyPy.
198
221
 
222
+
199
223
  4.1.5 (2015-05-19)
200
- ==================
224
+ ------------------
201
225
 
202
226
  - Make the C implementation proxy ``__unicode__`` correctly.
203
227
 
@@ -208,23 +232,26 @@
208
232
  subclasses like the C version. See
209
233
  https://github.com/zopefoundation/zope.proxy/issues/5.
210
234
 
235
+
211
236
  4.1.4 (2014-03-19)
212
- ==================
237
+ ------------------
213
238
 
214
239
  - Add support for Python 3.4.
215
240
 
216
241
  - Update ``bootstrap.py`` to version 2.2.
217
242
 
243
+
218
244
  4.1.3 (2013-03-12)
219
- ==================
245
+ ------------------
220
246
 
221
247
  - Fix interface object introspection in PyPy. For some reason PyPy makes
222
248
  attributes available despite the restrictive ``__slots__`` declaration.
223
249
 
224
250
  - Add a bunch of tests surrounding interface lookup and adaptation.
225
251
 
252
+
226
253
  4.1.2 (2013-03-11)
227
- ==================
254
+ ------------------
228
255
 
229
256
  - Make ``PyProxyBase.__iter__()`` return the result of
230
257
  ``PyProxyBase._wrapped.__iter__`` if available, otherwise falling back to
@@ -234,13 +261,15 @@
234
261
  proxy itself. This is needed to properly allow proxy extensions as was
235
262
  evidenced int he ``zope.security.decorator`` module.
236
263
 
264
+
237
265
  4.1.1 (2012-12-31)
238
- ==================
266
+ ------------------
239
267
 
240
268
  - Fleshed out PyPI Trove classifiers.
241
269
 
270
+
242
271
  4.1.0 (2012-12-19)
243
- ==================
272
+ ------------------
244
273
 
245
274
  - Enable compilation of dependent modules under Py3k.
246
275
 
@@ -251,13 +280,15 @@
251
280
  extensions built under Python 2.7 against 4.0.x versions of
252
281
  ``zope.proxy`` must be rebuilt.
253
282
 
283
+
254
284
  4.0.1 (2012-11-21)
255
- ==================
285
+ ------------------
256
286
 
257
287
  - Add support for Python 3.3.
258
288
 
289
+
259
290
  4.0.0 (2012-06-06)
260
- ==================
291
+ ------------------
261
292
 
262
293
  - Add support for PyPy.
263
294
 
@@ -290,32 +321,37 @@
290
321
 
291
322
  - Add Python 3.2 support.
292
323
 
324
+
293
325
  3.6.1 (2010-07-06)
294
- ==================
326
+ ------------------
295
327
 
296
328
  - Make tests compatible with Python 2.7.
297
329
 
330
+
298
331
  3.6.0 (2010-04-30)
299
- ==================
332
+ ------------------
300
333
 
301
334
  - Remove test extra and the remaining dependency on zope.testing.
302
335
 
303
336
  - Remove use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
304
337
 
338
+
305
339
  3.5.0 (2009/01/31)
306
- ==================
340
+ ------------------
307
341
 
308
342
  - Add support to bootstrap on Jython.
309
343
 
310
344
  - Use ``zope.container`` instead of ``zope.app.container``.
311
345
 
346
+
312
347
  3.4.2 (2008/07/27)
313
- ==================
348
+ ------------------
314
349
 
315
350
  - Make C code compatible with Python 2.5 on 64bit architectures.
316
351
 
352
+
317
353
  3.4.1 (2008/06/24)
318
- ==================
354
+ ------------------
319
355
 
320
356
  - Bug: Update ``setup.py`` script to conform to common layout. Also updated
321
357
  some of the fields.
@@ -324,28 +360,30 @@
324
360
  and ``__setslice__()`` methods. See
325
361
  http://docs.python.org/ref/sequence-methods.html.
326
362
 
363
+
327
364
  3.4.0 (2007/07/12)
328
- ==================
365
+ ------------------
329
366
 
330
367
  - Feature: Add a ``decorator`` module that supports declaring interfaces on
331
368
  proxies that get blended with the interfaces of the things they proxy.
332
369
 
370
+
333
371
  3.3.0 (2006/12/20)
334
- ==================
372
+ ------------------
335
373
 
336
374
  - Corresponds to the verison of the ``zope.proxy`` package shipped as part of
337
375
  the Zope 3.3.0 release.
338
376
 
339
377
 
340
378
  3.2.0 (2006/01/05)
341
- ==================
379
+ ------------------
342
380
 
343
381
  - Corresponds to the verison of the ``zope.proxy`` package shipped as part of
344
382
  the Zope 3.2.0 release.
345
383
 
346
384
 
347
385
  3.0.0 (2004/11/07)
348
- ==================
386
+ ------------------
349
387
 
350
388
  - Corresponds to the verison of the ``zope.proxy`` package shipped as part of
351
389
  the Zope X3.0.0 release.
@@ -1,6 +1,6 @@
1
1
  <!--
2
- Generated from:
3
- https://github.com/zopefoundation/meta/tree/master/config/c-code
2
+ Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3
+ https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
4
4
  -->
5
5
  # Contributing to zopefoundation projects
6
6
 
@@ -1,5 +1,5 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
3
3
  include *.md
4
4
  include *.rst
5
5
  include *.txt