zope.app.component 5.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 (52) hide show
  1. zope_app_component-6.1/.pre-commit-config.yaml +42 -0
  2. {zope.app.component-5.0 → zope_app_component-6.1}/CHANGES.rst +20 -0
  3. {zope.app.component-5.0 → zope_app_component-6.1}/CONTRIBUTING.md +3 -3
  4. zope_app_component-6.1/COPYRIGHT.txt +1 -0
  5. {zope.app.component-5.0 → zope_app_component-6.1}/MANIFEST.in +3 -2
  6. {zope.app.component-5.0 → zope_app_component-6.1}/PKG-INFO +79 -17
  7. zope_app_component-6.1/pyproject.toml +125 -0
  8. {zope.app.component-5.0 → zope_app_component-6.1}/setup.cfg +1 -4
  9. zope_app_component-6.1/setup.py +23 -0
  10. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/browser/registration.py +1 -1
  11. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/configure.zcml +1 -1
  12. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope.app.component.egg-info/PKG-INFO +79 -17
  13. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope.app.component.egg-info/SOURCES.txt +2 -4
  14. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope.app.component.egg-info/requires.txt +1 -2
  15. zope_app_component-6.1/tox.ini +71 -0
  16. zope.app.component-5.0/COPYRIGHT.txt +0 -1
  17. zope.app.component-5.0/setup.py +0 -122
  18. zope.app.component-5.0/src/zope/__init__.py +0 -1
  19. zope.app.component-5.0/src/zope/app/__init__.py +0 -1
  20. zope.app.component-5.0/src/zope.app.component.egg-info/namespace_packages.txt +0 -2
  21. zope.app.component-5.0/src/zope.app.component.egg-info/not-zip-safe +0 -1
  22. zope.app.component-5.0/tox.ini +0 -75
  23. {zope.app.component-5.0 → zope_app_component-6.1}/LICENSE.txt +0 -0
  24. {zope.app.component-5.0 → zope_app_component-6.1}/README.rst +0 -0
  25. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/__init__.py +0 -0
  26. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/browser/__init__.py +0 -0
  27. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/browser/configure.zcml +0 -0
  28. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/browser/ftesting.zcml +0 -0
  29. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/browser/registration.pt +0 -0
  30. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/browser/site.rst +0 -0
  31. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/browser/siteregistration.pt +0 -0
  32. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/browser/tests/__init__.py +0 -0
  33. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/browser/tests/test_site.py +0 -0
  34. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/contentdirective.py +0 -0
  35. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/ftesting.zcml +0 -0
  36. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/hooks.py +0 -0
  37. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/i18n.py +0 -0
  38. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/interfaces/__init__.py +0 -0
  39. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/interfaces/registration.py +0 -0
  40. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/interfaces/tests/__init__.py +0 -0
  41. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/interfaces/tests/test_registration.py +0 -0
  42. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/meta.zcml +0 -0
  43. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/metaconfigure.py +0 -0
  44. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/metadirectives.py +0 -0
  45. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/site.py +0 -0
  46. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/testing.py +0 -0
  47. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/tests/__init__.py +0 -0
  48. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/tests/test_bwc_imports.py +0 -0
  49. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/tests/test_testing.py +0 -0
  50. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope/app/component/vocabulary.py +0 -0
  51. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope.app.component.egg-info/dependency_links.txt +0 -0
  52. {zope.app.component-5.0 → zope_app_component-6.1}/src/zope.app.component.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
@@ -2,6 +2,26 @@
2
2
  CHANGES
3
3
  =======
4
4
 
5
+ 6.1 (2026-11-12)
6
+ ----------------
7
+
8
+ - Move package metadata from setup.py to pyproject.toml.
9
+
10
+ - Add support for Python 3.14, 3.15.
11
+
12
+ - Drop support for Python 3.10, 3.9.
13
+
14
+
15
+ 6.0 (2025-09-12)
16
+ ----------------
17
+
18
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
19
+
20
+ - Add support for Python 3.12, 3.13.
21
+
22
+ - Drop support for Python 3.7, 3.8.
23
+
24
+
5
25
  5.0 (2023-02-21)
6
26
  ----------------
7
27
 
@@ -1,7 +1,7 @@
1
1
  <!--
2
- Generated from:
3
- https://github.com/zopefoundation/meta/tree/master/config/pure-python
4
- -->
2
+ Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3
+ https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
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 @@
1
+ Zope Foundation and Contributors
@@ -1,10 +1,11 @@
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
6
6
  include buildout.cfg
7
7
  include tox.ini
8
+ include .pre-commit-config.yaml
8
9
 
9
10
  recursive-include src *.py
10
11
  recursive-include src *.pt
@@ -1,32 +1,77 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: zope.app.component
3
- Version: 5.0
3
+ Version: 6.1
4
4
  Summary: Local Zope Component Support
5
- Home-page: https://github.com/zopefoundation/zope.app.component
6
- Author: Zope Corporation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL 2.1
9
- Keywords: zope component architecture local
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: Source, https://github.com/zopefoundation/zope.app.component
9
+ Project-URL: Issues, https://github.com/zopefoundation/zope.app.component/issues
10
+ Project-URL: Changelog, https://raw.githubusercontent.com/zopefoundation/zope.app.component/master/CHANGES.rst
11
+ Keywords: zope,component,architecture,local
10
12
  Classifier: Development Status :: 5 - Production/Stable
11
13
  Classifier: Environment :: Web Environment
12
14
  Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: Zope Public License
14
15
  Classifier: Programming Language :: Python
15
16
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.7
17
- Classifier: Programming Language :: Python :: 3.8
18
- Classifier: Programming Language :: Python :: 3.9
19
- Classifier: Programming Language :: Python :: 3.10
20
17
  Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Programming Language :: Python :: 3.15
21
22
  Classifier: Programming Language :: Python :: Implementation :: CPython
22
23
  Classifier: Programming Language :: Python :: Implementation :: PyPy
23
24
  Classifier: Natural Language :: English
24
25
  Classifier: Operating System :: OS Independent
25
26
  Classifier: Topic :: Internet :: WWW/HTTP
26
27
  Classifier: Framework :: Zope :: 3
27
- Requires-Python: >=3.7
28
- Provides-Extra: test
28
+ Requires-Python: >=3.11
29
+ Description-Content-Type: text/x-rst
29
30
  License-File: LICENSE.txt
31
+ Requires-Dist: zope.site
32
+ Requires-Dist: zope.app.container>=4.0
33
+ Requires-Dist: zope.app.pagetemplate>=4.0
34
+ Requires-Dist: zope.component[hook,zcml]>=4.3.0
35
+ Requires-Dist: zope.deprecation
36
+ Requires-Dist: zope.exceptions
37
+ Requires-Dist: zope.formlib
38
+ Requires-Dist: zope.i18nmessageid
39
+ Requires-Dist: zope.interface
40
+ Requires-Dist: zope.publisher>=4.3.1
41
+ Requires-Dist: zope.schema
42
+ Requires-Dist: zope.security
43
+ Requires-Dist: zope.traversing
44
+ Requires-Dist: zope.componentvocabulary
45
+ Provides-Extra: test
46
+ Requires-Dist: zope.app.appsetup; extra == "test"
47
+ Requires-Dist: zope.app.basicskin>=4.0; extra == "test"
48
+ Requires-Dist: zope.app.container[test]>=4.0; extra == "test"
49
+ Requires-Dist: zope.app.content; extra == "test"
50
+ Requires-Dist: zope.app.dependable>=4.0; extra == "test"
51
+ Requires-Dist: zope.app.http; extra == "test"
52
+ Requires-Dist: zope.app.pagetemplate>=4.0; extra == "test"
53
+ Requires-Dist: zope.app.principalannotation; extra == "test"
54
+ Requires-Dist: zope.app.publication; extra == "test"
55
+ Requires-Dist: zope.app.publisher; extra == "test"
56
+ Requires-Dist: zope.app.rotterdam>=4.0; extra == "test"
57
+ Requires-Dist: zope.app.schema; extra == "test"
58
+ Requires-Dist: zope.app.testing; extra == "test"
59
+ Requires-Dist: zope.app.wsgi; extra == "test"
60
+ Requires-Dist: zope.applicationcontrol; extra == "test"
61
+ Requires-Dist: zope.browser; extra == "test"
62
+ Requires-Dist: zope.browserresource; extra == "test"
63
+ Requires-Dist: zope.copypastemove; extra == "test"
64
+ Requires-Dist: zope.login; extra == "test"
65
+ Requires-Dist: zope.password; extra == "test"
66
+ Requires-Dist: zope.principalannotation; extra == "test"
67
+ Requires-Dist: zope.principalregistry; extra == "test"
68
+ Requires-Dist: zope.proxy>=4.2.1; extra == "test"
69
+ Requires-Dist: zope.securitypolicy; extra == "test"
70
+ Requires-Dist: zope.site; extra == "test"
71
+ Requires-Dist: zope.testbrowser>=5.2; extra == "test"
72
+ Requires-Dist: zope.testing; extra == "test"
73
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
74
+ Dynamic: license-file
30
75
 
31
76
  NOTE: this package is deprecated. Its functionality has been moved to
32
77
  more reusable packages, namely: zope.component, zope.security, zope.site
@@ -35,13 +80,30 @@ and zope.componentvocabulary. Please import from there instead.
35
80
  This package provides various ZCML directives (view, resource) and a
36
81
  user interface related to local component management.
37
82
 
38
-
39
- .. contents::
40
-
41
83
  =======
42
84
  CHANGES
43
85
  =======
44
86
 
87
+ 6.1 (2026-11-12)
88
+ ----------------
89
+
90
+ - Move package metadata from setup.py to pyproject.toml.
91
+
92
+ - Add support for Python 3.14, 3.15.
93
+
94
+ - Drop support for Python 3.10, 3.9.
95
+
96
+
97
+ 6.0 (2025-09-12)
98
+ ----------------
99
+
100
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
101
+
102
+ - Add support for Python 3.12, 3.13.
103
+
104
+ - Drop support for Python 3.7, 3.8.
105
+
106
+
45
107
  5.0 (2023-02-21)
46
108
  ----------------
47
109
 
@@ -0,0 +1,125 @@
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.app.component"
12
+ version = "6.1"
13
+ description = "Local Zope Component Support"
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
+ "zope.site",
43
+ "zope.app.container >= 4.0",
44
+ "zope.app.pagetemplate >= 4.0",
45
+ "zope.component[hook,zcml] >= 4.3.0",
46
+ "zope.deprecation",
47
+ "zope.exceptions",
48
+ "zope.formlib",
49
+ "zope.i18nmessageid",
50
+ "zope.interface",
51
+ "zope.publisher >= 4.3.1",
52
+ "zope.schema",
53
+ "zope.security",
54
+ "zope.traversing",
55
+ "zope.componentvocabulary",
56
+ ]
57
+ keywords = ["zope", "component", "architecture", "local"]
58
+
59
+ [project.optional-dependencies]
60
+ test = [
61
+ "zope.app.appsetup",
62
+ "zope.app.basicskin >= 4.0",
63
+ "zope.app.container[test] >= 4.0",
64
+ "zope.app.content",
65
+ "zope.app.dependable >= 4.0",
66
+ "zope.app.http",
67
+ "zope.app.pagetemplate >= 4.0",
68
+ "zope.app.principalannotation",
69
+ "zope.app.publication",
70
+ "zope.app.publisher",
71
+ "zope.app.rotterdam >= 4.0",
72
+ "zope.app.schema",
73
+ "zope.app.testing",
74
+ "zope.app.wsgi",
75
+ "zope.applicationcontrol",
76
+ "zope.browser",
77
+ "zope.browserresource",
78
+ "zope.copypastemove",
79
+ "zope.login",
80
+ "zope.password",
81
+ "zope.principalannotation",
82
+ "zope.principalregistry",
83
+ "zope.proxy >= 4.2.1",
84
+ "zope.securitypolicy",
85
+ "zope.site",
86
+ "zope.testbrowser >= 5.2",
87
+ "zope.testing",
88
+ "zope.testrunner >= 6.4",
89
+ ]
90
+
91
+ [project.urls]
92
+ Source = "https://github.com/zopefoundation/zope.app.component"
93
+ Issues = "https://github.com/zopefoundation/zope.app.component/issues"
94
+ Changelog = "https://raw.githubusercontent.com/zopefoundation/zope.app.component/master/CHANGES.rst"
95
+
96
+ [tool.coverage.run]
97
+ branch = true
98
+ source = ["zope.app.component"]
99
+
100
+ [tool.coverage.report]
101
+ fail_under = 97
102
+ precision = 2
103
+ ignore_errors = true
104
+ show_missing = true
105
+ exclude_lines = [
106
+ "pragma: no cover",
107
+ "pragma: nocover",
108
+ "except ImportError:",
109
+ "raise NotImplementedError",
110
+ "if __name__ == '__main__':",
111
+ "self.fail",
112
+ "raise AssertionError",
113
+ "raise unittest.Skip",
114
+ ]
115
+
116
+ [tool.coverage.html]
117
+ directory = "parts/htmlcov"
118
+
119
+ [tool.setuptools.dynamic]
120
+ readme = {file = ["README.rst", "CHANGES.rst"]}
121
+
122
+ [tool.zest-releaser]
123
+ create-wheel = false
124
+ extra-message = ""
125
+ upload-pypi = false
@@ -1,6 +1,3 @@
1
- [bdist_wheel]
2
- universal = 0
3
-
4
1
  [flake8]
5
2
  doctests = 1
6
3
  per-file-ignores =
@@ -22,7 +19,7 @@ ignore =
22
19
  force_single_line = True
23
20
  combine_as_imports = True
24
21
  sections = FUTURE,STDLIB,THIRDPARTY,ZOPE,FIRSTPARTY,LOCALFOLDER
25
- known_third_party = six, docutils, pkg_resources, pytz
22
+ known_third_party = docutils, pkg_resources, pytz
26
23
  known_zope =
27
24
  known_first_party =
28
25
  default_section = ZOPE
@@ -0,0 +1,23 @@
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
+ # https://zopetoolkit.readthedocs.io/
16
+ # When developing and releasing this package, please follow the documented
17
+ # Zope Toolkit policies as described by this documentation.
18
+ ##############################################################################
19
+ from setuptools import setup
20
+
21
+
22
+ # See pyproject.toml for package metadata
23
+ setup()
@@ -99,7 +99,7 @@ class UtilityRegistrationDisplay:
99
99
  return provided.__module__ + '.' + provided.__name__
100
100
 
101
101
  def id(self):
102
- joined = "{} {}".format(self.provided(), self.context.name)
102
+ joined = f"{self.provided()} {self.context.name}"
103
103
  joined_bytes = joined.encode("utf8")
104
104
  j64_bytes = base64.b64encode(joined_bytes)
105
105
  if not isinstance(j64_bytes, str):
@@ -1,7 +1,7 @@
1
1
  <configure xmlns="http://namespaces.zope.org/zope">
2
2
 
3
3
  <include package="zope.site" />
4
-
4
+
5
5
  <!-- BBB moved to zope.componentvocabulary -->
6
6
  <include package="zope.componentvocabulary" />
7
7
 
@@ -1,32 +1,77 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: zope.app.component
3
- Version: 5.0
3
+ Version: 6.1
4
4
  Summary: Local Zope Component Support
5
- Home-page: https://github.com/zopefoundation/zope.app.component
6
- Author: Zope Corporation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL 2.1
9
- Keywords: zope component architecture local
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: Source, https://github.com/zopefoundation/zope.app.component
9
+ Project-URL: Issues, https://github.com/zopefoundation/zope.app.component/issues
10
+ Project-URL: Changelog, https://raw.githubusercontent.com/zopefoundation/zope.app.component/master/CHANGES.rst
11
+ Keywords: zope,component,architecture,local
10
12
  Classifier: Development Status :: 5 - Production/Stable
11
13
  Classifier: Environment :: Web Environment
12
14
  Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: Zope Public License
14
15
  Classifier: Programming Language :: Python
15
16
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.7
17
- Classifier: Programming Language :: Python :: 3.8
18
- Classifier: Programming Language :: Python :: 3.9
19
- Classifier: Programming Language :: Python :: 3.10
20
17
  Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Programming Language :: Python :: 3.15
21
22
  Classifier: Programming Language :: Python :: Implementation :: CPython
22
23
  Classifier: Programming Language :: Python :: Implementation :: PyPy
23
24
  Classifier: Natural Language :: English
24
25
  Classifier: Operating System :: OS Independent
25
26
  Classifier: Topic :: Internet :: WWW/HTTP
26
27
  Classifier: Framework :: Zope :: 3
27
- Requires-Python: >=3.7
28
- Provides-Extra: test
28
+ Requires-Python: >=3.11
29
+ Description-Content-Type: text/x-rst
29
30
  License-File: LICENSE.txt
31
+ Requires-Dist: zope.site
32
+ Requires-Dist: zope.app.container>=4.0
33
+ Requires-Dist: zope.app.pagetemplate>=4.0
34
+ Requires-Dist: zope.component[hook,zcml]>=4.3.0
35
+ Requires-Dist: zope.deprecation
36
+ Requires-Dist: zope.exceptions
37
+ Requires-Dist: zope.formlib
38
+ Requires-Dist: zope.i18nmessageid
39
+ Requires-Dist: zope.interface
40
+ Requires-Dist: zope.publisher>=4.3.1
41
+ Requires-Dist: zope.schema
42
+ Requires-Dist: zope.security
43
+ Requires-Dist: zope.traversing
44
+ Requires-Dist: zope.componentvocabulary
45
+ Provides-Extra: test
46
+ Requires-Dist: zope.app.appsetup; extra == "test"
47
+ Requires-Dist: zope.app.basicskin>=4.0; extra == "test"
48
+ Requires-Dist: zope.app.container[test]>=4.0; extra == "test"
49
+ Requires-Dist: zope.app.content; extra == "test"
50
+ Requires-Dist: zope.app.dependable>=4.0; extra == "test"
51
+ Requires-Dist: zope.app.http; extra == "test"
52
+ Requires-Dist: zope.app.pagetemplate>=4.0; extra == "test"
53
+ Requires-Dist: zope.app.principalannotation; extra == "test"
54
+ Requires-Dist: zope.app.publication; extra == "test"
55
+ Requires-Dist: zope.app.publisher; extra == "test"
56
+ Requires-Dist: zope.app.rotterdam>=4.0; extra == "test"
57
+ Requires-Dist: zope.app.schema; extra == "test"
58
+ Requires-Dist: zope.app.testing; extra == "test"
59
+ Requires-Dist: zope.app.wsgi; extra == "test"
60
+ Requires-Dist: zope.applicationcontrol; extra == "test"
61
+ Requires-Dist: zope.browser; extra == "test"
62
+ Requires-Dist: zope.browserresource; extra == "test"
63
+ Requires-Dist: zope.copypastemove; extra == "test"
64
+ Requires-Dist: zope.login; extra == "test"
65
+ Requires-Dist: zope.password; extra == "test"
66
+ Requires-Dist: zope.principalannotation; extra == "test"
67
+ Requires-Dist: zope.principalregistry; extra == "test"
68
+ Requires-Dist: zope.proxy>=4.2.1; extra == "test"
69
+ Requires-Dist: zope.securitypolicy; extra == "test"
70
+ Requires-Dist: zope.site; extra == "test"
71
+ Requires-Dist: zope.testbrowser>=5.2; extra == "test"
72
+ Requires-Dist: zope.testing; extra == "test"
73
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
74
+ Dynamic: license-file
30
75
 
31
76
  NOTE: this package is deprecated. Its functionality has been moved to
32
77
  more reusable packages, namely: zope.component, zope.security, zope.site
@@ -35,13 +80,30 @@ and zope.componentvocabulary. Please import from there instead.
35
80
  This package provides various ZCML directives (view, resource) and a
36
81
  user interface related to local component management.
37
82
 
38
-
39
- .. contents::
40
-
41
83
  =======
42
84
  CHANGES
43
85
  =======
44
86
 
87
+ 6.1 (2026-11-12)
88
+ ----------------
89
+
90
+ - Move package metadata from setup.py to pyproject.toml.
91
+
92
+ - Add support for Python 3.14, 3.15.
93
+
94
+ - Drop support for Python 3.10, 3.9.
95
+
96
+
97
+ 6.0 (2025-09-12)
98
+ ----------------
99
+
100
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
101
+
102
+ - Add support for Python 3.12, 3.13.
103
+
104
+ - Drop support for Python 3.7, 3.8.
105
+
106
+
45
107
  5.0 (2023-02-21)
46
108
  ----------------
47
109
 
@@ -1,21 +1,19 @@
1
+ .pre-commit-config.yaml
1
2
  CHANGES.rst
2
3
  CONTRIBUTING.md
3
4
  COPYRIGHT.txt
4
5
  LICENSE.txt
5
6
  MANIFEST.in
6
7
  README.rst
8
+ pyproject.toml
7
9
  setup.cfg
8
10
  setup.py
9
11
  tox.ini
10
- src/zope/__init__.py
11
12
  src/zope.app.component.egg-info/PKG-INFO
12
13
  src/zope.app.component.egg-info/SOURCES.txt
13
14
  src/zope.app.component.egg-info/dependency_links.txt
14
- src/zope.app.component.egg-info/namespace_packages.txt
15
- src/zope.app.component.egg-info/not-zip-safe
16
15
  src/zope.app.component.egg-info/requires.txt
17
16
  src/zope.app.component.egg-info/top_level.txt
18
- src/zope/app/__init__.py
19
17
  src/zope/app/component/__init__.py
20
18
  src/zope/app/component/configure.zcml
21
19
  src/zope/app/component/contentdirective.py
@@ -1,4 +1,3 @@
1
- setuptools
2
1
  zope.site
3
2
  zope.app.container>=4.0
4
3
  zope.app.pagetemplate>=4.0
@@ -42,4 +41,4 @@ zope.securitypolicy
42
41
  zope.site
43
42
  zope.testbrowser>=5.2
44
43
  zope.testing
45
- zope.testrunner
44
+ zope.testrunner>=6.4
@@ -0,0 +1,71 @@
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
+ [tox]
4
+ minversion = 3.18
5
+ envlist =
6
+ release-check
7
+ lint
8
+ py311
9
+ py312
10
+ py313
11
+ py314
12
+ py315
13
+ pypy3
14
+ coverage
15
+
16
+ [testenv]
17
+ usedevelop = true
18
+ package = wheel
19
+ wheel_build_env = .pkg
20
+ deps =
21
+ setuptools >= 78.1.1,< 82
22
+ commands =
23
+ zope-testrunner --test-path=src {posargs:-vc}
24
+ extras =
25
+ test
26
+
27
+ [testenv:setuptools-latest]
28
+ basepython = python3
29
+ deps =
30
+ git+https://github.com/pypa/setuptools.git\#egg=setuptools
31
+
32
+ [testenv:release-check]
33
+ description = ensure that the distribution is ready to release
34
+ basepython = python3
35
+ skip_install = true
36
+ deps =
37
+ setuptools >= 78.1.1,< 82
38
+ wheel
39
+ twine
40
+ build
41
+ check-manifest
42
+ check-python-versions >= 0.24.2
43
+ wheel
44
+ commands_pre =
45
+ commands =
46
+ check-manifest
47
+ check-python-versions --only pyproject.toml,setup.py,tox.ini,.github/workflows/tests.yml
48
+ python -m build --sdist --no-isolation
49
+ twine check dist/*
50
+
51
+ [testenv:lint]
52
+ description = This env runs all linters configured in .pre-commit-config.yaml
53
+ basepython = python3
54
+ skip_install = true
55
+ deps =
56
+ pre-commit
57
+ commands_pre =
58
+ commands =
59
+ pre-commit run --all-files --show-diff-on-failure
60
+
61
+ [testenv:coverage]
62
+ basepython = python3
63
+ allowlist_externals =
64
+ mkdir
65
+ deps =
66
+ coverage[toml]
67
+ commands =
68
+ mkdir -p {toxinidir}/parts/htmlcov
69
+ coverage run -m zope.testrunner --test-path=src {posargs:-vc}
70
+ coverage html
71
+ coverage report
@@ -1 +0,0 @@
1
- Zope Foundation and Contributors
@@ -1,122 +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
- # https://zopetoolkit.readthedocs.io/
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.app.component package
20
- """
21
- import os
22
-
23
- from setuptools import find_packages
24
- from setuptools import setup
25
-
26
-
27
- def read(*rnames):
28
- with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
29
- return f.read()
30
-
31
-
32
- test_requires = [
33
- 'zope.app.appsetup',
34
- 'zope.app.basicskin >= 4.0',
35
- 'zope.app.container[test] >= 4.0',
36
- 'zope.app.content',
37
- 'zope.app.dependable >= 4.0',
38
- 'zope.app.http',
39
- 'zope.app.pagetemplate >= 4.0',
40
- 'zope.app.principalannotation',
41
- 'zope.app.publication',
42
- 'zope.app.publisher',
43
- 'zope.app.rotterdam >= 4.0',
44
- 'zope.app.schema',
45
- 'zope.app.testing',
46
- 'zope.app.wsgi',
47
-
48
- 'zope.applicationcontrol',
49
- 'zope.browser',
50
- 'zope.browserresource',
51
- 'zope.copypastemove',
52
- 'zope.login',
53
- 'zope.password',
54
- 'zope.principalannotation',
55
- 'zope.principalregistry',
56
- 'zope.proxy >= 4.2.1',
57
- 'zope.securitypolicy',
58
- 'zope.site',
59
- 'zope.testbrowser >= 5.2',
60
- 'zope.testing',
61
- 'zope.testrunner',
62
- ]
63
-
64
- setup(name='zope.app.component',
65
- version='5.0',
66
- author='Zope Corporation and Contributors',
67
- author_email='zope-dev@zope.dev',
68
- description='Local Zope Component Support',
69
- long_description=(
70
- read('README.rst')
71
- + '\n\n.. contents:: \n\n' +
72
- read('CHANGES.rst')
73
- ),
74
- keywords="zope component architecture local",
75
- classifiers=[
76
- 'Development Status :: 5 - Production/Stable',
77
- 'Environment :: Web Environment',
78
- 'Intended Audience :: Developers',
79
- 'License :: OSI Approved :: Zope Public License',
80
- 'Programming Language :: Python',
81
- 'Programming Language :: Python :: 3',
82
- 'Programming Language :: Python :: 3.7',
83
- 'Programming Language :: Python :: 3.8',
84
- 'Programming Language :: Python :: 3.9',
85
- 'Programming Language :: Python :: 3.10',
86
- 'Programming Language :: Python :: 3.11',
87
- 'Programming Language :: Python :: Implementation :: CPython',
88
- 'Programming Language :: Python :: Implementation :: PyPy',
89
- 'Natural Language :: English',
90
- 'Operating System :: OS Independent',
91
- 'Topic :: Internet :: WWW/HTTP',
92
- 'Framework :: Zope :: 3',
93
- ],
94
- url='https://github.com/zopefoundation/zope.app.component',
95
- license='ZPL 2.1',
96
- packages=find_packages('src'),
97
- package_dir={'': 'src'},
98
- namespace_packages=['zope', 'zope.app'],
99
- python_requires='>=3.7',
100
- extras_require={
101
- 'test': test_requires,
102
- },
103
- install_requires=[
104
- 'setuptools',
105
- 'zope.site',
106
- 'zope.app.container >= 4.0',
107
- 'zope.app.pagetemplate >= 4.0',
108
- 'zope.component[hook,zcml] >= 4.3.0',
109
- 'zope.deprecation',
110
- 'zope.exceptions',
111
- 'zope.formlib',
112
- 'zope.i18nmessageid',
113
- 'zope.interface',
114
- 'zope.publisher >= 4.3.1',
115
- 'zope.schema',
116
- 'zope.security',
117
- 'zope.traversing',
118
- 'zope.componentvocabulary',
119
- ],
120
- include_package_data=True,
121
- zip_safe=False,
122
- )
@@ -1 +0,0 @@
1
- __import__('pkg_resources').declare_namespace(__name__) # pragma: no cover
@@ -1 +0,0 @@
1
- __import__('pkg_resources').declare_namespace(__name__) # pragma: no cover
@@ -1,75 +0,0 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
3
- [tox]
4
- minversion = 3.18
5
- envlist =
6
- lint
7
- py37
8
- py38
9
- py39
10
- py310
11
- py311
12
- pypy3
13
- coverage
14
-
15
- [testenv]
16
- usedevelop = true
17
- deps =
18
- commands =
19
- zope-testrunner --test-path=src {posargs:-vc}
20
- extras =
21
- test
22
-
23
- [testenv:lint]
24
- basepython = python3
25
- skip_install = true
26
- commands =
27
- isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
28
- flake8 src setup.py
29
- check-manifest
30
- check-python-versions
31
- deps =
32
- check-manifest
33
- check-python-versions >= 0.19.1
34
- wheel
35
- flake8
36
- isort
37
-
38
- [testenv:isort-apply]
39
- basepython = python3
40
- skip_install = true
41
- commands_pre =
42
- deps =
43
- isort
44
- commands =
45
- isort {toxinidir}/src {toxinidir}/setup.py []
46
-
47
- [testenv:coverage]
48
- basepython = python3
49
- allowlist_externals =
50
- mkdir
51
- deps =
52
- coverage
53
- commands =
54
- mkdir -p {toxinidir}/parts/htmlcov
55
- coverage run -m zope.testrunner --test-path=src {posargs:-vc}
56
- coverage html --ignore-errors
57
- coverage report --ignore-errors --show-missing --fail-under=97
58
-
59
- [coverage:run]
60
- branch = True
61
- source = zope.app.component
62
-
63
- [coverage:report]
64
- precision = 2
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
-
74
- [coverage:html]
75
- directory = parts/htmlcov