Persistence 4.1__tar.gz → 5.0__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 (33) hide show
  1. {Persistence-4.1 → Persistence-5.0}/.coveragerc +1 -0
  2. {Persistence-4.1 → Persistence-5.0}/.manylinux-install.sh +14 -9
  3. {Persistence-4.1 → Persistence-5.0}/CHANGES.rst +10 -0
  4. {Persistence-4.1 → Persistence-5.0}/MANIFEST.in +0 -1
  5. {Persistence-4.1 → Persistence-5.0}/PKG-INFO +13 -3
  6. {Persistence-4.1 → Persistence-5.0}/setup.cfg +0 -3
  7. {Persistence-4.1 → Persistence-5.0}/setup.py +3 -3
  8. {Persistence-4.1 → Persistence-5.0}/src/Persistence.egg-info/PKG-INFO +13 -3
  9. {Persistence-4.1 → Persistence-5.0}/src/Persistence.egg-info/SOURCES.txt +0 -1
  10. {Persistence-4.1 → Persistence-5.0}/tox.ini +22 -9
  11. Persistence-4.1/appveyor.yml +0 -49
  12. {Persistence-4.1 → Persistence-5.0}/.manylinux.sh +0 -0
  13. {Persistence-4.1 → Persistence-5.0}/CONTRIBUTING.md +0 -0
  14. {Persistence-4.1 → Persistence-5.0}/COPYRIGHT.txt +0 -0
  15. {Persistence-4.1 → Persistence-5.0}/LICENSE.txt +0 -0
  16. {Persistence-4.1 → Persistence-5.0}/README.rst +0 -0
  17. {Persistence-4.1 → Persistence-5.0}/buildout.cfg +0 -0
  18. {Persistence-4.1 → Persistence-5.0}/include/ExtensionClass/ExtensionClass.h +0 -0
  19. {Persistence-4.1 → Persistence-5.0}/include/ExtensionClass/_compat.h +0 -0
  20. {Persistence-4.1 → Persistence-5.0}/include/persistent/_compat.h +0 -0
  21. {Persistence-4.1 → Persistence-5.0}/include/persistent/cPersistence.h +0 -0
  22. {Persistence-4.1 → Persistence-5.0}/include/persistent/ring.h +0 -0
  23. {Persistence-4.1 → Persistence-5.0}/src/Persistence/_Persistence.c +0 -0
  24. {Persistence-4.1 → Persistence-5.0}/src/Persistence/__init__.py +0 -0
  25. {Persistence-4.1 → Persistence-5.0}/src/Persistence/mapping.py +0 -0
  26. {Persistence-4.1 → Persistence-5.0}/src/Persistence/tests/__init__.py +0 -0
  27. {Persistence-4.1 → Persistence-5.0}/src/Persistence/tests/test_ec.py +0 -0
  28. {Persistence-4.1 → Persistence-5.0}/src/Persistence/tests/test_mapping.py +0 -0
  29. {Persistence-4.1 → Persistence-5.0}/src/Persistence/tests/test_persistent.py +0 -0
  30. {Persistence-4.1 → Persistence-5.0}/src/Persistence.egg-info/dependency_links.txt +0 -0
  31. {Persistence-4.1 → Persistence-5.0}/src/Persistence.egg-info/not-zip-safe +0 -0
  32. {Persistence-4.1 → Persistence-5.0}/src/Persistence.egg-info/requires.txt +0 -0
  33. {Persistence-4.1 → Persistence-5.0}/src/Persistence.egg-info/top_level.txt +0 -0
@@ -15,6 +15,7 @@ source =
15
15
  [report]
16
16
  show_missing = true
17
17
  precision = 2
18
+ ignore_errors = True
18
19
  exclude_lines =
19
20
  except ImportError:
20
21
  if __name__ == '__main__':
@@ -28,7 +28,7 @@ yum -y install libffi-devel
28
28
 
29
29
  tox_env_map() {
30
30
  case $1 in
31
- *"cp37"*) echo 'py37';;
31
+ *"cp313"*) echo 'py313';;
32
32
  *"cp38"*) echo 'py38';;
33
33
  *"cp39"*) echo 'py39';;
34
34
  *"cp310"*) echo 'py310';;
@@ -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}" == *"cp311"* ]] || \
45
- [[ "${PYBIN}" == *"cp312"* ]] || \
46
- [[ "${PYBIN}" == *"cp37"* ]] || \
47
- [[ "${PYBIN}" == *"cp38"* ]] || \
48
- [[ "${PYBIN}" == *"cp39"* ]] || \
49
- [[ "${PYBIN}" == *"cp310"* ]] ; then
50
- "${PYBIN}/pip" install -e /io/
51
- "${PYBIN}/pip" wheel /io/ -w wheelhouse/
44
+ [[ "${PYBIN}" == *"cp313/"* ]] || \
45
+ [[ "${PYBIN}" == *"cp311/"* ]] || \
46
+ [[ "${PYBIN}" == *"cp312/"* ]] || \
47
+ [[ "${PYBIN}" == *"cp38/"* ]] || \
48
+ [[ "${PYBIN}" == *"cp39/"* ]] || \
49
+ [[ "${PYBIN}" == *"cp310/"* ]] ; then
50
+ if [[ "${PYBIN}" == *"cp313/"* ]] ; 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
@@ -1,6 +1,16 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 5.0 (2024-05-30)
5
+ ----------------
6
+
7
+ - Drop support for Python 3.7.
8
+
9
+ - Add preliminary support for Python 3.13 as of 3.13a3.
10
+
11
+ - Build Windows wheels on GHA.
12
+
13
+
4
14
  4.1 (2023-10-05)
5
15
  ----------------
6
16
 
@@ -5,7 +5,6 @@ include *.rst
5
5
  include *.txt
6
6
  include buildout.cfg
7
7
  include tox.ini
8
- include appveyor.yml
9
8
  include .coveragerc
10
9
 
11
10
  recursive-include src *.py
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Persistence
3
- Version: 4.1
3
+ Version: 5.0
4
4
  Summary: Persistent ExtensionClass
5
5
  Home-page: https://github.com/zopefoundation/Persistence
6
6
  Author: Zope Foundation and Contributors
@@ -15,15 +15,15 @@ Classifier: License :: OSI Approved :: Zope Public License
15
15
  Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python
17
17
  Classifier: Programming Language :: Python :: 3
18
- Classifier: Programming Language :: Python :: 3.7
19
18
  Classifier: Programming Language :: Python :: 3.8
20
19
  Classifier: Programming Language :: Python :: 3.9
21
20
  Classifier: Programming Language :: Python :: 3.10
22
21
  Classifier: Programming Language :: Python :: 3.11
23
22
  Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
24
  Classifier: Programming Language :: Python :: Implementation :: CPython
25
25
  Classifier: Programming Language :: Python :: Implementation :: PyPy
26
- Requires-Python: >=3.7
26
+ Requires-Python: >=3.8
27
27
  License-File: LICENSE.txt
28
28
  Requires-Dist: ExtensionClass>=4.6
29
29
  Requires-Dist: persistent>=4.1.1
@@ -44,6 +44,16 @@ use ``persistent.Persistent`` from the persistent_ distribution (formerly in ZOD
44
44
  Changelog
45
45
  =========
46
46
 
47
+ 5.0 (2024-05-30)
48
+ ----------------
49
+
50
+ - Drop support for Python 3.7.
51
+
52
+ - Add preliminary support for Python 3.13 as of 3.13a3.
53
+
54
+ - Build Windows wheels on GHA.
55
+
56
+
47
57
  4.1 (2023-10-05)
48
58
  ----------------
49
59
 
@@ -1,6 +1,3 @@
1
- [bdist_wheel]
2
- universal = 0
3
-
4
1
  [zest.releaser]
5
2
  create-wheel = no
6
3
 
@@ -21,7 +21,7 @@ else:
21
21
  include_dirs=['include', 'src']),
22
22
  ]
23
23
 
24
- version = '4.1'
24
+ version = '5.0'
25
25
 
26
26
  setup(
27
27
  name='Persistence',
@@ -44,17 +44,17 @@ setup(
44
44
  "Operating System :: OS Independent",
45
45
  "Programming Language :: Python",
46
46
  "Programming Language :: Python :: 3",
47
- "Programming Language :: Python :: 3.7",
48
47
  "Programming Language :: Python :: 3.8",
49
48
  "Programming Language :: Python :: 3.9",
50
49
  "Programming Language :: Python :: 3.10",
51
50
  "Programming Language :: Python :: 3.11",
52
51
  "Programming Language :: Python :: 3.12",
52
+ "Programming Language :: Python :: 3.13",
53
53
  "Programming Language :: Python :: Implementation :: CPython",
54
54
  "Programming Language :: Python :: Implementation :: PyPy",
55
55
  ],
56
56
  ext_modules=ext_modules,
57
- python_requires='>=3.7',
57
+ python_requires='>=3.8',
58
58
  install_requires=[
59
59
  'ExtensionClass >= 4.6',
60
60
  'persistent >= 4.1.1',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Persistence
3
- Version: 4.1
3
+ Version: 5.0
4
4
  Summary: Persistent ExtensionClass
5
5
  Home-page: https://github.com/zopefoundation/Persistence
6
6
  Author: Zope Foundation and Contributors
@@ -15,15 +15,15 @@ Classifier: License :: OSI Approved :: Zope Public License
15
15
  Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python
17
17
  Classifier: Programming Language :: Python :: 3
18
- Classifier: Programming Language :: Python :: 3.7
19
18
  Classifier: Programming Language :: Python :: 3.8
20
19
  Classifier: Programming Language :: Python :: 3.9
21
20
  Classifier: Programming Language :: Python :: 3.10
22
21
  Classifier: Programming Language :: Python :: 3.11
23
22
  Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
24
  Classifier: Programming Language :: Python :: Implementation :: CPython
25
25
  Classifier: Programming Language :: Python :: Implementation :: PyPy
26
- Requires-Python: >=3.7
26
+ Requires-Python: >=3.8
27
27
  License-File: LICENSE.txt
28
28
  Requires-Dist: ExtensionClass>=4.6
29
29
  Requires-Dist: persistent>=4.1.1
@@ -44,6 +44,16 @@ use ``persistent.Persistent`` from the persistent_ distribution (formerly in ZOD
44
44
  Changelog
45
45
  =========
46
46
 
47
+ 5.0 (2024-05-30)
48
+ ----------------
49
+
50
+ - Drop support for Python 3.7.
51
+
52
+ - Add preliminary support for Python 3.13 as of 3.13a3.
53
+
54
+ - Build Windows wheels on GHA.
55
+
56
+
47
57
  4.1 (2023-10-05)
48
58
  ----------------
49
59
 
@@ -7,7 +7,6 @@ COPYRIGHT.txt
7
7
  LICENSE.txt
8
8
  MANIFEST.in
9
9
  README.rst
10
- appveyor.yml
11
10
  buildout.cfg
12
11
  setup.cfg
13
12
  setup.py
@@ -4,18 +4,20 @@
4
4
  minversion = 4.0
5
5
  envlist =
6
6
  lint
7
- py37,py37-pure
8
7
  py38,py38-pure
9
8
  py39,py39-pure
10
9
  py310,py310-pure
11
10
  py311,py311-pure
12
11
  py312,py312-pure
12
+ py313,py313-pure
13
13
  pypy3
14
14
  coverage
15
15
 
16
16
  [testenv]
17
17
  usedevelop = true
18
+ pip_pre = py313: true
18
19
  deps =
20
+ setuptools < 69
19
21
  wheel
20
22
  setenv =
21
23
  pure: PURE_PYTHON=1
@@ -42,21 +44,32 @@ commands =
42
44
  coverage run -m zope.testrunner --test-path=src {posargs:-vc}
43
45
  coverage html -i
44
46
  coverage report -i -m --fail-under=97
47
+ [testenv:release-check]
48
+ description = ensure that the distribution is ready to release
49
+ basepython = python3
50
+ skip_install = true
51
+ deps =
52
+ twine
53
+ build
54
+ check-manifest
55
+ check-python-versions >= 0.20.0
56
+ wheel
57
+ commands_pre =
58
+ commands =
59
+ check-manifest
60
+ check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
61
+ python -m build --sdist --no-isolation
62
+ twine check dist/*
45
63
 
46
64
  [testenv:lint]
47
65
  basepython = python3
48
66
  skip_install = true
67
+ deps =
68
+ isort
69
+ flake8
49
70
  commands =
50
71
  isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
51
72
  flake8 src setup.py
52
- check-manifest
53
- check-python-versions
54
- deps =
55
- check-manifest
56
- check-python-versions >= 0.19.1
57
- wheel
58
- flake8
59
- isort
60
73
 
61
74
  [testenv:isort-apply]
62
75
  basepython = python3
@@ -1,49 +0,0 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
3
- environment:
4
- # Currently the builds use @dataflake's Appveyor account. The PyPI token belongs
5
- # to zope.wheelbuilder, which is managed by @mgedmin and @dataflake.
6
- global:
7
- TWINE_USERNAME: __token__
8
- TWINE_PASSWORD:
9
- secure: vSlDBj79vziJOA5k3z16r1z/PWLKowwjFS0ckiPErAActoQ0c3xoDHVqPFi89JTlfNrVxrtdpuB+LwAhD+6sciqD7UuyWNUu7LwTxzRSVnWIDf6KSsTbm+9BOTe2+lCScOflzsfjmXisUfntHzM7daQZsVsgKQuvYFgCMHQ1RW4fCpdqcWVNw8Br7dnOJcmSapywGVe8I6vTqW0/F3LYwYy/Qiizwarc7OQNPpz2KfMkyupyY7TsvtxaY5W4g5IRDjBYEtHqFbbIGHmls4Xqhw==
10
-
11
- matrix:
12
- - python: 37-x64
13
- - python: 38-x64
14
- - python: 39-x64
15
- - python: 310-x64
16
- - python: 311-x64
17
- - python: 312-x64
18
-
19
- install:
20
- - "SET PYTHONVERSION=%PYTHON%"
21
- - "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"
22
- - ps: |
23
- $env:PYTHON = "C:\\Python${env:PYTHON}"
24
- if (-not (Test-Path $env:PYTHON)) {
25
- curl -o install_python.ps1 https://raw.githubusercontent.com/matthew-brett/multibuild/11a389d78892cf90addac8f69433d5e22bfa422a/install_python.ps1
26
- .\install_python.ps1
27
- }
28
- - ps: if (-not (Test-Path $env:PYTHON)) { throw "No $env:PYTHON" }
29
- - echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat"
30
- - python -m pip install -U pip
31
- - pip install -U setuptools wheel
32
- - pip install -U -e .[test]
33
-
34
- matrix:
35
- fast_finish: true
36
-
37
- build_script:
38
- - python -W ignore setup.py -q bdist_wheel
39
-
40
- test_script:
41
- - zope-testrunner --test-path=src
42
- artifacts:
43
- - path: 'dist\*.whl'
44
- name: wheel
45
-
46
- deploy_script:
47
- - ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { pip install twine; twine upload --skip-existing dist\*.whl }
48
-
49
- deploy: on
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes