zope.keyreference 6.0__tar.gz → 6.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 (38) hide show
  1. zope_keyreference-6.1/.pre-commit-config.yaml +28 -0
  2. zope_keyreference-6.1/.readthedocs.yaml +25 -0
  3. {zope.keyreference-6.0 → zope_keyreference-6.1}/CHANGES.rst +8 -0
  4. {zope.keyreference-6.0 → zope_keyreference-6.1}/CONTRIBUTING.md +1 -1
  5. {zope.keyreference-6.0 → zope_keyreference-6.1}/MANIFEST.in +2 -0
  6. {zope.keyreference-6.0 → zope_keyreference-6.1}/PKG-INFO +26 -6
  7. {zope.keyreference-6.0 → zope_keyreference-6.1}/docs/conf.py +32 -30
  8. zope.keyreference-6.0/doc-requirements.txt → zope_keyreference-6.1/docs/requirements.txt +1 -3
  9. zope_keyreference-6.1/pyproject.toml +21 -0
  10. {zope.keyreference-6.0 → zope_keyreference-6.1}/setup.cfg +1 -4
  11. {zope.keyreference-6.0 → zope_keyreference-6.1}/setup.py +5 -6
  12. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope/keyreference/persistent.py +1 -1
  13. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope.keyreference.egg-info/PKG-INFO +26 -6
  14. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope.keyreference.egg-info/SOURCES.txt +4 -1
  15. {zope.keyreference-6.0 → zope_keyreference-6.1}/tox.ini +31 -36
  16. zope_keyreference-6.1/version.txt +1 -0
  17. zope.keyreference-6.0/version.txt +0 -1
  18. {zope.keyreference-6.0 → zope_keyreference-6.1}/COPYRIGHT.txt +0 -0
  19. {zope.keyreference-6.0 → zope_keyreference-6.1}/LICENSE.txt +0 -0
  20. {zope.keyreference-6.0 → zope_keyreference-6.1}/README.rst +0 -0
  21. {zope.keyreference-6.0 → zope_keyreference-6.1}/buildout.cfg +0 -0
  22. {zope.keyreference-6.0 → zope_keyreference-6.1}/docs/Makefile +0 -0
  23. {zope.keyreference-6.0 → zope_keyreference-6.1}/docs/changelog.rst +0 -0
  24. {zope.keyreference-6.0 → zope_keyreference-6.1}/docs/index.rst +0 -0
  25. {zope.keyreference-6.0 → zope_keyreference-6.1}/docs/persistent.rst +0 -0
  26. {zope.keyreference-6.0 → zope_keyreference-6.1}/docs/reference.rst +0 -0
  27. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope/__init__.py +0 -0
  28. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope/keyreference/__init__.py +0 -0
  29. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope/keyreference/configure.zcml +0 -0
  30. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope/keyreference/interfaces.py +0 -0
  31. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope/keyreference/persistent.txt +0 -0
  32. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope/keyreference/testing.py +0 -0
  33. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope/keyreference/tests.py +0 -0
  34. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope.keyreference.egg-info/dependency_links.txt +0 -0
  35. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope.keyreference.egg-info/namespace_packages.txt +0 -0
  36. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope.keyreference.egg-info/not-zip-safe +0 -0
  37. {zope.keyreference-6.0 → zope_keyreference-6.1}/src/zope.keyreference.egg-info/requires.txt +0 -0
  38. {zope.keyreference-6.0 → zope_keyreference-6.1}/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.0"
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.19.1
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.1.1"
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,14 @@
2
2
  Changes
3
3
  =========
4
4
 
5
+ 6.1 (2025-02-14)
6
+ ================
7
+
8
+ - Add support for Python 3.12, 3.13.
9
+
10
+ - Drop support for Python 3.7, 3.8.
11
+
12
+
5
13
  6.0 (2023-04-25)
6
14
  ================
7
15
 
@@ -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
1
  Metadata-Version: 2.1
2
2
  Name: zope.keyreference
3
- Version: 6.0
3
+ Version: 6.1
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,32 @@ 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; extra == "test"
29
39
  Provides-Extra: docs
30
- License-File: LICENSE.txt
40
+ Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
41
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
42
+ Requires-Dist: Sphinx; extra == "docs"
31
43
 
32
44
  ===================
33
45
  zope.keyreference
@@ -62,6 +74,14 @@ Documentation can be found at https://zopekeyreference.readthedocs.io
62
74
  Changes
63
75
  =========
64
76
 
77
+ 6.1 (2025-02-14)
78
+ ================
79
+
80
+ - Add support for Python 3.12, 3.13.
81
+
82
+ - Drop support for Python 3.7, 3.8.
83
+
84
+
65
85
  6.0 (2023-04-25)
66
86
  ================
67
87
 
@@ -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,21 @@
1
+ #
2
+ # Generated from:
3
+ # https://github.com/zopefoundation/meta/tree/master/config/pure-python
4
+
5
+ [build-system]
6
+ requires = ["setuptools <= 75.6.0"]
7
+ build-backend = "setuptools.build_meta"
8
+
9
+ [tool.coverage.run]
10
+ branch = true
11
+ source = ["zope.keyreference"]
12
+
13
+ [tool.coverage.report]
14
+ fail_under = 100
15
+ precision = 2
16
+ ignore_errors = true
17
+ show_missing = true
18
+ exclude_lines = ["pragma: no cover", "pragma: nocover", "except ImportError:", "raise NotImplementedError", "if __name__ == '__main__':", "self.fail", "raise AssertionError", "raise unittest.Skip"]
19
+
20
+ [tool.coverage.html]
21
+ 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
@@ -38,7 +38,7 @@ setup(
38
38
  name="zope.keyreference",
39
39
  version=read("version.txt").strip(),
40
40
  author="Zope Foundation and Contributors",
41
- author_email="zope-dev@zope.org",
41
+ author_email="zope-dev@zope.dev",
42
42
  description="Key References",
43
43
  long_description=(
44
44
  read("README.rst")
@@ -53,11 +53,11 @@ setup(
53
53
  "License :: OSI Approved :: Zope Public License",
54
54
  "Programming Language :: Python",
55
55
  "Programming Language :: Python :: 3",
56
- "Programming Language :: Python :: 3.7",
57
- "Programming Language :: Python :: 3.8",
58
56
  "Programming Language :: Python :: 3.9",
59
57
  "Programming Language :: Python :: 3.10",
60
58
  "Programming Language :: Python :: 3.11",
59
+ "Programming Language :: Python :: 3.12",
60
+ "Programming Language :: Python :: 3.13",
61
61
  "Programming Language :: Python :: Implementation :: CPython",
62
62
  "Programming Language :: Python :: Implementation :: PyPy",
63
63
  "Natural Language :: English",
@@ -69,10 +69,11 @@ setup(
69
69
  project_urls={
70
70
  "Documentation": "https://zopekeyreference.readthedocs.io/",
71
71
  },
72
- license="ZPL 2.1",
72
+ license="ZPL-2.1",
73
73
  packages=find_packages("src"),
74
74
  package_dir={"": "src"},
75
75
  namespace_packages=["zope"],
76
+ python_requires='>=3.9',
76
77
  extras_require={
77
78
  "test": TESTS_REQUIRE,
78
79
  "docs": {
@@ -89,8 +90,6 @@ setup(
89
90
  "zope.interface",
90
91
  "zope.schema",
91
92
  ],
92
- tests_require=TESTS_REQUIRE,
93
- test_suite="zope.keyreference.tests.test_suite",
94
93
  include_package_data=True,
95
94
  zip_safe=False,
96
95
  )
@@ -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
1
  Metadata-Version: 2.1
2
2
  Name: zope.keyreference
3
- Version: 6.0
3
+ Version: 6.1
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,32 @@ 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; extra == "test"
29
39
  Provides-Extra: docs
30
- License-File: LICENSE.txt
40
+ Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
41
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
42
+ Requires-Dist: Sphinx; extra == "docs"
31
43
 
32
44
  ===================
33
45
  zope.keyreference
@@ -62,6 +74,14 @@ Documentation can be found at https://zopekeyreference.readthedocs.io
62
74
  Changes
63
75
  =========
64
76
 
77
+ 6.1 (2025-02-14)
78
+ ================
79
+
80
+ - Add support for Python 3.12, 3.13.
81
+
82
+ - Drop support for Python 3.7, 3.8.
83
+
84
+
65
85
  6.0 (2023-04-25)
66
86
  ================
67
87
 
@@ -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,6 +18,7 @@ docs/conf.py
16
18
  docs/index.rst
17
19
  docs/persistent.rst
18
20
  docs/reference.rst
21
+ docs/requirements.txt
19
22
  src/zope/__init__.py
20
23
  src/zope.keyreference.egg-info/PKG-INFO
21
24
  src/zope.keyreference.egg-info/SOURCES.txt
@@ -3,47 +3,60 @@
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 <= 75.6.0
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 <= 75.6.0
39
+ twine
40
+ build
33
41
  check-manifest
34
- check-python-versions >= 0.19.1
42
+ check-python-versions >= 0.20.0
35
43
  wheel
36
- flake8
37
- isort
44
+ commands_pre =
45
+ commands =
46
+ check-manifest
47
+ check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
48
+ python -m build --sdist --no-isolation
49
+ twine check dist/*
38
50
 
39
- [testenv:isort-apply]
51
+ [testenv:lint]
52
+ description = This env runs all linters configured in .pre-commit-config.yaml
40
53
  basepython = python3
41
54
  skip_install = true
42
- commands_pre =
43
55
  deps =
44
- isort
56
+ pre-commit
57
+ commands_pre =
45
58
  commands =
46
- isort {toxinidir}/src {toxinidir}/setup.py []
59
+ pre-commit run --all-files --show-diff-on-failure
47
60
 
48
61
  [testenv:docs]
49
62
  basepython = python3
@@ -59,27 +72,9 @@ basepython = python3
59
72
  allowlist_externals =
60
73
  mkdir
61
74
  deps =
62
- coverage
75
+ coverage[toml]
63
76
  commands =
64
77
  mkdir -p {toxinidir}/parts/htmlcov
65
78
  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
79
+ coverage html
80
+ coverage report
@@ -0,0 +1 @@
1
+ 6.1
@@ -1 +0,0 @@
1
- 6.0