plone.api 2.5.3__tar.gz → 3.0.0a2__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.
- {plone_api-2.5.3 → plone_api-3.0.0a2}/CHANGES.md +21 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/PKG-INFO +26 -7
- {plone_api-2.5.3 → plone_api-3.0.0a2}/pyproject.toml +7 -6
- {plone_api-2.5.3 → plone_api-3.0.0a2}/setup.py +3 -10
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/addon.py +2 -2
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone.api.egg-info/PKG-INFO +26 -7
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone.api.egg-info/SOURCES.txt +0 -2
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone.api.egg-info/requires.txt +0 -1
- {plone_api-2.5.3 → plone_api-3.0.0a2}/tox.ini +76 -98
- plone_api-2.5.3/src/plone/__init__.py +0 -1
- plone_api-2.5.3/src/plone.api.egg-info/namespace_packages.txt +0 -1
- {plone_api-2.5.3 → plone_api-3.0.0a2}/CONTRIBUTING.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/LICENSE +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/MANIFEST.in +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/README.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/docs/about.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/docs/addon.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/docs/content.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/docs/contribute.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/docs/env.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/docs/group.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/docs/index.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/docs/portal.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/docs/relation.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/docs/user.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/setup.cfg +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/__init__.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/configure.zcml +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/content.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/env.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/exc.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/group.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/portal.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/profiles/testfixture/metadata.xml +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/profiles/testfixture/types/Dexterity_Folder.xml +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/profiles/testfixture/types/Dexterity_Item.xml +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/profiles/testfixture/types.xml +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/relation.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/testing.zcml +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/Dexterity_Folder.xml +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/Dexterity_Item.xml +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/__init__.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/base.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/doctests/about.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/doctests/addon.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/doctests/content.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/doctests/contribute.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/doctests/env.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/doctests/group.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/doctests/portal.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/doctests/relation.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/doctests/user.md +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/test_addon.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/test_content.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/test_doctests.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/test_env.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/test_group.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/test_portal.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/test_relation.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/test_user.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/tests/test_validation.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/user.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/validation.py +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone.api.egg-info/dependency_links.txt +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone.api.egg-info/not-zip-safe +0 -0
- {plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone.api.egg-info/top_level.txt +0 -0
|
@@ -9,6 +9,27 @@
|
|
|
9
9
|
|
|
10
10
|
<!-- towncrier release notes start -->
|
|
11
11
|
|
|
12
|
+
## 3.0.0a2 (2025-12-18)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug fixes:
|
|
16
|
+
|
|
17
|
+
- Fix deprecation warnings for `INonInstallable` and `get_installer`. @mauritsvanrees
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Internal:
|
|
21
|
+
|
|
22
|
+
- Improve trigger for RTD PR preview builds. @stevepiercy #591
|
|
23
|
+
- Ignore the `/_build` directory from building documentation. @stevepiercy #598
|
|
24
|
+
|
|
25
|
+
## 3.0.0a1 (2025-11-26)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Breaking changes:
|
|
29
|
+
|
|
30
|
+
- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
|
|
31
|
+
Support only Plone 6.2 and Python 3.10+. #3928
|
|
32
|
+
|
|
12
33
|
## 2.5.3 (2025-09-10)
|
|
13
34
|
|
|
14
35
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: plone.api
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0a2
|
|
4
4
|
Summary: A Plone API.
|
|
5
5
|
Home-page: https://github.com/plone/plone.api
|
|
6
6
|
Author: Plone Foundation
|
|
@@ -19,17 +19,15 @@ Platform: Any
|
|
|
19
19
|
Classifier: Development Status :: 5 - Production/Stable
|
|
20
20
|
Classifier: Environment :: Web Environment
|
|
21
21
|
Classifier: Framework :: Plone
|
|
22
|
-
Classifier: Framework :: Plone :: 6.
|
|
22
|
+
Classifier: Framework :: Plone :: 6.2
|
|
23
23
|
Classifier: Framework :: Plone :: Core
|
|
24
24
|
Classifier: Intended Audience :: Developers
|
|
25
25
|
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
|
|
26
26
|
Classifier: Operating System :: OS Independent
|
|
27
27
|
Classifier: Programming Language :: Python
|
|
28
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
29
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
30
28
|
Classifier: Programming Language :: Python :: 3.10
|
|
31
29
|
Classifier: Programming Language :: Python :: 3.11
|
|
32
|
-
Requires-Python: >=3.
|
|
30
|
+
Requires-Python: >=3.10
|
|
33
31
|
Description-Content-Type: text/markdown
|
|
34
32
|
License-File: LICENSE
|
|
35
33
|
Requires-Dist: Acquisition
|
|
@@ -46,7 +44,6 @@ Requires-Dist: plone.dexterity
|
|
|
46
44
|
Requires-Dist: plone.i18n
|
|
47
45
|
Requires-Dist: plone.registry
|
|
48
46
|
Requires-Dist: plone.uuid
|
|
49
|
-
Requires-Dist: setuptools
|
|
50
47
|
Requires-Dist: zope.globalrequest
|
|
51
48
|
Requires-Dist: Products.CMFCore
|
|
52
49
|
Requires-Dist: z3c.relationfield
|
|
@@ -71,6 +68,7 @@ Dynamic: description-content-type
|
|
|
71
68
|
Dynamic: home-page
|
|
72
69
|
Dynamic: keywords
|
|
73
70
|
Dynamic: license
|
|
71
|
+
Dynamic: license-file
|
|
74
72
|
Dynamic: platform
|
|
75
73
|
Dynamic: project-url
|
|
76
74
|
Dynamic: provides-extra
|
|
@@ -132,6 +130,27 @@ Continuous Integration
|
|
|
132
130
|
|
|
133
131
|
<!-- towncrier release notes start -->
|
|
134
132
|
|
|
133
|
+
## 3.0.0a2 (2025-12-18)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### Bug fixes:
|
|
137
|
+
|
|
138
|
+
- Fix deprecation warnings for `INonInstallable` and `get_installer`. @mauritsvanrees
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
### Internal:
|
|
142
|
+
|
|
143
|
+
- Improve trigger for RTD PR preview builds. @stevepiercy #591
|
|
144
|
+
- Ignore the `/_build` directory from building documentation. @stevepiercy #598
|
|
145
|
+
|
|
146
|
+
## 3.0.0a1 (2025-11-26)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Breaking changes:
|
|
150
|
+
|
|
151
|
+
- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
|
|
152
|
+
Support only Plone 6.2 and Python 3.10+. #3928
|
|
153
|
+
|
|
135
154
|
## 2.5.3 (2025-09-10)
|
|
136
155
|
|
|
137
156
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Generated from:
|
|
2
|
-
# https://github.com/plone/meta/tree/main/
|
|
2
|
+
# https://github.com/plone/meta/tree/main/src/plone/meta/default
|
|
3
3
|
# See the inline comments on how to expand/tweak this configuration file
|
|
4
4
|
[build-system]
|
|
5
|
-
requires = ["setuptools>=68.2,<
|
|
5
|
+
requires = ["setuptools>=68.2,<80", "wheel"]
|
|
6
6
|
|
|
7
7
|
[tool.towncrier]
|
|
8
8
|
directory = "news/"
|
|
@@ -39,7 +39,7 @@ showcontent = true
|
|
|
39
39
|
|
|
40
40
|
[[tool.towncrier.type]]
|
|
41
41
|
directory = "tests"
|
|
42
|
-
name = "Tests"
|
|
42
|
+
name = "Tests:"
|
|
43
43
|
showcontent = true
|
|
44
44
|
|
|
45
45
|
##
|
|
@@ -73,7 +73,7 @@ target-version = ["py38"]
|
|
|
73
73
|
##
|
|
74
74
|
|
|
75
75
|
[tool.codespell]
|
|
76
|
-
ignore-words-list = "discreet,manuel"
|
|
76
|
+
ignore-words-list = "discreet,assertin,thet,manuel,checkin"
|
|
77
77
|
skip = "*.po,"
|
|
78
78
|
##
|
|
79
79
|
# Add extra configuration options in .meta.toml:
|
|
@@ -121,6 +121,7 @@ Zope = [
|
|
|
121
121
|
'Products.CMFCore', 'Products.CMFDynamicViewFTI',
|
|
122
122
|
]
|
|
123
123
|
python-dateutil = ['dateutil']
|
|
124
|
+
pytest-plone = ['pytest', 'zope.pytestlayer', 'plone.testing', 'plone.app.testing']
|
|
124
125
|
ignore-packages = ['Products.PrintingMailHost', 'plone.app.iterate',]
|
|
125
126
|
|
|
126
127
|
##
|
|
@@ -142,11 +143,11 @@ ignore = [
|
|
|
142
143
|
"dependabot.yml",
|
|
143
144
|
"mx.ini",
|
|
144
145
|
"tox.ini",
|
|
146
|
+
# From `.meta.toml`, pyproject.check_manifest_ignores.
|
|
145
147
|
"*.cfg",
|
|
146
148
|
".editorconfig",
|
|
147
149
|
".readthedocs.yaml",
|
|
148
|
-
"
|
|
149
|
-
"constraints_plone60.txt",
|
|
150
|
+
"constraints_plone62.txt",
|
|
150
151
|
"constraints.txt",
|
|
151
152
|
"fix-converted-myst.py",
|
|
152
153
|
"Makefile",
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
from pathlib import Path
|
|
2
|
-
from setuptools import find_packages
|
|
3
2
|
from setuptools import setup
|
|
4
3
|
|
|
5
4
|
|
|
6
|
-
version = "
|
|
5
|
+
version = "3.0.0a2"
|
|
7
6
|
|
|
8
7
|
long_description = "\n".join(
|
|
9
8
|
[Path("README.md").read_text(), Path("CHANGES.md").read_text()]
|
|
@@ -18,14 +17,11 @@ setup(
|
|
|
18
17
|
author="Plone Foundation",
|
|
19
18
|
author_email="plone-developers@lists.sourceforge.net",
|
|
20
19
|
license="GPL version 2",
|
|
21
|
-
packages=find_packages("src"),
|
|
22
|
-
package_dir={"": "src"},
|
|
23
|
-
namespace_packages=["plone"],
|
|
24
20
|
include_package_data=True,
|
|
25
21
|
zip_safe=False,
|
|
26
22
|
url="https://github.com/plone/plone.api",
|
|
27
23
|
keywords="plone api",
|
|
28
|
-
python_requires=">=3.
|
|
24
|
+
python_requires=">=3.10",
|
|
29
25
|
install_requires=[
|
|
30
26
|
"Acquisition",
|
|
31
27
|
"Products.statusmessages",
|
|
@@ -41,7 +37,6 @@ setup(
|
|
|
41
37
|
"plone.i18n",
|
|
42
38
|
"plone.registry",
|
|
43
39
|
"plone.uuid",
|
|
44
|
-
"setuptools",
|
|
45
40
|
"zope.globalrequest",
|
|
46
41
|
"Products.CMFCore",
|
|
47
42
|
"z3c.relationfield",
|
|
@@ -68,14 +63,12 @@ setup(
|
|
|
68
63
|
"Development Status :: 5 - Production/Stable",
|
|
69
64
|
"Environment :: Web Environment",
|
|
70
65
|
"Framework :: Plone",
|
|
71
|
-
"Framework :: Plone :: 6.
|
|
66
|
+
"Framework :: Plone :: 6.2",
|
|
72
67
|
"Framework :: Plone :: Core",
|
|
73
68
|
"Intended Audience :: Developers",
|
|
74
69
|
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
|
|
75
70
|
"Operating System :: OS Independent",
|
|
76
71
|
"Programming Language :: Python",
|
|
77
|
-
"Programming Language :: Python :: 3.8",
|
|
78
|
-
"Programming Language :: Python :: 3.9",
|
|
79
72
|
"Programming Language :: Python :: 3.10",
|
|
80
73
|
"Programming Language :: Python :: 3.11",
|
|
81
74
|
],
|
|
@@ -7,9 +7,9 @@ from importlib.metadata import PackageNotFoundError
|
|
|
7
7
|
from plone.api import portal
|
|
8
8
|
from plone.api.exc import InvalidParameterError
|
|
9
9
|
from plone.api.validation import required_parameters
|
|
10
|
+
from plone.base.interfaces import INonInstallable
|
|
11
|
+
from plone.base.utils import get_installer
|
|
10
12
|
from Products.CMFPlone.controlpanel.browser.quickinstaller import InstallerView
|
|
11
|
-
from Products.CMFPlone.interfaces import INonInstallable
|
|
12
|
-
from Products.CMFPlone.utils import get_installer
|
|
13
13
|
from Products.GenericSetup import EXTENSION
|
|
14
14
|
from typing import Dict
|
|
15
15
|
from typing import List
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: plone.api
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0a2
|
|
4
4
|
Summary: A Plone API.
|
|
5
5
|
Home-page: https://github.com/plone/plone.api
|
|
6
6
|
Author: Plone Foundation
|
|
@@ -19,17 +19,15 @@ Platform: Any
|
|
|
19
19
|
Classifier: Development Status :: 5 - Production/Stable
|
|
20
20
|
Classifier: Environment :: Web Environment
|
|
21
21
|
Classifier: Framework :: Plone
|
|
22
|
-
Classifier: Framework :: Plone :: 6.
|
|
22
|
+
Classifier: Framework :: Plone :: 6.2
|
|
23
23
|
Classifier: Framework :: Plone :: Core
|
|
24
24
|
Classifier: Intended Audience :: Developers
|
|
25
25
|
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
|
|
26
26
|
Classifier: Operating System :: OS Independent
|
|
27
27
|
Classifier: Programming Language :: Python
|
|
28
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
29
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
30
28
|
Classifier: Programming Language :: Python :: 3.10
|
|
31
29
|
Classifier: Programming Language :: Python :: 3.11
|
|
32
|
-
Requires-Python: >=3.
|
|
30
|
+
Requires-Python: >=3.10
|
|
33
31
|
Description-Content-Type: text/markdown
|
|
34
32
|
License-File: LICENSE
|
|
35
33
|
Requires-Dist: Acquisition
|
|
@@ -46,7 +44,6 @@ Requires-Dist: plone.dexterity
|
|
|
46
44
|
Requires-Dist: plone.i18n
|
|
47
45
|
Requires-Dist: plone.registry
|
|
48
46
|
Requires-Dist: plone.uuid
|
|
49
|
-
Requires-Dist: setuptools
|
|
50
47
|
Requires-Dist: zope.globalrequest
|
|
51
48
|
Requires-Dist: Products.CMFCore
|
|
52
49
|
Requires-Dist: z3c.relationfield
|
|
@@ -71,6 +68,7 @@ Dynamic: description-content-type
|
|
|
71
68
|
Dynamic: home-page
|
|
72
69
|
Dynamic: keywords
|
|
73
70
|
Dynamic: license
|
|
71
|
+
Dynamic: license-file
|
|
74
72
|
Dynamic: platform
|
|
75
73
|
Dynamic: project-url
|
|
76
74
|
Dynamic: provides-extra
|
|
@@ -132,6 +130,27 @@ Continuous Integration
|
|
|
132
130
|
|
|
133
131
|
<!-- towncrier release notes start -->
|
|
134
132
|
|
|
133
|
+
## 3.0.0a2 (2025-12-18)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### Bug fixes:
|
|
137
|
+
|
|
138
|
+
- Fix deprecation warnings for `INonInstallable` and `get_installer`. @mauritsvanrees
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
### Internal:
|
|
142
|
+
|
|
143
|
+
- Improve trigger for RTD PR preview builds. @stevepiercy #591
|
|
144
|
+
- Ignore the `/_build` directory from building documentation. @stevepiercy #598
|
|
145
|
+
|
|
146
|
+
## 3.0.0a1 (2025-11-26)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Breaking changes:
|
|
150
|
+
|
|
151
|
+
- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
|
|
152
|
+
Support only Plone 6.2 and Python 3.10+. #3928
|
|
153
|
+
|
|
135
154
|
## 2.5.3 (2025-09-10)
|
|
136
155
|
|
|
137
156
|
|
|
@@ -17,11 +17,9 @@ docs/index.md
|
|
|
17
17
|
docs/portal.md
|
|
18
18
|
docs/relation.md
|
|
19
19
|
docs/user.md
|
|
20
|
-
src/plone/__init__.py
|
|
21
20
|
src/plone.api.egg-info/PKG-INFO
|
|
22
21
|
src/plone.api.egg-info/SOURCES.txt
|
|
23
22
|
src/plone.api.egg-info/dependency_links.txt
|
|
24
|
-
src/plone.api.egg-info/namespace_packages.txt
|
|
25
23
|
src/plone.api.egg-info/not-zip-safe
|
|
26
24
|
src/plone.api.egg-info/requires.txt
|
|
27
25
|
src/plone.api.egg-info/top_level.txt
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Generated from:
|
|
2
|
-
# https://github.com/plone/meta/tree/main/
|
|
2
|
+
# https://github.com/plone/meta/tree/main/src/plone/meta/default
|
|
3
3
|
# See the inline comments on how to expand/tweak this configuration file
|
|
4
4
|
[tox]
|
|
5
5
|
# We need 4.4.0 for constrain_package_deps.
|
|
@@ -7,28 +7,25 @@ min_version = 4.4.0
|
|
|
7
7
|
envlist =
|
|
8
8
|
lint
|
|
9
9
|
test
|
|
10
|
+
py313-plone62
|
|
11
|
+
py312-plone62
|
|
12
|
+
py311-plone62
|
|
13
|
+
py310-plone62
|
|
10
14
|
dependencies
|
|
11
|
-
py{38,39,310,311}-plone{60}
|
|
12
15
|
linkcheck
|
|
13
16
|
plone6docs
|
|
14
17
|
docs
|
|
15
18
|
|
|
16
19
|
skip_missing_interpreters = True
|
|
17
20
|
|
|
18
|
-
[gh-actions]
|
|
19
|
-
python =
|
|
20
|
-
3.8: py38
|
|
21
|
-
3.9: py39
|
|
22
|
-
3.10: py310
|
|
23
|
-
3.11: py311
|
|
24
|
-
|
|
25
|
-
[gh-actions:env]
|
|
26
|
-
PLONE =
|
|
27
|
-
60: plone60
|
|
28
|
-
|
|
29
21
|
##
|
|
30
22
|
# Add extra configuration options in .meta.toml:
|
|
23
|
+
# - to specify a custom testing combination of Plone and python versions, use `test_matrix`
|
|
24
|
+
# Use ["*"] to use all supported Python versions for this Plone version.
|
|
25
|
+
# - to specify extra custom environments, use `envlist_lines`
|
|
26
|
+
# - to specify extra `tox` top-level options, use `config_lines`
|
|
31
27
|
# [tox]
|
|
28
|
+
# test_matrix = {"6.2" = ["3.13", "3.12"], "6.1" = ["*"]}
|
|
32
29
|
# envlist_lines = """
|
|
33
30
|
# my_other_environment
|
|
34
31
|
# """
|
|
@@ -37,32 +34,14 @@ PLONE =
|
|
|
37
34
|
# """
|
|
38
35
|
##
|
|
39
36
|
|
|
40
|
-
[testenv]
|
|
41
|
-
skip_install = true
|
|
42
|
-
allowlist_externals =
|
|
43
|
-
echo
|
|
44
|
-
false
|
|
45
|
-
# Make sure typos like `tox -e formaat` are caught instead of silently doing nothing.
|
|
46
|
-
# See https://github.com/tox-dev/tox/issues/2858.
|
|
47
|
-
commands =
|
|
48
|
-
echo "Unrecognized environment name {envname}"
|
|
49
|
-
false
|
|
50
|
-
|
|
51
|
-
##
|
|
52
|
-
# Add extra configuration options in .meta.toml:
|
|
53
|
-
# [tox]
|
|
54
|
-
# testenv_options = """
|
|
55
|
-
# basepython = /usr/bin/python3.8
|
|
56
|
-
# """
|
|
57
|
-
##
|
|
58
|
-
|
|
59
37
|
[testenv:init]
|
|
60
38
|
description = Prepare environment
|
|
61
39
|
skip_install = true
|
|
40
|
+
allowlist_externals =
|
|
41
|
+
echo
|
|
62
42
|
commands =
|
|
63
43
|
echo "Initial setup complete"
|
|
64
44
|
|
|
65
|
-
|
|
66
45
|
[testenv:format]
|
|
67
46
|
description = automatically reformat code
|
|
68
47
|
skip_install = true
|
|
@@ -103,11 +82,22 @@ deps =
|
|
|
103
82
|
commands =
|
|
104
83
|
sh -c 'pipdeptree --exclude setuptools,wheel,pipdeptree,zope.interface,zope.component --graph-output svg > dependencies.svg'
|
|
105
84
|
|
|
106
|
-
|
|
107
|
-
|
|
85
|
+
|
|
86
|
+
[test_runner]
|
|
87
|
+
deps = zope.testrunner
|
|
88
|
+
test =
|
|
89
|
+
zope-testrunner --all --test-path={toxinidir}/src -s plone.api {posargs}
|
|
90
|
+
coverage =
|
|
91
|
+
coverage run --branch --source plone.api {envbindir}/zope-testrunner --quiet --all --test-path={toxinidir}/src -s plone.api {posargs}
|
|
92
|
+
coverage report -m --format markdown
|
|
93
|
+
coverage xml
|
|
94
|
+
coverage html
|
|
95
|
+
|
|
96
|
+
[base]
|
|
97
|
+
description = shared configuration for tests and coverage
|
|
108
98
|
use_develop = true
|
|
109
99
|
skip_install = false
|
|
110
|
-
constrain_package_deps =
|
|
100
|
+
constrain_package_deps = true
|
|
111
101
|
set_env =
|
|
112
102
|
ROBOT_BROWSER=headlesschrome
|
|
113
103
|
|
|
@@ -120,26 +110,27 @@ set_env =
|
|
|
120
110
|
#
|
|
121
111
|
# Set constrain_package_deps .meta.toml:
|
|
122
112
|
# [tox]
|
|
123
|
-
# constrain_package_deps =
|
|
113
|
+
# constrain_package_deps = false
|
|
124
114
|
##
|
|
125
115
|
deps =
|
|
126
|
-
|
|
127
|
-
-c https://dist.plone.org/release/6.
|
|
116
|
+
{[test_runner]deps}
|
|
117
|
+
plone62: -c https://dist.plone.org/release/6.2-dev/constraints.txt
|
|
128
118
|
|
|
129
119
|
##
|
|
130
120
|
# Specify additional deps in .meta.toml:
|
|
131
121
|
# [tox]
|
|
132
|
-
# test_deps_additional = "
|
|
122
|
+
# test_deps_additional = """
|
|
123
|
+
# -esources/plonegovbr.portal_base[test]
|
|
124
|
+
# """
|
|
133
125
|
#
|
|
134
126
|
# Specify a custom constraints file in .meta.toml:
|
|
135
127
|
# [tox]
|
|
136
128
|
# constraints_file = "https://my-server.com/constraints.txt"
|
|
137
129
|
##
|
|
138
|
-
commands =
|
|
139
|
-
zope-testrunner --all --test-path={toxinidir}/src -s plone.api {posargs}
|
|
140
130
|
extras =
|
|
141
131
|
test
|
|
142
132
|
|
|
133
|
+
|
|
143
134
|
##
|
|
144
135
|
# Add extra configuration options in .meta.toml:
|
|
145
136
|
# [tox]
|
|
@@ -147,35 +138,52 @@ extras =
|
|
|
147
138
|
# tests
|
|
148
139
|
# widgets
|
|
149
140
|
# """
|
|
141
|
+
#
|
|
142
|
+
# Add extra configuration options in .meta.toml:
|
|
143
|
+
# [tox]
|
|
144
|
+
# testenv_options = """
|
|
145
|
+
# basepython = /usr/bin/python3.8
|
|
146
|
+
# """
|
|
150
147
|
##
|
|
151
148
|
|
|
149
|
+
[testenv:test]
|
|
150
|
+
description = run the distribution tests
|
|
151
|
+
use_develop = {[base]use_develop}
|
|
152
|
+
skip_install = {[base]skip_install}
|
|
153
|
+
constrain_package_deps = {[base]constrain_package_deps}
|
|
154
|
+
set_env = {[base]set_env}
|
|
155
|
+
deps =
|
|
156
|
+
{[test_runner]deps}
|
|
157
|
+
-c https://dist.plone.org/release/6.2-dev/constraints.txt
|
|
158
|
+
|
|
159
|
+
commands = {[test_runner]test}
|
|
160
|
+
extras = {[base]extras}
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
[testenv]
|
|
164
|
+
description = run the distribution tests (generative environments)
|
|
165
|
+
use_develop = {[base]use_develop}
|
|
166
|
+
skip_install = {[base]skip_install}
|
|
167
|
+
constrain_package_deps = {[base]constrain_package_deps}
|
|
168
|
+
set_env = {[base]set_env}
|
|
169
|
+
deps = {[base]deps}
|
|
170
|
+
commands = {[test_runner]test}
|
|
171
|
+
extras = {[base]extras}
|
|
172
|
+
|
|
173
|
+
|
|
152
174
|
[testenv:coverage]
|
|
153
175
|
description = get a test coverage report
|
|
154
|
-
use_develop =
|
|
155
|
-
skip_install =
|
|
156
|
-
constrain_package_deps =
|
|
157
|
-
set_env =
|
|
158
|
-
ROBOT_BROWSER=headlesschrome
|
|
159
|
-
|
|
160
|
-
##
|
|
161
|
-
# Specify extra test environment variables in .meta.toml:
|
|
162
|
-
# [tox]
|
|
163
|
-
# test_environment_variables = """
|
|
164
|
-
# PIP_EXTRA_INDEX_URL=https://my-pypi.my-server.com/
|
|
165
|
-
# """
|
|
166
|
-
##
|
|
176
|
+
use_develop = {[base]use_develop}
|
|
177
|
+
skip_install = {[base]skip_install}
|
|
178
|
+
constrain_package_deps = {[base]constrain_package_deps}
|
|
179
|
+
set_env = {[base]set_env}
|
|
167
180
|
deps =
|
|
181
|
+
{[test_runner]deps}
|
|
168
182
|
coverage
|
|
169
|
-
|
|
170
|
-
-c https://dist.plone.org/release/6.0-dev/constraints.txt
|
|
183
|
+
-c https://dist.plone.org/release/6.2-dev/constraints.txt
|
|
171
184
|
|
|
172
|
-
commands =
|
|
173
|
-
|
|
174
|
-
coverage report -m --format markdown
|
|
175
|
-
coverage xml
|
|
176
|
-
coverage html
|
|
177
|
-
extras =
|
|
178
|
-
test
|
|
185
|
+
commands = {[test_runner]coverage}
|
|
186
|
+
extras = {[base]extras}
|
|
179
187
|
|
|
180
188
|
|
|
181
189
|
[testenv:release-check]
|
|
@@ -185,8 +193,7 @@ deps =
|
|
|
185
193
|
twine
|
|
186
194
|
build
|
|
187
195
|
towncrier
|
|
188
|
-
-c https://dist.plone.org/release/6.
|
|
189
|
-
|
|
196
|
+
-c https://dist.plone.org/release/6.2-dev/constraints.txt
|
|
190
197
|
commands =
|
|
191
198
|
# fake version to not have to install the package
|
|
192
199
|
# we build the change log as news entries might break
|
|
@@ -201,7 +208,7 @@ use_develop = true
|
|
|
201
208
|
skip_install = false
|
|
202
209
|
# Here we must always constrain the package deps to what is already installed,
|
|
203
210
|
# otherwise we simply get the latest from PyPI, which may not work.
|
|
204
|
-
constrain_package_deps =
|
|
211
|
+
constrain_package_deps = true
|
|
205
212
|
set_env =
|
|
206
213
|
|
|
207
214
|
##
|
|
@@ -216,8 +223,7 @@ allowlist_externals =
|
|
|
216
223
|
deps =
|
|
217
224
|
pipdeptree
|
|
218
225
|
pipforester
|
|
219
|
-
-c https://dist.plone.org/release/6.
|
|
220
|
-
|
|
226
|
+
-c https://dist.plone.org/release/6.2-dev/constraints.txt
|
|
221
227
|
commands =
|
|
222
228
|
# Generate the full dependency tree
|
|
223
229
|
sh -c 'pipdeptree -j > forest.json'
|
|
@@ -226,34 +232,6 @@ commands =
|
|
|
226
232
|
# Report if there are any circular dependencies, i.e. error if there are any
|
|
227
233
|
pipforester -i forest.json --check-cycles -o /dev/null
|
|
228
234
|
|
|
229
|
-
[testenv:py{38,39,310,311}-plone{60}]
|
|
230
|
-
skip_install = True
|
|
231
|
-
|
|
232
|
-
commands =
|
|
233
|
-
python -VV
|
|
234
|
-
pip install -r requirements.txt
|
|
235
|
-
pip list
|
|
236
|
-
{envbindir}/buildout -c /{toxinidir}/{env:BUILDOUT_FILE} buildout:directory={envdir} buildout:develop={toxinidir} install test
|
|
237
|
-
{envbindir}/buildout -c {toxinidir}/{env:BUILDOUT_FILE} buildout:directory={envdir} buildout:develop={toxinidir} annotate
|
|
238
|
-
{envbindir}/test
|
|
239
|
-
|
|
240
|
-
setenv =
|
|
241
|
-
BUILDOUT_FILE=test_plone-60.cfg
|
|
242
|
-
|
|
243
|
-
deps =
|
|
244
|
-
pdbpp
|
|
245
|
-
manuel
|
|
246
|
-
|
|
247
|
-
# tox < 4.0.0
|
|
248
|
-
whitelist_externals =
|
|
249
|
-
mkdir
|
|
250
|
-
echo
|
|
251
|
-
|
|
252
|
-
# tox >= 4.0.0
|
|
253
|
-
allowlist_externals =
|
|
254
|
-
mkdir
|
|
255
|
-
echo
|
|
256
|
-
|
|
257
235
|
[testenv:plone6docs]
|
|
258
236
|
# New docs with plone-sphinx-theme
|
|
259
237
|
# See [testenv:docs] for classic documentation
|
|
@@ -286,7 +264,7 @@ commands =
|
|
|
286
264
|
sphinx-build -b html -d "{env:READTHEDOCS_OUTPUT}"/doctrees/ docs "{env:READTHEDOCS_OUTPUT}"/html/
|
|
287
265
|
|
|
288
266
|
[testenv:docs]
|
|
289
|
-
basepython = python3.
|
|
267
|
+
basepython = python3.11
|
|
290
268
|
skip_install = False
|
|
291
269
|
usedevelop = True
|
|
292
270
|
allowlist_externals =
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
plone
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/profiles/testfixture/types/Dexterity_Folder.xml
RENAMED
|
File without changes
|
{plone_api-2.5.3 → plone_api-3.0.0a2}/src/plone/api/profiles/testfixture/types/Dexterity_Item.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|