zope.keyreference 7.0__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 (39) hide show
  1. zope_keyreference-7.1/.pre-commit-config.yaml +42 -0
  2. {zope_keyreference-7.0 → zope_keyreference-7.1}/.readthedocs.yaml +2 -2
  3. {zope_keyreference-7.0 → zope_keyreference-7.1}/CHANGES.rst +13 -0
  4. {zope_keyreference-7.0 → zope_keyreference-7.1}/CONTRIBUTING.md +2 -2
  5. zope_keyreference-7.1/COPYRIGHT.txt +1 -0
  6. {zope_keyreference-7.0 → zope_keyreference-7.1}/MANIFEST.in +2 -2
  7. {zope_keyreference-7.0 → zope_keyreference-7.1}/PKG-INFO +24 -25
  8. {zope_keyreference-7.0 → zope_keyreference-7.1}/docs/conf.py +14 -53
  9. zope_keyreference-7.1/pyproject.toml +94 -0
  10. zope_keyreference-7.1/setup.py +25 -0
  11. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope.keyreference.egg-info/PKG-INFO +24 -25
  12. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope.keyreference.egg-info/SOURCES.txt +0 -2
  13. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope.keyreference.egg-info/requires.txt +1 -2
  14. {zope_keyreference-7.0 → zope_keyreference-7.1}/tox.ini +8 -8
  15. zope_keyreference-7.0/.pre-commit-config.yaml +0 -28
  16. zope_keyreference-7.0/COPYRIGHT.txt +0 -1
  17. zope_keyreference-7.0/pyproject.toml +0 -33
  18. zope_keyreference-7.0/setup.py +0 -91
  19. zope_keyreference-7.0/src/zope.keyreference.egg-info/not-zip-safe +0 -1
  20. zope_keyreference-7.0/version.txt +0 -1
  21. {zope_keyreference-7.0 → zope_keyreference-7.1}/LICENSE.txt +0 -0
  22. {zope_keyreference-7.0 → zope_keyreference-7.1}/README.rst +0 -0
  23. {zope_keyreference-7.0 → zope_keyreference-7.1}/buildout.cfg +0 -0
  24. {zope_keyreference-7.0 → zope_keyreference-7.1}/docs/Makefile +0 -0
  25. {zope_keyreference-7.0 → zope_keyreference-7.1}/docs/changelog.rst +0 -0
  26. {zope_keyreference-7.0 → zope_keyreference-7.1}/docs/index.rst +0 -0
  27. {zope_keyreference-7.0 → zope_keyreference-7.1}/docs/persistent.rst +0 -0
  28. {zope_keyreference-7.0 → zope_keyreference-7.1}/docs/reference.rst +0 -0
  29. {zope_keyreference-7.0 → zope_keyreference-7.1}/docs/requirements.txt +0 -0
  30. {zope_keyreference-7.0 → zope_keyreference-7.1}/setup.cfg +0 -0
  31. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope/keyreference/__init__.py +0 -0
  32. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope/keyreference/configure.zcml +0 -0
  33. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope/keyreference/interfaces.py +0 -0
  34. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope/keyreference/persistent.py +0 -0
  35. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope/keyreference/persistent.txt +0 -0
  36. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope/keyreference/testing.py +0 -0
  37. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope/keyreference/tests.py +0 -0
  38. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope.keyreference.egg-info/dependency_links.txt +0 -0
  39. {zope_keyreference-7.0 → zope_keyreference-7.1}/src/zope.keyreference.egg-info/top_level.txt +0 -0
@@ -0,0 +1,42 @@
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
+ minimum_pre_commit_version: '3.6'
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
14
+ - repo: https://github.com/pycqa/isort
15
+ rev: "8.0.1"
16
+ hooks:
17
+ - id: isort
18
+ - repo: https://github.com/hhatto/autopep8
19
+ rev: "v2.3.2"
20
+ hooks:
21
+ - id: autopep8
22
+ args: [--in-place, --aggressive, --aggressive]
23
+ - repo: https://github.com/asottile/pyupgrade
24
+ rev: v3.21.2
25
+ hooks:
26
+ - id: pyupgrade
27
+ args: [--py311-plus]
28
+ - repo: https://github.com/isidentical/teyit
29
+ rev: 0.4.3
30
+ hooks:
31
+ - id: teyit
32
+ language_version: python3.13
33
+ - repo: https://github.com/PyCQA/flake8
34
+ rev: "7.3.0"
35
+ hooks:
36
+ - id: flake8
37
+ additional_dependencies:
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,5 +1,5 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
3
  # Read the Docs configuration file
4
4
  # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
5
5
 
@@ -2,6 +2,19 @@
2
2
  Changes
3
3
  =========
4
4
 
5
+ 7.1 (2026-11-23)
6
+ ================
7
+
8
+ - Move package metadata from setup.py to pyproject.toml.
9
+
10
+ - Replaced ``version.txt`` fossil with ``importlib.metadata`` lookup
11
+ (in ``docs/conf.py``) / static value (``setup.py``).
12
+
13
+ - Add support for Python 3.14, 3.15.
14
+
15
+ - Drop support for Python 3.10, 3.9.
16
+
17
+
5
18
  7.0 (2025-09-12)
6
19
  ================
7
20
 
@@ -1,6 +1,6 @@
1
1
  <!--
2
- Generated from:
3
- https://github.com/zopefoundation/meta/tree/master/config/pure-python
2
+ Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3
+ https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
4
4
  -->
5
5
  # Contributing to zopefoundation projects
6
6
 
@@ -0,0 +1 @@
1
+ Zope Foundation and Contributors
@@ -1,5 +1,5 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
3
  include *.md
4
4
  include *.rst
5
5
  include *.txt
@@ -1,33 +1,32 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zope.keyreference
3
- Version: 7.0
3
+ Version: 7.1
4
4
  Summary: Key References
5
- Home-page: https://github.com/zopefoundation/zope.keyreference
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL-2.1
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
9
8
  Project-URL: Documentation, https://zopekeyreference.readthedocs.io/
10
- Keywords: zope3 key reference persistent
9
+ Project-URL: Source, https://github.com/zopefoundation/zope.keyreference
10
+ Keywords: zope3,key,reference,persistent
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Environment :: Web Environment
13
13
  Classifier: Intended Audience :: Developers
14
- Classifier: License :: OSI Approved :: Zope Public License
15
14
  Classifier: Programming Language :: Python
16
15
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.9
18
- Classifier: Programming Language :: Python :: 3.10
19
16
  Classifier: Programming Language :: Python :: 3.11
20
17
  Classifier: Programming Language :: Python :: 3.12
21
18
  Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Programming Language :: Python :: 3.15
22
21
  Classifier: Programming Language :: Python :: Implementation :: CPython
23
22
  Classifier: Programming Language :: Python :: Implementation :: PyPy
24
23
  Classifier: Natural Language :: English
25
24
  Classifier: Operating System :: OS Independent
26
25
  Classifier: Topic :: Internet :: WWW/HTTP
27
26
  Classifier: Framework :: Zope :: 3
28
- Requires-Python: >=3.9
27
+ Requires-Python: >=3.11
28
+ Description-Content-Type: text/x-rst
29
29
  License-File: LICENSE.txt
30
- Requires-Dist: setuptools
31
30
  Requires-Dist: ZODB
32
31
  Requires-Dist: zope.component
33
32
  Requires-Dist: zope.i18nmessageid
@@ -37,22 +36,10 @@ Provides-Extra: test
37
36
  Requires-Dist: zope.testing; extra == "test"
38
37
  Requires-Dist: zope.testrunner>=6.4; extra == "test"
39
38
  Provides-Extra: docs
40
- Requires-Dist: sphinx_rtd_theme; extra == "docs"
41
39
  Requires-Dist: Sphinx; extra == "docs"
42
40
  Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
43
- Dynamic: author
44
- Dynamic: author-email
45
- Dynamic: classifier
46
- Dynamic: description
47
- Dynamic: home-page
48
- Dynamic: keywords
49
- Dynamic: license
41
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
50
42
  Dynamic: license-file
51
- Dynamic: project-url
52
- Dynamic: provides-extra
53
- Dynamic: requires-dist
54
- Dynamic: requires-python
55
- Dynamic: summary
56
43
 
57
44
  ===================
58
45
  zope.keyreference
@@ -82,11 +69,23 @@ Object references that support stable comparison and hashes.
82
69
 
83
70
  Documentation can be found at https://zopekeyreference.readthedocs.io
84
71
 
85
-
86
72
  =========
87
73
  Changes
88
74
  =========
89
75
 
76
+ 7.1 (2026-11-23)
77
+ ================
78
+
79
+ - Move package metadata from setup.py to pyproject.toml.
80
+
81
+ - Replaced ``version.txt`` fossil with ``importlib.metadata`` lookup
82
+ (in ``docs/conf.py``) / static value (``setup.py``).
83
+
84
+ - Add support for Python 3.14, 3.15.
85
+
86
+ - Drop support for Python 3.10, 3.9.
87
+
88
+
90
89
  7.0 (2025-09-12)
91
90
  ================
92
91
 
@@ -11,13 +11,18 @@
11
11
  # All configuration values have a default; values that are commented out
12
12
  # serve to show the default.
13
13
 
14
+ import datetime
15
+ import importlib.metadata
16
+ import os
17
+ import sys
18
+
19
+
14
20
  # If extensions (or modules to document with autodoc) are in another directory,
15
21
  # add these directories to sys.path here. If the directory is relative to the
16
22
  # documentation root, use os.path.abspath to make it absolute, like shown here.
17
23
  #
18
- # import os
19
- # import sys
20
- # sys.path.insert(0, os.path.abspath('.'))
24
+ sys.path.append(os.path.abspath('../src'))
25
+ release = importlib.metadata.version('zope.keyreference')
21
26
 
22
27
  # -- General configuration ------------------------------------------------
23
28
 
@@ -54,19 +59,17 @@ master_doc = 'index'
54
59
 
55
60
  # General information about the project.
56
61
  project = 'zope.keyreference'
57
- copyright = '2016-2025, Zope Community'
58
- author = 'Zope Community'
62
+ copyright = (
63
+ f'2010-{datetime.date.today().year}, Zope Foundation and Contributors')
59
64
 
60
65
  # The version info for the project you're documenting, acts as replacement for
61
66
  # |version| and |release|, also used in various other places throughout the
62
67
  # built documents.
63
68
  #
64
- # The full version, including alpha/beta/rc tags.
65
- with open('../version.txt') as f:
66
- release = f.read().strip()
67
-
68
69
  # The short X.Y version.
69
- version = '.'.join(release.split('.')[:2])
70
+ version = '%s.%s' % tuple(map(int, release.split('.')[:2]))
71
+ # The full version, including alpha/beta/rc tags.
72
+ # release is already set above
70
73
 
71
74
  # The language for content autogenerated by Sphinx. Refer to documentation
72
75
  # for a list of supported languages.
@@ -267,7 +270,7 @@ latex_elements = {
267
270
  # author, documentclass [howto, manual, or own class]).
268
271
  latex_documents = [
269
272
  (master_doc, 'zopekeyreference.tex', 'zope.keyreference Documentation',
270
- 'Zope Community', 'manual'),
273
+ 'Zope Foundation and Contributors', 'manual'),
271
274
  ]
272
275
 
273
276
  # The name of an image file (relative to this directory) to place at the top of
@@ -303,48 +306,6 @@ latex_documents = [
303
306
  # latex_domain_indices = True
304
307
 
305
308
 
306
- # -- Options for manual page output ---------------------------------------
307
-
308
- # One entry per manual page. List of tuples
309
- # (source start file, name, description, authors, manual section).
310
- man_pages = [
311
- (master_doc, 'zopekeyreference', 'zope.keyreference Documentation',
312
- [author], 1)
313
- ]
314
-
315
- # If true, show URL addresses after external links.
316
- #
317
- # man_show_urls = False
318
-
319
-
320
- # -- Options for Texinfo output -------------------------------------------
321
-
322
- # Grouping the document tree into Texinfo files. List of tuples
323
- # (source start file, target name, title, author,
324
- # dir menu entry, description, category)
325
- texinfo_documents = [
326
- (master_doc, 'zopekeyreference', 'zope.keyreference Documentation',
327
- author, 'zopekeyreference', 'One line description of project.',
328
- 'Miscellaneous'),
329
- ]
330
-
331
- # Documents to append as an appendix to all manuals.
332
- #
333
- # texinfo_appendices = []
334
-
335
- # If false, no module index is generated.
336
- #
337
- # texinfo_domain_indices = True
338
-
339
- # How to display URL addresses: 'footnote', 'no', or 'inline'.
340
- #
341
- # texinfo_show_urls = 'footnote'
342
-
343
- # If true, do not generate a @detailmenu in the "Top" node's menu.
344
- #
345
- # texinfo_no_detailmenu = False
346
-
347
-
348
309
  # Example configuration for intersphinx: refer to the Python standard library.
349
310
  intersphinx_mapping = {
350
311
  'python': ('https://docs.python.org/', None),
@@ -0,0 +1,94 @@
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
+ [build-system]
4
+ requires = [
5
+ "setuptools >= 78.1.1,< 82",
6
+ "wheel",
7
+ ]
8
+ build-backend = "setuptools.build_meta"
9
+
10
+ [project]
11
+ name = "zope.keyreference"
12
+ version = "7.1"
13
+ description = "Key References"
14
+ license = "ZPL-2.1"
15
+ classifiers = [
16
+ "Development Status :: 5 - Production/Stable",
17
+ "Environment :: Web Environment",
18
+ "Intended Audience :: Developers",
19
+ "Programming Language :: Python",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14",
25
+ "Programming Language :: Python :: 3.15",
26
+ "Programming Language :: Python :: Implementation :: CPython",
27
+ "Programming Language :: Python :: Implementation :: PyPy",
28
+ "Natural Language :: English",
29
+ "Operating System :: OS Independent",
30
+ "Topic :: Internet :: WWW/HTTP",
31
+ "Framework :: Zope :: 3",
32
+ ]
33
+ dynamic = ["readme"]
34
+ requires-python = ">=3.11"
35
+ authors = [
36
+ {name = "Zope Foundation and contributors",email = "zope-dev@zope.dev"},
37
+ ]
38
+ maintainers = [
39
+ {name = "Plone Foundation and contributors",email = "zope-dev@zope.dev"},
40
+ ]
41
+ dependencies = [
42
+ "ZODB",
43
+ "zope.component",
44
+ "zope.i18nmessageid",
45
+ "zope.interface",
46
+ "zope.schema",
47
+ ]
48
+ keywords = ["zope3", "key", "reference", "persistent"]
49
+
50
+ [project.optional-dependencies]
51
+ test = [
52
+ "zope.testing",
53
+ "zope.testrunner >= 6.4",
54
+ ]
55
+ docs = [
56
+ "Sphinx",
57
+ "repoze.sphinx.autointerface",
58
+ "sphinx_rtd_theme",
59
+ ]
60
+
61
+ [project.urls]
62
+ Documentation = "https://zopekeyreference.readthedocs.io/"
63
+ Source = "https://github.com/zopefoundation/zope.keyreference"
64
+
65
+ [tool.coverage.run]
66
+ branch = true
67
+ source = ["zope.keyreference"]
68
+
69
+ [tool.coverage.report]
70
+ fail_under = 100
71
+ precision = 2
72
+ ignore_errors = true
73
+ show_missing = true
74
+ exclude_lines = [
75
+ "pragma: no cover",
76
+ "pragma: nocover",
77
+ "except ImportError:",
78
+ "raise NotImplementedError",
79
+ "if __name__ == '__main__':",
80
+ "self.fail",
81
+ "raise AssertionError",
82
+ "raise unittest.Skip",
83
+ ]
84
+
85
+ [tool.coverage.html]
86
+ directory = "parts/htmlcov"
87
+
88
+ [tool.setuptools.dynamic]
89
+ readme = {file = ["README.rst", "CHANGES.rst"]}
90
+
91
+ [tool.zest-releaser]
92
+ create-wheel = false
93
+ extra-message = ""
94
+ upload-pypi = false
@@ -0,0 +1,25 @@
1
+ ##############################################################################
2
+ #
3
+ # Copyright (c) 2006 Zope Foundation and Contributors.
4
+ # All Rights Reserved.
5
+ #
6
+ # This software is subject to the provisions of the Zope Public License,
7
+ # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
8
+ # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
9
+ # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10
+ # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
11
+ # FOR A PARTICULAR PURPOSE.
12
+ #
13
+ ##############################################################################
14
+ # This package is developed by the Zope Toolkit project, documented here:
15
+ # http://docs.zope.org/zopetoolkit
16
+ # When developing and releasing this package, please follow the documented
17
+ # Zope Toolkit policies as described by this documentation.
18
+ ##############################################################################
19
+ """Setup for zope.keyreference package
20
+ """
21
+ from setuptools import setup
22
+
23
+
24
+ # See pyproject.toml for package metadata
25
+ setup()
@@ -1,33 +1,32 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zope.keyreference
3
- Version: 7.0
3
+ Version: 7.1
4
4
  Summary: Key References
5
- Home-page: https://github.com/zopefoundation/zope.keyreference
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL-2.1
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
9
8
  Project-URL: Documentation, https://zopekeyreference.readthedocs.io/
10
- Keywords: zope3 key reference persistent
9
+ Project-URL: Source, https://github.com/zopefoundation/zope.keyreference
10
+ Keywords: zope3,key,reference,persistent
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Environment :: Web Environment
13
13
  Classifier: Intended Audience :: Developers
14
- Classifier: License :: OSI Approved :: Zope Public License
15
14
  Classifier: Programming Language :: Python
16
15
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.9
18
- Classifier: Programming Language :: Python :: 3.10
19
16
  Classifier: Programming Language :: Python :: 3.11
20
17
  Classifier: Programming Language :: Python :: 3.12
21
18
  Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Programming Language :: Python :: 3.15
22
21
  Classifier: Programming Language :: Python :: Implementation :: CPython
23
22
  Classifier: Programming Language :: Python :: Implementation :: PyPy
24
23
  Classifier: Natural Language :: English
25
24
  Classifier: Operating System :: OS Independent
26
25
  Classifier: Topic :: Internet :: WWW/HTTP
27
26
  Classifier: Framework :: Zope :: 3
28
- Requires-Python: >=3.9
27
+ Requires-Python: >=3.11
28
+ Description-Content-Type: text/x-rst
29
29
  License-File: LICENSE.txt
30
- Requires-Dist: setuptools
31
30
  Requires-Dist: ZODB
32
31
  Requires-Dist: zope.component
33
32
  Requires-Dist: zope.i18nmessageid
@@ -37,22 +36,10 @@ Provides-Extra: test
37
36
  Requires-Dist: zope.testing; extra == "test"
38
37
  Requires-Dist: zope.testrunner>=6.4; extra == "test"
39
38
  Provides-Extra: docs
40
- Requires-Dist: sphinx_rtd_theme; extra == "docs"
41
39
  Requires-Dist: Sphinx; extra == "docs"
42
40
  Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
43
- Dynamic: author
44
- Dynamic: author-email
45
- Dynamic: classifier
46
- Dynamic: description
47
- Dynamic: home-page
48
- Dynamic: keywords
49
- Dynamic: license
41
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
50
42
  Dynamic: license-file
51
- Dynamic: project-url
52
- Dynamic: provides-extra
53
- Dynamic: requires-dist
54
- Dynamic: requires-python
55
- Dynamic: summary
56
43
 
57
44
  ===================
58
45
  zope.keyreference
@@ -82,11 +69,23 @@ Object references that support stable comparison and hashes.
82
69
 
83
70
  Documentation can be found at https://zopekeyreference.readthedocs.io
84
71
 
85
-
86
72
  =========
87
73
  Changes
88
74
  =========
89
75
 
76
+ 7.1 (2026-11-23)
77
+ ================
78
+
79
+ - Move package metadata from setup.py to pyproject.toml.
80
+
81
+ - Replaced ``version.txt`` fossil with ``importlib.metadata`` lookup
82
+ (in ``docs/conf.py``) / static value (``setup.py``).
83
+
84
+ - Add support for Python 3.14, 3.15.
85
+
86
+ - Drop support for Python 3.10, 3.9.
87
+
88
+
90
89
  7.0 (2025-09-12)
91
90
  ================
92
91
 
@@ -11,7 +11,6 @@ pyproject.toml
11
11
  setup.cfg
12
12
  setup.py
13
13
  tox.ini
14
- version.txt
15
14
  docs/Makefile
16
15
  docs/changelog.rst
17
16
  docs/conf.py
@@ -22,7 +21,6 @@ docs/requirements.txt
22
21
  src/zope.keyreference.egg-info/PKG-INFO
23
22
  src/zope.keyreference.egg-info/SOURCES.txt
24
23
  src/zope.keyreference.egg-info/dependency_links.txt
25
- src/zope.keyreference.egg-info/not-zip-safe
26
24
  src/zope.keyreference.egg-info/requires.txt
27
25
  src/zope.keyreference.egg-info/top_level.txt
28
26
  src/zope/keyreference/__init__.py
@@ -1,4 +1,3 @@
1
- setuptools
2
1
  ZODB
3
2
  zope.component
4
3
  zope.i18nmessageid
@@ -6,9 +5,9 @@ zope.interface
6
5
  zope.schema
7
6
 
8
7
  [docs]
9
- sphinx_rtd_theme
10
8
  Sphinx
11
9
  repoze.sphinx.autointerface
10
+ sphinx_rtd_theme
12
11
 
13
12
  [test]
14
13
  zope.testing
@@ -1,15 +1,15 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
3
  [tox]
4
4
  minversion = 3.18
5
5
  envlist =
6
6
  release-check
7
7
  lint
8
- py39
9
- py310
10
8
  py311
11
9
  py312
12
10
  py313
11
+ py314
12
+ py315
13
13
  pypy3
14
14
  docs
15
15
  coverage
@@ -19,7 +19,7 @@ usedevelop = true
19
19
  package = wheel
20
20
  wheel_build_env = .pkg
21
21
  deps =
22
- setuptools == 78.1.1
22
+ setuptools >= 78.1.1,< 82
23
23
  commands =
24
24
  zope-testrunner --test-path=src {posargs:-vc}
25
25
  extras =
@@ -35,17 +35,17 @@ description = ensure that the distribution is ready to release
35
35
  basepython = python3
36
36
  skip_install = true
37
37
  deps =
38
- setuptools == 78.1.1
38
+ setuptools >= 78.1.1,< 82
39
39
  wheel
40
40
  twine
41
41
  build
42
42
  check-manifest
43
- check-python-versions >= 0.20.0
43
+ check-python-versions >= 0.24.2
44
44
  wheel
45
45
  commands_pre =
46
46
  commands =
47
47
  check-manifest
48
- check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
48
+ check-python-versions --only pyproject.toml,setup.py,tox.ini,.github/workflows/tests.yml
49
49
  python -m build --sdist --no-isolation
50
50
  twine check dist/*
51
51
 
@@ -1,28 +0,0 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
3
- minimum_pre_commit_version: '3.6'
4
- repos:
5
- - repo: https://github.com/pycqa/isort
6
- rev: "6.0.1"
7
- hooks:
8
- - id: isort
9
- - repo: https://github.com/hhatto/autopep8
10
- rev: "v2.3.2"
11
- hooks:
12
- - id: autopep8
13
- args: [--in-place, --aggressive, --aggressive]
14
- - repo: https://github.com/asottile/pyupgrade
15
- rev: v3.20.0
16
- hooks:
17
- - id: pyupgrade
18
- args: [--py39-plus]
19
- - repo: https://github.com/isidentical/teyit
20
- rev: 0.4.3
21
- hooks:
22
- - id: teyit
23
- - repo: https://github.com/PyCQA/flake8
24
- rev: "7.3.0"
25
- hooks:
26
- - id: flake8
27
- additional_dependencies:
28
- - flake8-debugger == 4.1.2
@@ -1 +0,0 @@
1
- Zope Foundation and Contributors
@@ -1,33 +0,0 @@
1
- #
2
- # Generated from:
3
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
4
-
5
- [build-system]
6
- requires = [
7
- "setuptools == 78.1.1",
8
- "wheel",
9
- ]
10
- build-backend = "setuptools.build_meta"
11
-
12
- [tool.coverage.run]
13
- branch = true
14
- source = ["zope.keyreference"]
15
-
16
- [tool.coverage.report]
17
- fail_under = 100
18
- precision = 2
19
- ignore_errors = true
20
- show_missing = true
21
- exclude_lines = [
22
- "pragma: no cover",
23
- "pragma: nocover",
24
- "except ImportError:",
25
- "raise NotImplementedError",
26
- "if __name__ == '__main__':",
27
- "self.fail",
28
- "raise AssertionError",
29
- "raise unittest.Skip",
30
- ]
31
-
32
- [tool.coverage.html]
33
- directory = "parts/htmlcov"
@@ -1,91 +0,0 @@
1
- ##############################################################################
2
- #
3
- # Copyright (c) 2006 Zope Foundation and Contributors.
4
- # All Rights Reserved.
5
- #
6
- # This software is subject to the provisions of the Zope Public License,
7
- # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
8
- # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
9
- # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10
- # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
11
- # FOR A PARTICULAR PURPOSE.
12
- #
13
- ##############################################################################
14
- # This package is developed by the Zope Toolkit project, documented here:
15
- # http://docs.zope.org/zopetoolkit
16
- # When developing and releasing this package, please follow the documented
17
- # Zope Toolkit policies as described by this documentation.
18
- ##############################################################################
19
- """Setup for zope.keyreference package
20
- """
21
- import os
22
-
23
- from setuptools import setup
24
-
25
-
26
- def read(*rnames):
27
- with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
28
- return f.read()
29
-
30
-
31
- TESTS_REQUIRE = [
32
- 'zope.testing',
33
- 'zope.testrunner >= 6.4',
34
- ]
35
-
36
- setup(
37
- name="zope.keyreference",
38
- version=read("version.txt").strip(),
39
- author="Zope Foundation and Contributors",
40
- author_email="zope-dev@zope.dev",
41
- description="Key References",
42
- long_description=(
43
- read("README.rst")
44
- + "\n\n"
45
- + read("CHANGES.rst")
46
- ),
47
- keywords="zope3 key reference persistent",
48
- classifiers=[
49
- "Development Status :: 5 - Production/Stable",
50
- "Environment :: Web Environment",
51
- "Intended Audience :: Developers",
52
- "License :: OSI Approved :: Zope Public License",
53
- "Programming Language :: Python",
54
- "Programming Language :: Python :: 3",
55
- "Programming Language :: Python :: 3.9",
56
- "Programming Language :: Python :: 3.10",
57
- "Programming Language :: Python :: 3.11",
58
- "Programming Language :: Python :: 3.12",
59
- "Programming Language :: Python :: 3.13",
60
- "Programming Language :: Python :: Implementation :: CPython",
61
- "Programming Language :: Python :: Implementation :: PyPy",
62
- "Natural Language :: English",
63
- "Operating System :: OS Independent",
64
- "Topic :: Internet :: WWW/HTTP",
65
- "Framework :: Zope :: 3",
66
- ],
67
- url="https://github.com/zopefoundation/zope.keyreference",
68
- project_urls={
69
- "Documentation": "https://zopekeyreference.readthedocs.io/",
70
- },
71
- license="ZPL-2.1",
72
- python_requires='>=3.9',
73
- extras_require={
74
- "test": TESTS_REQUIRE,
75
- "docs": {
76
- "Sphinx",
77
- "repoze.sphinx.autointerface",
78
- "sphinx_rtd_theme",
79
- }
80
- },
81
- install_requires=[
82
- "setuptools",
83
- "ZODB",
84
- "zope.component",
85
- "zope.i18nmessageid",
86
- "zope.interface",
87
- "zope.schema",
88
- ],
89
- include_package_data=True,
90
- zip_safe=False,
91
- )
@@ -1 +0,0 @@
1
- 7.0