zope.keyreference 6.0__tar.gz → 7.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 (38) hide show
  1. zope_keyreference-7.0/.pre-commit-config.yaml +28 -0
  2. zope_keyreference-7.0/.readthedocs.yaml +25 -0
  3. {zope.keyreference-6.0 → zope_keyreference-7.0}/CHANGES.rst +14 -0
  4. {zope.keyreference-6.0 → zope_keyreference-7.0}/CONTRIBUTING.md +1 -1
  5. {zope.keyreference-6.0 → zope_keyreference-7.0}/MANIFEST.in +2 -0
  6. {zope.keyreference-6.0 → zope_keyreference-7.0}/PKG-INFO +46 -7
  7. {zope.keyreference-6.0 → zope_keyreference-7.0}/docs/conf.py +32 -30
  8. zope.keyreference-6.0/doc-requirements.txt → zope_keyreference-7.0/docs/requirements.txt +1 -3
  9. zope_keyreference-7.0/pyproject.toml +33 -0
  10. {zope.keyreference-6.0 → zope_keyreference-7.0}/setup.cfg +1 -4
  11. {zope.keyreference-6.0 → zope_keyreference-7.0}/setup.py +6 -11
  12. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope/keyreference/persistent.py +1 -1
  13. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope.keyreference.egg-info/PKG-INFO +46 -7
  14. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope.keyreference.egg-info/SOURCES.txt +4 -3
  15. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope.keyreference.egg-info/requires.txt +2 -2
  16. {zope.keyreference-6.0 → zope_keyreference-7.0}/tox.ini +32 -36
  17. zope_keyreference-7.0/version.txt +1 -0
  18. zope.keyreference-6.0/src/zope/__init__.py +0 -1
  19. zope.keyreference-6.0/src/zope.keyreference.egg-info/namespace_packages.txt +0 -1
  20. zope.keyreference-6.0/version.txt +0 -1
  21. {zope.keyreference-6.0 → zope_keyreference-7.0}/COPYRIGHT.txt +0 -0
  22. {zope.keyreference-6.0 → zope_keyreference-7.0}/LICENSE.txt +0 -0
  23. {zope.keyreference-6.0 → zope_keyreference-7.0}/README.rst +0 -0
  24. {zope.keyreference-6.0 → zope_keyreference-7.0}/buildout.cfg +0 -0
  25. {zope.keyreference-6.0 → zope_keyreference-7.0}/docs/Makefile +0 -0
  26. {zope.keyreference-6.0 → zope_keyreference-7.0}/docs/changelog.rst +0 -0
  27. {zope.keyreference-6.0 → zope_keyreference-7.0}/docs/index.rst +0 -0
  28. {zope.keyreference-6.0 → zope_keyreference-7.0}/docs/persistent.rst +0 -0
  29. {zope.keyreference-6.0 → zope_keyreference-7.0}/docs/reference.rst +0 -0
  30. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope/keyreference/__init__.py +0 -0
  31. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope/keyreference/configure.zcml +0 -0
  32. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope/keyreference/interfaces.py +0 -0
  33. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope/keyreference/persistent.txt +0 -0
  34. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope/keyreference/testing.py +0 -0
  35. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope/keyreference/tests.py +0 -0
  36. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope.keyreference.egg-info/dependency_links.txt +0 -0
  37. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope.keyreference.egg-info/not-zip-safe +0 -0
  38. {zope.keyreference-6.0 → zope_keyreference-7.0}/src/zope.keyreference.egg-info/top_level.txt +0 -0
@@ -0,0 +1,28 @@
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
@@ -0,0 +1,25 @@
1
+ # Generated from:
2
+ # https://github.com/zopefoundation/meta/tree/master/config/pure-python
3
+ # Read the Docs configuration file
4
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
5
+
6
+ # Required
7
+ version: 2
8
+
9
+ # Set the version of Python and other tools you might need
10
+ build:
11
+ os: ubuntu-22.04
12
+ tools:
13
+ python: "3.11"
14
+
15
+ # Build documentation in the docs/ directory with Sphinx
16
+ sphinx:
17
+ configuration: docs/conf.py
18
+
19
+ # We recommend specifying your dependencies to enable reproducible builds:
20
+ # https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
21
+ python:
22
+ install:
23
+ - requirements: docs/requirements.txt
24
+ - method: pip
25
+ path: .
@@ -2,6 +2,20 @@
2
2
  Changes
3
3
  =========
4
4
 
5
+ 7.0 (2025-09-12)
6
+ ================
7
+
8
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
9
+
10
+
11
+ 6.1 (2025-02-14)
12
+ ================
13
+
14
+ - Add support for Python 3.12, 3.13.
15
+
16
+ - Drop support for Python 3.7, 3.8.
17
+
18
+
5
19
  6.0 (2023-04-25)
6
20
  ================
7
21
 
@@ -1,7 +1,7 @@
1
1
  <!--
2
2
  Generated from:
3
3
  https://github.com/zopefoundation/meta/tree/master/config/pure-python
4
- -->
4
+ -->
5
5
  # Contributing to zopefoundation projects
6
6
 
7
7
  The projects under the zopefoundation GitHub organization are open source and
@@ -5,6 +5,7 @@ include *.rst
5
5
  include *.txt
6
6
  include buildout.cfg
7
7
  include tox.ini
8
+ include .pre-commit-config.yaml
8
9
 
9
10
  recursive-include docs *.py
10
11
  recursive-include docs *.rst
@@ -12,6 +13,7 @@ recursive-include docs *.txt
12
13
  recursive-include docs Makefile
13
14
 
14
15
  recursive-include src *.py
16
+ include *.yaml
15
17
  recursive-include doc *.py
16
18
  recursive-include doc *.rst
17
19
  recursive-include doc Makefile
@@ -1,11 +1,11 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: zope.keyreference
3
- Version: 6.0
3
+ Version: 7.0
4
4
  Summary: Key References
5
5
  Home-page: https://github.com/zopefoundation/zope.keyreference
6
6
  Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.org
8
- License: ZPL 2.1
7
+ Author-email: zope-dev@zope.dev
8
+ License: ZPL-2.1
9
9
  Project-URL: Documentation, https://zopekeyreference.readthedocs.io/
10
10
  Keywords: zope3 key reference persistent
11
11
  Classifier: Development Status :: 5 - Production/Stable
@@ -14,20 +14,45 @@ Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: Zope Public License
15
15
  Classifier: Programming Language :: Python
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.7
18
- Classifier: Programming Language :: Python :: 3.8
19
17
  Classifier: Programming Language :: Python :: 3.9
20
18
  Classifier: Programming Language :: Python :: 3.10
21
19
  Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Programming Language :: Python :: Implementation :: CPython
23
23
  Classifier: Programming Language :: Python :: Implementation :: PyPy
24
24
  Classifier: Natural Language :: English
25
25
  Classifier: Operating System :: OS Independent
26
26
  Classifier: Topic :: Internet :: WWW/HTTP
27
27
  Classifier: Framework :: Zope :: 3
28
+ Requires-Python: >=3.9
29
+ License-File: LICENSE.txt
30
+ Requires-Dist: setuptools
31
+ Requires-Dist: ZODB
32
+ Requires-Dist: zope.component
33
+ Requires-Dist: zope.i18nmessageid
34
+ Requires-Dist: zope.interface
35
+ Requires-Dist: zope.schema
28
36
  Provides-Extra: test
37
+ Requires-Dist: zope.testing; extra == "test"
38
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
29
39
  Provides-Extra: docs
30
- License-File: LICENSE.txt
40
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
41
+ Requires-Dist: Sphinx; extra == "docs"
42
+ 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
50
+ Dynamic: license-file
51
+ Dynamic: project-url
52
+ Dynamic: provides-extra
53
+ Dynamic: requires-dist
54
+ Dynamic: requires-python
55
+ Dynamic: summary
31
56
 
32
57
  ===================
33
58
  zope.keyreference
@@ -62,6 +87,20 @@ Documentation can be found at https://zopekeyreference.readthedocs.io
62
87
  Changes
63
88
  =========
64
89
 
90
+ 7.0 (2025-09-12)
91
+ ================
92
+
93
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
94
+
95
+
96
+ 6.1 (2025-02-14)
97
+ ================
98
+
99
+ - Add support for Python 3.12, 3.13.
100
+
101
+ - Drop support for Python 3.7, 3.8.
102
+
103
+
65
104
  6.0 (2023-04-25)
66
105
  ================
67
106
 
@@ -1,4 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
1
  #
3
2
  # zope.keyreference documentation build configuration file, created by
4
3
  # sphinx-quickstart on Tue Sep 13 15:00:43 2016.
@@ -44,7 +43,7 @@ templates_path = ['_templates']
44
43
  # You can specify multiple suffix as a list of string:
45
44
  #
46
45
  # source_suffix = ['.rst', '.md']
47
- source_suffix = '.rst'
46
+ source_suffix = {'.rst': 'restructuredtext'}
48
47
 
49
48
  # The encoding of source files.
50
49
  #
@@ -54,9 +53,9 @@ source_suffix = '.rst'
54
53
  master_doc = 'index'
55
54
 
56
55
  # General information about the project.
57
- project = u'zope.keyreference'
58
- copyright = u'2016, Zope Community'
59
- author = u'Zope Community'
56
+ project = 'zope.keyreference'
57
+ copyright = '2016-2025, Zope Community'
58
+ author = 'Zope Community'
60
59
 
61
60
  # The version info for the project you're documenting, acts as replacement for
62
61
  # |version| and |release|, also used in various other places throughout the
@@ -74,7 +73,7 @@ version = '.'.join(release.split('.')[:2])
74
73
  #
75
74
  # This is also used if you do content translation via gettext catalogs.
76
75
  # Usually you set "language" from the command line for these cases.
77
- language = None
76
+ language = 'en'
78
77
 
79
78
  # There are two options for replacing |today|: either, you set today to some
80
79
  # non-false value, then it is used:
@@ -153,15 +152,15 @@ html_theme = 'sphinx_rtd_theme'
153
152
  # html_logo = None
154
153
 
155
154
  # The name of an image file (relative to this directory) to use as a favicon of
156
- # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
157
- # pixels large.
155
+ # the docs. This file should be a Windows icon file (.ico) being 16x16 or
156
+ # 32x32 pixels large.
158
157
  #
159
158
  # html_favicon = None
160
159
 
161
160
  # Add any paths that contain custom static files (such as style sheets) here,
162
161
  # relative to this directory. They are copied after the builtin static files,
163
162
  # so a file named "default.css" will overwrite the builtin "default.css".
164
- html_static_path = ['_static']
163
+ # html_static_path = ['_static']
165
164
 
166
165
  # Add any extra paths that contain custom files (such as robots.txt or
167
166
  # .htaccess) here, relative to this directory. These files are copied
@@ -246,29 +245,29 @@ htmlhelp_basename = 'zopekeyreferencedoc'
246
245
  # -- Options for LaTeX output ---------------------------------------------
247
246
 
248
247
  latex_elements = {
249
- # The paper size ('letterpaper' or 'a4paper').
250
- #
251
- # 'papersize': 'letterpaper',
248
+ # The paper size ('letterpaper' or 'a4paper').
249
+ #
250
+ # 'papersize': 'letterpaper',
252
251
 
253
- # The font size ('10pt', '11pt' or '12pt').
254
- #
255
- # 'pointsize': '10pt',
252
+ # The font size ('10pt', '11pt' or '12pt').
253
+ #
254
+ # 'pointsize': '10pt',
256
255
 
257
- # Additional stuff for the LaTeX preamble.
258
- #
259
- # 'preamble': '',
256
+ # Additional stuff for the LaTeX preamble.
257
+ #
258
+ # 'preamble': '',
260
259
 
261
- # Latex figure (float) alignment
262
- #
263
- # 'figure_align': 'htbp',
260
+ # Latex figure (float) alignment
261
+ #
262
+ # 'figure_align': 'htbp',
264
263
  }
265
264
 
266
265
  # Grouping the document tree into LaTeX files. List of tuples
267
266
  # (source start file, target name, title,
268
267
  # author, documentclass [howto, manual, or own class]).
269
268
  latex_documents = [
270
- (master_doc, 'zopekeyreference.tex', u'zope.keyreference Documentation',
271
- u'Zope Community', 'manual'),
269
+ (master_doc, 'zopekeyreference.tex', 'zope.keyreference Documentation',
270
+ 'Zope Community', 'manual'),
272
271
  ]
273
272
 
274
273
  # The name of an image file (relative to this directory) to place at the top of
@@ -309,7 +308,7 @@ latex_documents = [
309
308
  # One entry per manual page. List of tuples
310
309
  # (source start file, name, description, authors, manual section).
311
310
  man_pages = [
312
- (master_doc, 'zopekeyreference', u'zope.keyreference Documentation',
311
+ (master_doc, 'zopekeyreference', 'zope.keyreference Documentation',
313
312
  [author], 1)
314
313
  ]
315
314
 
@@ -324,7 +323,7 @@ man_pages = [
324
323
  # (source start file, target name, title, author,
325
324
  # dir menu entry, description, category)
326
325
  texinfo_documents = [
327
- (master_doc, 'zopekeyreference', u'zope.keyreference Documentation',
326
+ (master_doc, 'zopekeyreference', 'zope.keyreference Documentation',
328
327
  author, 'zopekeyreference', 'One line description of project.',
329
328
  'Miscellaneous'),
330
329
  ]
@@ -348,13 +347,16 @@ texinfo_documents = [
348
347
 
349
348
  # Example configuration for intersphinx: refer to the Python standard library.
350
349
  intersphinx_mapping = {
351
- 'https://docs.python.org/': None,
350
+ 'python': ('https://docs.python.org/', None),
352
351
  }
353
352
 
354
- extlinks = {'issue': ('https://github.com/zopefoundation/zope.keyreference/issues/%s',
355
- 'issue #'),
356
- 'pr': ('https://github.com/zopefoundation/zope.keyreference/pull/%s',
357
- 'pull request #')}
353
+ extlinks = {
354
+ 'issue': (
355
+ 'https://github.com/zopefoundation/zope.keyreference/issues/%s',
356
+ 'issue #'),
357
+ 'pr': (
358
+ 'https://github.com/zopefoundation/zope.keyreference/pull/%s',
359
+ 'pull request #')}
358
360
 
359
361
  autodoc_default_flags = ['members', 'show-inheritance']
360
362
  autoclass_content = 'both'
@@ -1,5 +1,3 @@
1
- pip>=9.0.0
2
- sphinx>=1.4
3
- setuptools>=23.0.0
1
+ Sphinx
4
2
  repoze.sphinx.autointerface
5
3
  sphinx_rtd_theme
@@ -0,0 +1,33 @@
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,6 +1,3 @@
1
- [bdist_wheel]
2
- universal = 0
3
-
4
1
  [flake8]
5
2
  doctests = 1
6
3
 
@@ -14,7 +11,7 @@ ignore =
14
11
  force_single_line = True
15
12
  combine_as_imports = True
16
13
  sections = FUTURE,STDLIB,THIRDPARTY,ZOPE,FIRSTPARTY,LOCALFOLDER
17
- known_third_party = six, docutils, pkg_resources
14
+ known_third_party = docutils, pkg_resources, pytz
18
15
  known_zope =
19
16
  known_first_party =
20
17
  default_section = ZOPE
@@ -20,7 +20,6 @@
20
20
  """
21
21
  import os
22
22
 
23
- from setuptools import find_packages
24
23
  from setuptools import setup
25
24
 
26
25
 
@@ -31,14 +30,14 @@ def read(*rnames):
31
30
 
32
31
  TESTS_REQUIRE = [
33
32
  'zope.testing',
34
- 'zope.testrunner',
33
+ 'zope.testrunner >= 6.4',
35
34
  ]
36
35
 
37
36
  setup(
38
37
  name="zope.keyreference",
39
38
  version=read("version.txt").strip(),
40
39
  author="Zope Foundation and Contributors",
41
- author_email="zope-dev@zope.org",
40
+ author_email="zope-dev@zope.dev",
42
41
  description="Key References",
43
42
  long_description=(
44
43
  read("README.rst")
@@ -53,11 +52,11 @@ setup(
53
52
  "License :: OSI Approved :: Zope Public License",
54
53
  "Programming Language :: Python",
55
54
  "Programming Language :: Python :: 3",
56
- "Programming Language :: Python :: 3.7",
57
- "Programming Language :: Python :: 3.8",
58
55
  "Programming Language :: Python :: 3.9",
59
56
  "Programming Language :: Python :: 3.10",
60
57
  "Programming Language :: Python :: 3.11",
58
+ "Programming Language :: Python :: 3.12",
59
+ "Programming Language :: Python :: 3.13",
61
60
  "Programming Language :: Python :: Implementation :: CPython",
62
61
  "Programming Language :: Python :: Implementation :: PyPy",
63
62
  "Natural Language :: English",
@@ -69,10 +68,8 @@ setup(
69
68
  project_urls={
70
69
  "Documentation": "https://zopekeyreference.readthedocs.io/",
71
70
  },
72
- license="ZPL 2.1",
73
- packages=find_packages("src"),
74
- package_dir={"": "src"},
75
- namespace_packages=["zope"],
71
+ license="ZPL-2.1",
72
+ python_requires='>=3.9',
76
73
  extras_require={
77
74
  "test": TESTS_REQUIRE,
78
75
  "docs": {
@@ -89,8 +86,6 @@ setup(
89
86
  "zope.interface",
90
87
  "zope.schema",
91
88
  ],
92
- tests_require=TESTS_REQUIRE,
93
- test_suite="zope.keyreference.tests.test_suite",
94
89
  include_package_data=True,
95
90
  zip_safe=False,
96
91
  )
@@ -143,7 +143,7 @@ def connectionOfPersistent(ob):
143
143
  # them unpickleable.
144
144
  try:
145
145
  import zope.app.keyreference
146
- except ImportError:
146
+ except ModuleNotFoundError:
147
147
  import sys
148
148
  from types import ModuleType as module
149
149
  z_a_k = module('zope.app.keyreference')
@@ -1,11 +1,11 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: zope.keyreference
3
- Version: 6.0
3
+ Version: 7.0
4
4
  Summary: Key References
5
5
  Home-page: https://github.com/zopefoundation/zope.keyreference
6
6
  Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.org
8
- License: ZPL 2.1
7
+ Author-email: zope-dev@zope.dev
8
+ License: ZPL-2.1
9
9
  Project-URL: Documentation, https://zopekeyreference.readthedocs.io/
10
10
  Keywords: zope3 key reference persistent
11
11
  Classifier: Development Status :: 5 - Production/Stable
@@ -14,20 +14,45 @@ Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: Zope Public License
15
15
  Classifier: Programming Language :: Python
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.7
18
- Classifier: Programming Language :: Python :: 3.8
19
17
  Classifier: Programming Language :: Python :: 3.9
20
18
  Classifier: Programming Language :: Python :: 3.10
21
19
  Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Programming Language :: Python :: Implementation :: CPython
23
23
  Classifier: Programming Language :: Python :: Implementation :: PyPy
24
24
  Classifier: Natural Language :: English
25
25
  Classifier: Operating System :: OS Independent
26
26
  Classifier: Topic :: Internet :: WWW/HTTP
27
27
  Classifier: Framework :: Zope :: 3
28
+ Requires-Python: >=3.9
29
+ License-File: LICENSE.txt
30
+ Requires-Dist: setuptools
31
+ Requires-Dist: ZODB
32
+ Requires-Dist: zope.component
33
+ Requires-Dist: zope.i18nmessageid
34
+ Requires-Dist: zope.interface
35
+ Requires-Dist: zope.schema
28
36
  Provides-Extra: test
37
+ Requires-Dist: zope.testing; extra == "test"
38
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
29
39
  Provides-Extra: docs
30
- License-File: LICENSE.txt
40
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
41
+ Requires-Dist: Sphinx; extra == "docs"
42
+ 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
50
+ Dynamic: license-file
51
+ Dynamic: project-url
52
+ Dynamic: provides-extra
53
+ Dynamic: requires-dist
54
+ Dynamic: requires-python
55
+ Dynamic: summary
31
56
 
32
57
  ===================
33
58
  zope.keyreference
@@ -62,6 +87,20 @@ Documentation can be found at https://zopekeyreference.readthedocs.io
62
87
  Changes
63
88
  =========
64
89
 
90
+ 7.0 (2025-09-12)
91
+ ================
92
+
93
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
94
+
95
+
96
+ 6.1 (2025-02-14)
97
+ ================
98
+
99
+ - Add support for Python 3.12, 3.13.
100
+
101
+ - Drop support for Python 3.7, 3.8.
102
+
103
+
65
104
  6.0 (2023-04-25)
66
105
  ================
67
106
 
@@ -1,3 +1,5 @@
1
+ .pre-commit-config.yaml
2
+ .readthedocs.yaml
1
3
  CHANGES.rst
2
4
  CONTRIBUTING.md
3
5
  COPYRIGHT.txt
@@ -5,7 +7,7 @@ LICENSE.txt
5
7
  MANIFEST.in
6
8
  README.rst
7
9
  buildout.cfg
8
- doc-requirements.txt
10
+ pyproject.toml
9
11
  setup.cfg
10
12
  setup.py
11
13
  tox.ini
@@ -16,11 +18,10 @@ docs/conf.py
16
18
  docs/index.rst
17
19
  docs/persistent.rst
18
20
  docs/reference.rst
19
- src/zope/__init__.py
21
+ docs/requirements.txt
20
22
  src/zope.keyreference.egg-info/PKG-INFO
21
23
  src/zope.keyreference.egg-info/SOURCES.txt
22
24
  src/zope.keyreference.egg-info/dependency_links.txt
23
- src/zope.keyreference.egg-info/namespace_packages.txt
24
25
  src/zope.keyreference.egg-info/not-zip-safe
25
26
  src/zope.keyreference.egg-info/requires.txt
26
27
  src/zope.keyreference.egg-info/top_level.txt
@@ -6,10 +6,10 @@ zope.interface
6
6
  zope.schema
7
7
 
8
8
  [docs]
9
- repoze.sphinx.autointerface
10
9
  sphinx_rtd_theme
11
10
  Sphinx
11
+ repoze.sphinx.autointerface
12
12
 
13
13
  [test]
14
14
  zope.testing
15
- zope.testrunner
15
+ zope.testrunner>=6.4
@@ -3,47 +3,61 @@
3
3
  [tox]
4
4
  minversion = 3.18
5
5
  envlist =
6
+ release-check
6
7
  lint
7
- py37
8
- py38
9
8
  py39
10
9
  py310
11
10
  py311
11
+ py312
12
+ py313
12
13
  pypy3
13
14
  docs
14
15
  coverage
15
16
 
16
17
  [testenv]
17
18
  usedevelop = true
19
+ package = wheel
20
+ wheel_build_env = .pkg
18
21
  deps =
22
+ setuptools == 78.1.1
19
23
  commands =
20
24
  zope-testrunner --test-path=src {posargs:-vc}
21
25
  extras =
22
26
  test
23
27
 
24
- [testenv:lint]
28
+ [testenv:setuptools-latest]
29
+ basepython = python3
30
+ deps =
31
+ git+https://github.com/pypa/setuptools.git\#egg=setuptools
32
+
33
+ [testenv:release-check]
34
+ description = ensure that the distribution is ready to release
25
35
  basepython = python3
26
36
  skip_install = true
27
- commands =
28
- isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
29
- flake8 src setup.py
30
- check-manifest
31
- check-python-versions
32
37
  deps =
38
+ setuptools == 78.1.1
39
+ wheel
40
+ twine
41
+ build
33
42
  check-manifest
34
- check-python-versions >= 0.19.1
43
+ check-python-versions >= 0.20.0
35
44
  wheel
36
- flake8
37
- isort
45
+ commands_pre =
46
+ commands =
47
+ check-manifest
48
+ check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
49
+ python -m build --sdist --no-isolation
50
+ twine check dist/*
38
51
 
39
- [testenv:isort-apply]
52
+ [testenv:lint]
53
+ description = This env runs all linters configured in .pre-commit-config.yaml
40
54
  basepython = python3
41
55
  skip_install = true
42
- commands_pre =
43
56
  deps =
44
- isort
57
+ pre-commit
58
+ commands_pre =
45
59
  commands =
46
- isort {toxinidir}/src {toxinidir}/setup.py []
60
+ pre-commit run --all-files --show-diff-on-failure
47
61
 
48
62
  [testenv:docs]
49
63
  basepython = python3
@@ -59,27 +73,9 @@ basepython = python3
59
73
  allowlist_externals =
60
74
  mkdir
61
75
  deps =
62
- coverage
76
+ coverage[toml]
63
77
  commands =
64
78
  mkdir -p {toxinidir}/parts/htmlcov
65
79
  coverage run -m zope.testrunner --test-path=src {posargs:-vc}
66
- coverage html --ignore-errors
67
- coverage report --ignore-errors --show-missing --fail-under=100
68
-
69
- [coverage:run]
70
- branch = True
71
- source = zope.keyreference
72
-
73
- [coverage:report]
74
- precision = 2
75
- exclude_lines =
76
- pragma: no cover
77
- pragma: nocover
78
- except ImportError:
79
- raise NotImplementedError
80
- if __name__ == '__main__':
81
- self.fail
82
- raise AssertionError
83
-
84
- [coverage:html]
85
- directory = parts/htmlcov
80
+ coverage html
81
+ coverage report
@@ -0,0 +1 @@
1
+ 7.0
@@ -1 +0,0 @@
1
- __import__('pkg_resources').declare_namespace(__name__)
@@ -1 +0,0 @@
1
- 6.0