zope.app.component 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 (50) hide show
  1. zope_app_component-6.1/.pre-commit-config.yaml +42 -0
  2. {zope_app_component-6.0 → zope_app_component-6.1}/CHANGES.rst +10 -0
  3. {zope_app_component-6.0 → zope_app_component-6.1}/CONTRIBUTING.md +2 -2
  4. zope_app_component-6.1/COPYRIGHT.txt +1 -0
  5. {zope_app_component-6.0 → zope_app_component-6.1}/MANIFEST.in +2 -2
  6. {zope_app_component-6.0 → zope_app_component-6.1}/PKG-INFO +22 -25
  7. zope_app_component-6.1/pyproject.toml +125 -0
  8. zope_app_component-6.1/setup.py +23 -0
  9. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/configure.zcml +1 -1
  10. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope.app.component.egg-info/PKG-INFO +22 -25
  11. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope.app.component.egg-info/SOURCES.txt +0 -1
  12. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope.app.component.egg-info/requires.txt +0 -1
  13. {zope_app_component-6.0 → zope_app_component-6.1}/tox.ini +8 -8
  14. zope_app_component-6.0/.pre-commit-config.yaml +0 -28
  15. zope_app_component-6.0/COPYRIGHT.txt +0 -1
  16. zope_app_component-6.0/pyproject.toml +0 -32
  17. zope_app_component-6.0/setup.py +0 -118
  18. zope_app_component-6.0/src/zope.app.component.egg-info/not-zip-safe +0 -1
  19. {zope_app_component-6.0 → zope_app_component-6.1}/LICENSE.txt +0 -0
  20. {zope_app_component-6.0 → zope_app_component-6.1}/README.rst +0 -0
  21. {zope_app_component-6.0 → zope_app_component-6.1}/setup.cfg +0 -0
  22. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/__init__.py +0 -0
  23. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/browser/__init__.py +0 -0
  24. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/browser/configure.zcml +0 -0
  25. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/browser/ftesting.zcml +0 -0
  26. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/browser/registration.pt +0 -0
  27. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/browser/registration.py +0 -0
  28. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/browser/site.rst +0 -0
  29. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/browser/siteregistration.pt +0 -0
  30. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/browser/tests/__init__.py +0 -0
  31. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/browser/tests/test_site.py +0 -0
  32. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/contentdirective.py +0 -0
  33. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/ftesting.zcml +0 -0
  34. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/hooks.py +0 -0
  35. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/i18n.py +0 -0
  36. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/interfaces/__init__.py +0 -0
  37. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/interfaces/registration.py +0 -0
  38. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/interfaces/tests/__init__.py +0 -0
  39. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/interfaces/tests/test_registration.py +0 -0
  40. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/meta.zcml +0 -0
  41. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/metaconfigure.py +0 -0
  42. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/metadirectives.py +0 -0
  43. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/site.py +0 -0
  44. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/testing.py +0 -0
  45. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/tests/__init__.py +0 -0
  46. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/tests/test_bwc_imports.py +0 -0
  47. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/tests/test_testing.py +0 -0
  48. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope/app/component/vocabulary.py +0 -0
  49. {zope_app_component-6.0 → zope_app_component-6.1}/src/zope.app.component.egg-info/dependency_links.txt +0 -0
  50. {zope_app_component-6.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,16 @@
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
+
5
15
  6.0 (2025-09-12)
6
16
  ----------------
7
17
 
@@ -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,32 +1,33 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zope.app.component
3
- Version: 6.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 Foundation 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.9
17
- Classifier: Programming Language :: Python :: 3.10
18
17
  Classifier: Programming Language :: Python :: 3.11
19
18
  Classifier: Programming Language :: Python :: 3.12
20
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.9
28
+ Requires-Python: >=3.11
29
+ Description-Content-Type: text/x-rst
28
30
  License-File: LICENSE.txt
29
- Requires-Dist: setuptools
30
31
  Requires-Dist: zope.site
31
32
  Requires-Dist: zope.app.container>=4.0
32
33
  Requires-Dist: zope.app.pagetemplate>=4.0
@@ -70,18 +71,7 @@ Requires-Dist: zope.site; extra == "test"
70
71
  Requires-Dist: zope.testbrowser>=5.2; extra == "test"
71
72
  Requires-Dist: zope.testing; extra == "test"
72
73
  Requires-Dist: zope.testrunner>=6.4; extra == "test"
73
- Dynamic: author
74
- Dynamic: author-email
75
- Dynamic: classifier
76
- Dynamic: description
77
- Dynamic: home-page
78
- Dynamic: keywords
79
- Dynamic: license
80
74
  Dynamic: license-file
81
- Dynamic: provides-extra
82
- Dynamic: requires-dist
83
- Dynamic: requires-python
84
- Dynamic: summary
85
75
 
86
76
  NOTE: this package is deprecated. Its functionality has been moved to
87
77
  more reusable packages, namely: zope.component, zope.security, zope.site
@@ -90,13 +80,20 @@ and zope.componentvocabulary. Please import from there instead.
90
80
  This package provides various ZCML directives (view, resource) and a
91
81
  user interface related to local component management.
92
82
 
93
-
94
- .. contents::
95
-
96
83
  =======
97
84
  CHANGES
98
85
  =======
99
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
+
100
97
  6.0 (2025-09-12)
101
98
  ----------------
102
99
 
@@ -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
@@ -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()
@@ -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,33 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zope.app.component
3
- Version: 6.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 Foundation 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.9
17
- Classifier: Programming Language :: Python :: 3.10
18
17
  Classifier: Programming Language :: Python :: 3.11
19
18
  Classifier: Programming Language :: Python :: 3.12
20
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.9
28
+ Requires-Python: >=3.11
29
+ Description-Content-Type: text/x-rst
28
30
  License-File: LICENSE.txt
29
- Requires-Dist: setuptools
30
31
  Requires-Dist: zope.site
31
32
  Requires-Dist: zope.app.container>=4.0
32
33
  Requires-Dist: zope.app.pagetemplate>=4.0
@@ -70,18 +71,7 @@ Requires-Dist: zope.site; extra == "test"
70
71
  Requires-Dist: zope.testbrowser>=5.2; extra == "test"
71
72
  Requires-Dist: zope.testing; extra == "test"
72
73
  Requires-Dist: zope.testrunner>=6.4; extra == "test"
73
- Dynamic: author
74
- Dynamic: author-email
75
- Dynamic: classifier
76
- Dynamic: description
77
- Dynamic: home-page
78
- Dynamic: keywords
79
- Dynamic: license
80
74
  Dynamic: license-file
81
- Dynamic: provides-extra
82
- Dynamic: requires-dist
83
- Dynamic: requires-python
84
- Dynamic: summary
85
75
 
86
76
  NOTE: this package is deprecated. Its functionality has been moved to
87
77
  more reusable packages, namely: zope.component, zope.security, zope.site
@@ -90,13 +80,20 @@ and zope.componentvocabulary. Please import from there instead.
90
80
  This package provides various ZCML directives (view, resource) and a
91
81
  user interface related to local component management.
92
82
 
93
-
94
- .. contents::
95
-
96
83
  =======
97
84
  CHANGES
98
85
  =======
99
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
+
100
97
  6.0 (2025-09-12)
101
98
  ----------------
102
99
 
@@ -12,7 +12,6 @@ tox.ini
12
12
  src/zope.app.component.egg-info/PKG-INFO
13
13
  src/zope.app.component.egg-info/SOURCES.txt
14
14
  src/zope.app.component.egg-info/dependency_links.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
17
  src/zope/app/component/__init__.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
@@ -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
  coverage
15
15
 
@@ -18,7 +18,7 @@ usedevelop = true
18
18
  package = wheel
19
19
  wheel_build_env = .pkg
20
20
  deps =
21
- setuptools == 78.1.1
21
+ setuptools >= 78.1.1,< 82
22
22
  commands =
23
23
  zope-testrunner --test-path=src {posargs:-vc}
24
24
  extras =
@@ -34,17 +34,17 @@ description = ensure that the distribution is ready to release
34
34
  basepython = python3
35
35
  skip_install = true
36
36
  deps =
37
- setuptools == 78.1.1
37
+ setuptools >= 78.1.1,< 82
38
38
  wheel
39
39
  twine
40
40
  build
41
41
  check-manifest
42
- check-python-versions >= 0.20.0
42
+ check-python-versions >= 0.24.2
43
43
  wheel
44
44
  commands_pre =
45
45
  commands =
46
46
  check-manifest
47
- check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
47
+ check-python-versions --only pyproject.toml,setup.py,tox.ini,.github/workflows/tests.yml
48
48
  python -m build --sdist --no-isolation
49
49
  twine check dist/*
50
50
 
@@ -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,32 +0,0 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
3
-
4
- [build-system]
5
- requires = [
6
- "setuptools == 78.1.1",
7
- "wheel",
8
- ]
9
- build-backend = "setuptools.build_meta"
10
-
11
- [tool.coverage.run]
12
- branch = true
13
- source = ["zope.app.component"]
14
-
15
- [tool.coverage.report]
16
- fail_under = 97
17
- precision = 2
18
- ignore_errors = true
19
- show_missing = true
20
- exclude_lines = [
21
- "pragma: no cover",
22
- "pragma: nocover",
23
- "except ImportError:",
24
- "raise NotImplementedError",
25
- "if __name__ == '__main__':",
26
- "self.fail",
27
- "raise AssertionError",
28
- "raise unittest.Skip",
29
- ]
30
-
31
- [tool.coverage.html]
32
- directory = "parts/htmlcov"
@@ -1,118 +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 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
- test_requires = [
32
- 'zope.app.appsetup',
33
- 'zope.app.basicskin >= 4.0',
34
- 'zope.app.container[test] >= 4.0',
35
- 'zope.app.content',
36
- 'zope.app.dependable >= 4.0',
37
- 'zope.app.http',
38
- 'zope.app.pagetemplate >= 4.0',
39
- 'zope.app.principalannotation',
40
- 'zope.app.publication',
41
- 'zope.app.publisher',
42
- 'zope.app.rotterdam >= 4.0',
43
- 'zope.app.schema',
44
- 'zope.app.testing',
45
- 'zope.app.wsgi',
46
-
47
- 'zope.applicationcontrol',
48
- 'zope.browser',
49
- 'zope.browserresource',
50
- 'zope.copypastemove',
51
- 'zope.login',
52
- 'zope.password',
53
- 'zope.principalannotation',
54
- 'zope.principalregistry',
55
- 'zope.proxy >= 4.2.1',
56
- 'zope.securitypolicy',
57
- 'zope.site',
58
- 'zope.testbrowser >= 5.2',
59
- 'zope.testing',
60
- 'zope.testrunner >= 6.4',
61
- ]
62
-
63
- setup(name='zope.app.component',
64
- version='6.0',
65
- author='Zope Foundation and Contributors',
66
- author_email='zope-dev@zope.dev',
67
- description='Local Zope Component Support',
68
- long_description=(
69
- read('README.rst')
70
- + '\n\n.. contents:: \n\n' +
71
- read('CHANGES.rst')
72
- ),
73
- keywords="zope component architecture local",
74
- classifiers=[
75
- 'Development Status :: 5 - Production/Stable',
76
- 'Environment :: Web Environment',
77
- 'Intended Audience :: Developers',
78
- 'License :: OSI Approved :: Zope Public License',
79
- 'Programming Language :: Python',
80
- 'Programming Language :: Python :: 3',
81
- 'Programming Language :: Python :: 3.9',
82
- 'Programming Language :: Python :: 3.10',
83
- 'Programming Language :: Python :: 3.11',
84
- 'Programming Language :: Python :: 3.12',
85
- 'Programming Language :: Python :: 3.13',
86
- 'Programming Language :: Python :: Implementation :: CPython',
87
- 'Programming Language :: Python :: Implementation :: PyPy',
88
- 'Natural Language :: English',
89
- 'Operating System :: OS Independent',
90
- 'Topic :: Internet :: WWW/HTTP',
91
- 'Framework :: Zope :: 3',
92
- ],
93
- url='https://github.com/zopefoundation/zope.app.component',
94
- license='ZPL-2.1',
95
- python_requires='>=3.9',
96
- extras_require={
97
- 'test': test_requires,
98
- },
99
- install_requires=[
100
- 'setuptools',
101
- 'zope.site',
102
- 'zope.app.container >= 4.0',
103
- 'zope.app.pagetemplate >= 4.0',
104
- 'zope.component[hook,zcml] >= 4.3.0',
105
- 'zope.deprecation',
106
- 'zope.exceptions',
107
- 'zope.formlib',
108
- 'zope.i18nmessageid',
109
- 'zope.interface',
110
- 'zope.publisher >= 4.3.1',
111
- 'zope.schema',
112
- 'zope.security',
113
- 'zope.traversing',
114
- 'zope.componentvocabulary',
115
- ],
116
- include_package_data=True,
117
- zip_safe=False,
118
- )