Persistence 5.1__tar.gz → 5.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 (38) hide show
  1. {persistence-5.1 → persistence-5.4}/.manylinux-install.sh +16 -8
  2. {persistence-5.1 → persistence-5.4}/.pre-commit-config.yaml +5 -5
  3. {persistence-5.1 → persistence-5.4}/CHANGES.rst +28 -2
  4. {persistence-5.1 → persistence-5.4}/CONTRIBUTING.md +1 -1
  5. persistence-5.4/PKG-INFO +43 -0
  6. persistence-5.4/pyproject.toml +84 -0
  7. persistence-5.4/setup.py +21 -0
  8. {persistence-5.1 → persistence-5.4}/src/Persistence/tests/test_persistent.py +5 -6
  9. persistence-5.4/src/Persistence.egg-info/PKG-INFO +43 -0
  10. {persistence-5.1 → persistence-5.4}/src/Persistence.egg-info/SOURCES.txt +0 -1
  11. persistence-5.4/src/Persistence.egg-info/requires.txt +5 -0
  12. {persistence-5.1 → persistence-5.4}/tox.ini +8 -5
  13. persistence-5.1/PKG-INFO +0 -180
  14. persistence-5.1/pyproject.toml +0 -25
  15. persistence-5.1/setup.py +0 -67
  16. persistence-5.1/src/Persistence.egg-info/PKG-INFO +0 -180
  17. persistence-5.1/src/Persistence.egg-info/not-zip-safe +0 -1
  18. persistence-5.1/src/Persistence.egg-info/requires.txt +0 -5
  19. {persistence-5.1 → persistence-5.4}/.manylinux.sh +0 -0
  20. {persistence-5.1 → persistence-5.4}/COPYRIGHT.txt +0 -0
  21. {persistence-5.1 → persistence-5.4}/LICENSE.txt +0 -0
  22. {persistence-5.1 → persistence-5.4}/MANIFEST.in +0 -0
  23. {persistence-5.1 → persistence-5.4}/README.rst +0 -0
  24. {persistence-5.1 → persistence-5.4}/buildout.cfg +0 -0
  25. {persistence-5.1 → persistence-5.4}/include/ExtensionClass/ExtensionClass.h +0 -0
  26. {persistence-5.1 → persistence-5.4}/include/ExtensionClass/_compat.h +0 -0
  27. {persistence-5.1 → persistence-5.4}/include/persistent/_compat.h +0 -0
  28. {persistence-5.1 → persistence-5.4}/include/persistent/cPersistence.h +0 -0
  29. {persistence-5.1 → persistence-5.4}/include/persistent/ring.h +0 -0
  30. {persistence-5.1 → persistence-5.4}/setup.cfg +0 -0
  31. {persistence-5.1 → persistence-5.4}/src/Persistence/_Persistence.c +0 -0
  32. {persistence-5.1 → persistence-5.4}/src/Persistence/__init__.py +0 -0
  33. {persistence-5.1 → persistence-5.4}/src/Persistence/mapping.py +0 -0
  34. {persistence-5.1 → persistence-5.4}/src/Persistence/tests/__init__.py +0 -0
  35. {persistence-5.1 → persistence-5.4}/src/Persistence/tests/test_ec.py +0 -0
  36. {persistence-5.1 → persistence-5.4}/src/Persistence/tests/test_mapping.py +0 -0
  37. {persistence-5.1 → persistence-5.4}/src/Persistence.egg-info/dependency_links.txt +0 -0
  38. {persistence-5.1 → persistence-5.4}/src/Persistence.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/persistence*.whl
63
71
  # Bundle external shared libraries into the wheels
64
- for whl in wheelhouse/Persistence*.whl; do
72
+ for whl in wheelhouse/persistence*.whl; do
65
73
  auditwheel repair "$whl" -w /io/wheelhouse/
66
74
  done
@@ -3,25 +3,25 @@
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
14
  - repo: https://github.com/asottile/pyupgrade
15
- rev: v3.17.0
15
+ rev: v3.21.0
16
16
  hooks:
17
17
  - id: pyupgrade
18
- args: [--py38-plus]
18
+ args: [--py310-plus]
19
19
  - repo: https://github.com/isidentical/teyit
20
20
  rev: 0.4.3
21
21
  hooks:
22
22
  - id: teyit
23
23
  - repo: https://github.com/PyCQA/flake8
24
- rev: "7.1.1"
24
+ rev: "7.3.0"
25
25
  hooks:
26
26
  - id: flake8
27
27
  additional_dependencies:
@@ -1,5 +1,26 @@
1
- Changelog
2
- =========
1
+ Change log
2
+ ==========
3
+
4
+ 5.4 (2025-11-16)
5
+ ----------------
6
+
7
+ - Move all supported package metadata into ``pyproject.toml``.
8
+
9
+
10
+ 5.3 (2025-11-15)
11
+ ----------------
12
+
13
+ - Fix the GitHub workflow for publishing wheels, which failed for Linux/arm64.
14
+ (`#348 <https://github.com/zopefoundation/zope.interface/issues/348>`_)
15
+
16
+
17
+ 5.2 (2025-11-06)
18
+ ----------------
19
+
20
+ - Add support for Python 3.14.
21
+
22
+ - Drop support for Python 3.8, 3.9.
23
+
3
24
 
4
25
  5.1 (2024-09-17)
5
26
  ----------------
@@ -106,21 +127,25 @@ Changes since 2.13.2:
106
127
 
107
128
  - Add AppVeyor configuration to automate building Windows eggs.
108
129
 
130
+
109
131
  2.13.2 (2010-06-16)
110
132
  -------------------
111
133
 
112
134
  - LP #587760: Handle tp_basicsize correctly.
113
135
 
136
+
114
137
  2.13.1 (2010-04-30)
115
138
  -------------------
116
139
 
117
140
  - Removed undeclared testing dependency on zope.testing.
118
141
 
142
+
119
143
  2.13.0 (2010-02-23)
120
144
  -------------------
121
145
 
122
146
  - Update to include ExtensionClass 2.13.0.
123
147
 
148
+
124
149
  2.12.0 (2010-02-14)
125
150
  -------------------
126
151
 
@@ -131,6 +156,7 @@ Changes since 2.13.2:
131
156
 
132
157
  - Updated package metadata and remove old build artifacts.
133
158
 
159
+
134
160
  2.11.1 (2009-02-19)
135
161
  -------------------
136
162
 
@@ -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,43 @@
1
+ Metadata-Version: 2.4
2
+ Name: Persistence
3
+ Version: 5.4
4
+ Summary: Persistent ExtensionClass
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: Issues, https://github.com/zopefoundation/Persistence/issues
9
+ Project-URL: Source, https://github.com/zopefoundation/Persistence
10
+ Project-URL: Changelog, https://github.com/zopefoundation/Persistence/blob/master/CHANGES.rst
11
+ Classifier: Development Status :: 6 - Mature
12
+ Classifier: Environment :: Web Environment
13
+ Classifier: Framework :: Zope
14
+ Classifier: Framework :: Zope :: 5
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Classifier: Programming Language :: Python :: Implementation :: CPython
25
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
26
+ Requires-Python: >=3.10
27
+ Description-Content-Type: text/x-rst
28
+ License-File: LICENSE.txt
29
+ Requires-Dist: ExtensionClass
30
+ Requires-Dist: persistent
31
+ Provides-Extra: test
32
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
33
+ Dynamic: license-file
34
+
35
+ Overview
36
+ ========
37
+
38
+ This package provides a variant of the persistent base class that's an
39
+ ExtensionClass_. Unless you need ExtensionClass_ semantics, you probably want to
40
+ use ``persistent.Persistent`` from the persistent_ distribution (formerly in ZODB3).
41
+
42
+ .. _ExtensionClass : https://pypi.org/project/ExtensionClass/
43
+ .. _persistent : https://pypi.org/project/persistent/
@@ -0,0 +1,84 @@
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 = "Persistence"
14
+ version = "5.4"
15
+ description = "Persistent ExtensionClass"
16
+ readme = "README.rst"
17
+ requires-python = ">=3.10"
18
+ license = "ZPL-2.1"
19
+ authors = [
20
+ { name = "Zope Foundation and contributors", email = "zope-dev@zope.dev" },
21
+ ]
22
+ maintainers = [
23
+ { name = "Plone Foundation and contributors", email = "zope-dev@zope.dev" },
24
+ ]
25
+ classifiers = [
26
+ "Development Status :: 6 - Mature",
27
+ "Environment :: Web Environment",
28
+ "Framework :: Zope",
29
+ "Framework :: Zope :: 5",
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 = [
43
+ "ExtensionClass",
44
+ "persistent",
45
+ ]
46
+
47
+ [project.optional-dependencies]
48
+ test = ["zope.testrunner >= 6.4"]
49
+
50
+ [project.urls]
51
+ Issues = "https://github.com/zopefoundation/Persistence/issues"
52
+ Source = "https://github.com/zopefoundation/Persistence"
53
+ Changelog = "https://github.com/zopefoundation/Persistence/blob/master/CHANGES.rst"
54
+
55
+ [tool.coverage.run]
56
+ branch = true
57
+ source = ["Persistence"]
58
+ relative_files = true
59
+
60
+ [tool.coverage.report]
61
+ fail_under = 97
62
+ precision = 2
63
+ ignore_errors = true
64
+ show_missing = true
65
+ exclude_lines = [
66
+ "pragma: no cover",
67
+ "pragma: nocover",
68
+ "except ImportError:",
69
+ "raise NotImplementedError",
70
+ "if __name__ == '__main__':",
71
+ "self.fail",
72
+ "raise AssertionError",
73
+ "raise unittest.Skip",
74
+ ]
75
+
76
+ [tool.coverage.html]
77
+ directory = "parts/htmlcov"
78
+
79
+ [tool.coverage.paths]
80
+ source = [
81
+ "src/",
82
+ ".tox/*/lib/python*/site-packages/",
83
+ ".tox/pypy*/site-packages/",
84
+ ]
@@ -0,0 +1,21 @@
1
+ import os
2
+ import platform
3
+
4
+ from setuptools import Extension
5
+ from setuptools import setup
6
+
7
+
8
+ # PyPy won't build the extension
9
+ py_impl = getattr(platform, 'python_implementation', lambda: None)
10
+ is_pypy = py_impl() == 'PyPy'
11
+ if is_pypy:
12
+ ext_modules = []
13
+ else:
14
+ ext_modules = [
15
+ Extension("Persistence._Persistence",
16
+ [os.path.join('src', 'Persistence', '_Persistence.c')],
17
+ include_dirs=['include', 'src']),
18
+ ]
19
+
20
+
21
+ setup(ext_modules=ext_modules)
@@ -70,7 +70,6 @@ class P(Persistent):
70
70
 
71
71
 
72
72
  class H1(Persistent):
73
-
74
73
  def __init__(self):
75
74
  self.n = 0
76
75
 
@@ -80,7 +79,6 @@ class H1(Persistent):
80
79
 
81
80
 
82
81
  class H2(Persistent):
83
-
84
82
  def __init__(self):
85
83
  self.n = 0
86
84
 
@@ -95,7 +93,6 @@ class H2(Persistent):
95
93
 
96
94
 
97
95
  class PersistenceTest(unittest.TestCase):
98
-
99
96
  def setUp(self):
100
97
  self.jar = Jar()
101
98
 
@@ -163,12 +160,13 @@ class PersistenceTest(unittest.TestCase):
163
160
  self.assertEqual(obj._p_changed, None)
164
161
 
165
162
  def testSerial(self):
166
- noserial = b'\000' * 8
163
+ noserial = b"\000" * 8
167
164
  obj = P()
168
165
  self.assertEqual(obj._p_serial, noserial)
169
166
 
170
167
  def set(val):
171
168
  obj._p_serial = val
169
+
172
170
  self.assertRaises(ValueError, set, 1)
173
171
  self.assertRaises(ValueError, set, "0123")
174
172
  self.assertRaises(ValueError, set, "012345678")
@@ -235,11 +233,12 @@ class PersistenceTest(unittest.TestCase):
235
233
  def test_compilation(self):
236
234
  self.assertEqual(CAPI, not (IS_PYPY or IS_PURE))
237
235
  try:
238
- import persistent.cPersistence # noqa: F401 unused, needed for Py3
236
+ import persistent.cPersistence # noqa: F401 needed for CPython
239
237
 
240
238
  from Persistence import _Persistence
239
+
241
240
  cPersistent = _Persistence.Persistent
242
- except ImportError:
241
+ except ImportError: # ModuleNotFoundError is wrong here
243
242
  cPersistent = None # PyPy never has a C module.
244
243
  if CAPI: # pragma: no cover
245
244
  self.assertEqual(Persistent, cPersistent)
@@ -0,0 +1,43 @@
1
+ Metadata-Version: 2.4
2
+ Name: Persistence
3
+ Version: 5.4
4
+ Summary: Persistent ExtensionClass
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: Issues, https://github.com/zopefoundation/Persistence/issues
9
+ Project-URL: Source, https://github.com/zopefoundation/Persistence
10
+ Project-URL: Changelog, https://github.com/zopefoundation/Persistence/blob/master/CHANGES.rst
11
+ Classifier: Development Status :: 6 - Mature
12
+ Classifier: Environment :: Web Environment
13
+ Classifier: Framework :: Zope
14
+ Classifier: Framework :: Zope :: 5
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Classifier: Programming Language :: Python :: Implementation :: CPython
25
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
26
+ Requires-Python: >=3.10
27
+ Description-Content-Type: text/x-rst
28
+ License-File: LICENSE.txt
29
+ Requires-Dist: ExtensionClass
30
+ Requires-Dist: persistent
31
+ Provides-Extra: test
32
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
33
+ Dynamic: license-file
34
+
35
+ Overview
36
+ ========
37
+
38
+ This package provides a variant of the persistent base class that's an
39
+ ExtensionClass_. Unless you need ExtensionClass_ semantics, you probably want to
40
+ use ``persistent.Persistent`` from the persistent_ distribution (formerly in ZODB3).
41
+
42
+ .. _ExtensionClass : https://pypi.org/project/ExtensionClass/
43
+ .. _persistent : https://pypi.org/project/persistent/
@@ -23,7 +23,6 @@ src/Persistence/mapping.py
23
23
  src/Persistence.egg-info/PKG-INFO
24
24
  src/Persistence.egg-info/SOURCES.txt
25
25
  src/Persistence.egg-info/dependency_links.txt
26
- src/Persistence.egg-info/not-zip-safe
27
26
  src/Persistence.egg-info/requires.txt
28
27
  src/Persistence.egg-info/top_level.txt
29
28
  src/Persistence/tests/__init__.py
@@ -0,0 +1,5 @@
1
+ ExtensionClass
2
+ persistent
3
+
4
+ [test]
5
+ zope.testrunner>=6.4
@@ -3,19 +3,21 @@
3
3
  [tox]
4
4
  minversion = 4.0
5
5
  envlist =
6
+ release-check
6
7
  lint
7
- py38,py38-pure
8
- py39,py39-pure
9
8
  py310,py310-pure
10
9
  py311,py311-pure
11
10
  py312,py312-pure
12
11
  py313,py313-pure
12
+ py314,py314-pure
13
+ py315,py315-pure
13
14
  pypy3
14
15
  coverage
15
16
 
16
17
  [testenv]
18
+ pip_pre = py315: true
17
19
  deps =
18
- setuptools <74
20
+ setuptools >= 78.1.1,< 81
19
21
  wheel
20
22
  setenv =
21
23
  pure: PURE_PYTHON=1
@@ -52,7 +54,8 @@ description = ensure that the distribution is ready to release
52
54
  basepython = python3
53
55
  skip_install = true
54
56
  deps =
55
- setuptools <74
57
+ setuptools
58
+ wheel
56
59
  twine
57
60
  build
58
61
  check-manifest
@@ -61,7 +64,7 @@ deps =
61
64
  commands_pre =
62
65
  commands =
63
66
  check-manifest
64
- check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
67
+ check-python-versions --only pyproject.toml,setup.py,tox.ini,.github/workflows/tests.yml
65
68
  python -m build --sdist --no-isolation
66
69
  twine check dist/*
67
70
 
persistence-5.1/PKG-INFO DELETED
@@ -1,180 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: Persistence
3
- Version: 5.1
4
- Summary: Persistent ExtensionClass
5
- Home-page: https://github.com/zopefoundation/Persistence
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.org
8
- License: ZPL 2.1
9
- Classifier: Development Status :: 6 - Mature
10
- Classifier: Environment :: Web Environment
11
- Classifier: Framework :: Zope
12
- Classifier: Framework :: Zope :: 4
13
- Classifier: Framework :: Zope :: 5
14
- Classifier: License :: OSI Approved :: Zope Public License
15
- Classifier: Operating System :: OS Independent
16
- Classifier: Programming Language :: Python
17
- Classifier: Programming Language :: Python :: 3
18
- Classifier: Programming Language :: Python :: 3.8
19
- Classifier: Programming Language :: Python :: 3.9
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 :: Implementation :: CPython
25
- Classifier: Programming Language :: Python :: Implementation :: PyPy
26
- Requires-Python: >=3.8
27
- License-File: LICENSE.txt
28
- Requires-Dist: ExtensionClass>=4.6
29
- Requires-Dist: persistent>=4.1.1
30
- Provides-Extra: test
31
- Requires-Dist: zope.testrunner; extra == "test"
32
-
33
- Overview
34
- ========
35
-
36
- This package provides a variant of the persistent base class that's an
37
- ExtensionClass_. Unless you need ExtensionClass_ semantics, you probably want to
38
- use ``persistent.Persistent`` from the persistent_ distribution (formerly in ZODB3).
39
-
40
- .. _ExtensionClass : https://pypi.org/project/ExtensionClass/
41
- .. _persistent : https://pypi.org/project/persistent/
42
-
43
-
44
- Changelog
45
- =========
46
-
47
- 5.1 (2024-09-17)
48
- ----------------
49
-
50
- - Add final support for Python 3.13.
51
-
52
-
53
- 5.0 (2024-05-30)
54
- ----------------
55
-
56
- - Drop support for Python 3.7.
57
-
58
- - Add preliminary support for Python 3.13 as of 3.13a3.
59
-
60
- - Build Windows wheels on GHA.
61
-
62
-
63
- 4.1 (2023-10-05)
64
- ----------------
65
-
66
- - Add support for Python 3.12.
67
-
68
-
69
- 4.0.post1 (2023-03-24)
70
- ----------------------
71
-
72
- - Add missing ``python_requires`` in ``setup.py``.
73
-
74
-
75
- 4.0 (2023-03-24)
76
- ----------------
77
-
78
- - Build Linux binary wheels for Python 3.11.
79
-
80
- - Drop support for Python 2.7, 3.5, 3.6.
81
-
82
- - Add preliminary support for Python 3.12a5.
83
-
84
-
85
- 3.6 (2022-11-17)
86
- ----------------
87
-
88
- - Add support for building arm64 wheels on macOS.
89
-
90
-
91
- 3.5 (2022-11-03)
92
- ----------------
93
-
94
- - Add support for final Python 3.11 release.
95
-
96
-
97
- 3.4 (2022-10-11)
98
- ----------------
99
-
100
- - Add support for Python 3.11 as of (3.11.0rc2).
101
-
102
- - Disable unsafe math optimizations in C code.
103
- (`#55 <https://github.com/zopefoundation/ExtensionClass/pull/55>`_)
104
-
105
-
106
- 3.3 (2022-03-10)
107
- ----------------
108
-
109
- - Add support for Python 3.11 as of (3.11.0a5).
110
-
111
-
112
- 3.2 (2022-03-02)
113
- ----------------
114
-
115
- - Add support for Python 3.10.
116
-
117
-
118
- 3.1 (2021-07-23)
119
- ----------------
120
-
121
- - Create wheels for Linux (2010, 2014 and aarch64) and MacOS.
122
-
123
- - Add support for Python 3.9.
124
-
125
- - On CPython no longer omit compiling the C code when ``PURE_PYTHON`` is set.
126
- Just evaluate it at runtime.
127
- (`#27 <https://github.com/zopefoundation/Persistence/issues/27>`_)
128
-
129
-
130
- 3.0 (2019-05-08)
131
- ----------------
132
-
133
- Changes since 2.13.2:
134
-
135
- - Add support for Python 3.5, 3.6, 3.7 and 3.8a3.
136
-
137
- - Drop support for Python 2.6.
138
-
139
- - Make tests compatible with `persistent >= 4.2.3`.
140
-
141
- - Fix for compilers that only support C89 syntax (e.g. on Windows).
142
-
143
- - Ensure our dependencies match our expectations about C extensions.
144
- (`#4 <https://github.com/zopefoundation/Persistence/issues/4>`_)
145
-
146
- - Update ExtensionClass and persistent headers.
147
-
148
- - Fix isinstance/issubclass for the Python version of PersistentMapping.
149
-
150
- - Add AppVeyor configuration to automate building Windows eggs.
151
-
152
- 2.13.2 (2010-06-16)
153
- -------------------
154
-
155
- - LP #587760: Handle tp_basicsize correctly.
156
-
157
- 2.13.1 (2010-04-30)
158
- -------------------
159
-
160
- - Removed undeclared testing dependency on zope.testing.
161
-
162
- 2.13.0 (2010-02-23)
163
- -------------------
164
-
165
- - Update to include ExtensionClass 2.13.0.
166
-
167
- 2.12.0 (2010-02-14)
168
- -------------------
169
-
170
- - Added support for method cache in Persistence. Patch contributed by
171
- Yoshinori K. Okuji. See https://bugs.launchpad.net/zope2/+bug/486193.
172
-
173
- - Updated C includes to ExtensionClass 2.12.0.
174
-
175
- - Updated package metadata and remove old build artifacts.
176
-
177
- 2.11.1 (2009-02-19)
178
- -------------------
179
-
180
- - First egg release.
@@ -1,25 +0,0 @@
1
- #
2
- # Generated from:
3
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
4
-
5
- [build-system]
6
- requires = ["setuptools<74"]
7
- build-backend = "setuptools.build_meta"
8
-
9
- [tool.coverage.run]
10
- branch = true
11
- source = ["Persistence"]
12
- relative_files = true
13
-
14
- [tool.coverage.report]
15
- fail_under = 97
16
- precision = 2
17
- ignore_errors = true
18
- show_missing = true
19
- exclude_lines = ["pragma: no cover", "pragma: nocover", "except ImportError:", "raise NotImplementedError", "if __name__ == '__main__':", "self.fail", "raise AssertionError", "raise unittest.Skip"]
20
-
21
- [tool.coverage.html]
22
- directory = "parts/htmlcov"
23
-
24
- [tool.coverage.paths]
25
- source = ["src/", ".tox/*/lib/python*/site-packages/", ".tox/pypy*/site-packages/"]
persistence-5.1/setup.py DELETED
@@ -1,67 +0,0 @@
1
- import os
2
- import platform
3
-
4
- from setuptools import Extension
5
- from setuptools import find_packages
6
- from setuptools import setup
7
-
8
-
9
- README = open('README.rst').read()
10
- CHANGES = open('CHANGES.rst').read()
11
-
12
- # PyPy won't build the extension
13
- py_impl = getattr(platform, 'python_implementation', lambda: None)
14
- is_pypy = py_impl() == 'PyPy'
15
- if is_pypy:
16
- ext_modules = []
17
- else:
18
- ext_modules = [
19
- Extension("Persistence._Persistence",
20
- [os.path.join('src', 'Persistence', '_Persistence.c')],
21
- include_dirs=['include', 'src']),
22
- ]
23
-
24
- version = '5.1'
25
-
26
- setup(
27
- name='Persistence',
28
- version=version,
29
- url='https://github.com/zopefoundation/Persistence',
30
- license='ZPL 2.1',
31
- description='Persistent ExtensionClass',
32
- author='Zope Foundation and Contributors',
33
- author_email='zope-dev@zope.org',
34
- long_description='\n\n'.join([README, CHANGES]),
35
- packages=find_packages('src'),
36
- package_dir={'': 'src'},
37
- classifiers=[
38
- "Development Status :: 6 - Mature",
39
- "Environment :: Web Environment",
40
- "Framework :: Zope",
41
- "Framework :: Zope :: 4",
42
- "Framework :: Zope :: 5",
43
- "License :: OSI Approved :: Zope Public License",
44
- "Operating System :: OS Independent",
45
- "Programming Language :: Python",
46
- "Programming Language :: Python :: 3",
47
- "Programming Language :: Python :: 3.8",
48
- "Programming Language :: Python :: 3.9",
49
- "Programming Language :: Python :: 3.10",
50
- "Programming Language :: Python :: 3.11",
51
- "Programming Language :: Python :: 3.12",
52
- "Programming Language :: Python :: 3.13",
53
- "Programming Language :: Python :: Implementation :: CPython",
54
- "Programming Language :: Python :: Implementation :: PyPy",
55
- ],
56
- ext_modules=ext_modules,
57
- python_requires='>=3.8',
58
- install_requires=[
59
- 'ExtensionClass >= 4.6',
60
- 'persistent >= 4.1.1',
61
- ],
62
- extras_require={
63
- 'test': ['zope.testrunner'],
64
- },
65
- include_package_data=True,
66
- zip_safe=False,
67
- )
@@ -1,180 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: Persistence
3
- Version: 5.1
4
- Summary: Persistent ExtensionClass
5
- Home-page: https://github.com/zopefoundation/Persistence
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.org
8
- License: ZPL 2.1
9
- Classifier: Development Status :: 6 - Mature
10
- Classifier: Environment :: Web Environment
11
- Classifier: Framework :: Zope
12
- Classifier: Framework :: Zope :: 4
13
- Classifier: Framework :: Zope :: 5
14
- Classifier: License :: OSI Approved :: Zope Public License
15
- Classifier: Operating System :: OS Independent
16
- Classifier: Programming Language :: Python
17
- Classifier: Programming Language :: Python :: 3
18
- Classifier: Programming Language :: Python :: 3.8
19
- Classifier: Programming Language :: Python :: 3.9
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 :: Implementation :: CPython
25
- Classifier: Programming Language :: Python :: Implementation :: PyPy
26
- Requires-Python: >=3.8
27
- License-File: LICENSE.txt
28
- Requires-Dist: ExtensionClass>=4.6
29
- Requires-Dist: persistent>=4.1.1
30
- Provides-Extra: test
31
- Requires-Dist: zope.testrunner; extra == "test"
32
-
33
- Overview
34
- ========
35
-
36
- This package provides a variant of the persistent base class that's an
37
- ExtensionClass_. Unless you need ExtensionClass_ semantics, you probably want to
38
- use ``persistent.Persistent`` from the persistent_ distribution (formerly in ZODB3).
39
-
40
- .. _ExtensionClass : https://pypi.org/project/ExtensionClass/
41
- .. _persistent : https://pypi.org/project/persistent/
42
-
43
-
44
- Changelog
45
- =========
46
-
47
- 5.1 (2024-09-17)
48
- ----------------
49
-
50
- - Add final support for Python 3.13.
51
-
52
-
53
- 5.0 (2024-05-30)
54
- ----------------
55
-
56
- - Drop support for Python 3.7.
57
-
58
- - Add preliminary support for Python 3.13 as of 3.13a3.
59
-
60
- - Build Windows wheels on GHA.
61
-
62
-
63
- 4.1 (2023-10-05)
64
- ----------------
65
-
66
- - Add support for Python 3.12.
67
-
68
-
69
- 4.0.post1 (2023-03-24)
70
- ----------------------
71
-
72
- - Add missing ``python_requires`` in ``setup.py``.
73
-
74
-
75
- 4.0 (2023-03-24)
76
- ----------------
77
-
78
- - Build Linux binary wheels for Python 3.11.
79
-
80
- - Drop support for Python 2.7, 3.5, 3.6.
81
-
82
- - Add preliminary support for Python 3.12a5.
83
-
84
-
85
- 3.6 (2022-11-17)
86
- ----------------
87
-
88
- - Add support for building arm64 wheels on macOS.
89
-
90
-
91
- 3.5 (2022-11-03)
92
- ----------------
93
-
94
- - Add support for final Python 3.11 release.
95
-
96
-
97
- 3.4 (2022-10-11)
98
- ----------------
99
-
100
- - Add support for Python 3.11 as of (3.11.0rc2).
101
-
102
- - Disable unsafe math optimizations in C code.
103
- (`#55 <https://github.com/zopefoundation/ExtensionClass/pull/55>`_)
104
-
105
-
106
- 3.3 (2022-03-10)
107
- ----------------
108
-
109
- - Add support for Python 3.11 as of (3.11.0a5).
110
-
111
-
112
- 3.2 (2022-03-02)
113
- ----------------
114
-
115
- - Add support for Python 3.10.
116
-
117
-
118
- 3.1 (2021-07-23)
119
- ----------------
120
-
121
- - Create wheels for Linux (2010, 2014 and aarch64) and MacOS.
122
-
123
- - Add support for Python 3.9.
124
-
125
- - On CPython no longer omit compiling the C code when ``PURE_PYTHON`` is set.
126
- Just evaluate it at runtime.
127
- (`#27 <https://github.com/zopefoundation/Persistence/issues/27>`_)
128
-
129
-
130
- 3.0 (2019-05-08)
131
- ----------------
132
-
133
- Changes since 2.13.2:
134
-
135
- - Add support for Python 3.5, 3.6, 3.7 and 3.8a3.
136
-
137
- - Drop support for Python 2.6.
138
-
139
- - Make tests compatible with `persistent >= 4.2.3`.
140
-
141
- - Fix for compilers that only support C89 syntax (e.g. on Windows).
142
-
143
- - Ensure our dependencies match our expectations about C extensions.
144
- (`#4 <https://github.com/zopefoundation/Persistence/issues/4>`_)
145
-
146
- - Update ExtensionClass and persistent headers.
147
-
148
- - Fix isinstance/issubclass for the Python version of PersistentMapping.
149
-
150
- - Add AppVeyor configuration to automate building Windows eggs.
151
-
152
- 2.13.2 (2010-06-16)
153
- -------------------
154
-
155
- - LP #587760: Handle tp_basicsize correctly.
156
-
157
- 2.13.1 (2010-04-30)
158
- -------------------
159
-
160
- - Removed undeclared testing dependency on zope.testing.
161
-
162
- 2.13.0 (2010-02-23)
163
- -------------------
164
-
165
- - Update to include ExtensionClass 2.13.0.
166
-
167
- 2.12.0 (2010-02-14)
168
- -------------------
169
-
170
- - Added support for method cache in Persistence. Patch contributed by
171
- Yoshinori K. Okuji. See https://bugs.launchpad.net/zope2/+bug/486193.
172
-
173
- - Updated C includes to ExtensionClass 2.12.0.
174
-
175
- - Updated package metadata and remove old build artifacts.
176
-
177
- 2.11.1 (2009-02-19)
178
- -------------------
179
-
180
- - First egg release.
@@ -1,5 +0,0 @@
1
- ExtensionClass>=4.6
2
- persistent>=4.1.1
3
-
4
- [test]
5
- zope.testrunner
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes