plone.app.customerize 2.0.2__tar.gz → 2.0.3__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 (49) hide show
  1. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/.editorconfig +5 -3
  2. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/.flake8 +1 -1
  3. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/.gitignore +3 -1
  4. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/.meta.toml +2 -2
  5. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/.pre-commit-config.yaml +8 -8
  6. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/CHANGES.rst +9 -0
  7. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/MANIFEST.in +1 -1
  8. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/PKG-INFO +24 -2
  9. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/pyproject.toml +14 -6
  10. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/setup.py +3 -2
  11. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone.app.customerize.egg-info/PKG-INFO +24 -2
  12. plone_app_customerize-2.0.3/src/plone.app.customerize.egg-info/SOURCES.txt +46 -0
  13. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/tox.ini +90 -56
  14. plone_app_customerize-2.0.2/plone.app.customerize.egg-info/SOURCES.txt +0 -46
  15. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/CONTRIBUTING.rst +0 -0
  16. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/README.rst +0 -0
  17. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/docs/LICENSE.GPL +0 -0
  18. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/docs/LICENSE.txt +0 -0
  19. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3}/setup.cfg +0 -0
  20. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/__init__.py +0 -0
  21. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/__init__.py +0 -0
  22. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/README.txt +0 -0
  23. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/TODO.txt +0 -0
  24. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/__init__.py +0 -0
  25. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/browser.py +0 -0
  26. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/configure.zcml +0 -0
  27. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/customize.pt +0 -0
  28. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/dependencies.zcml +0 -0
  29. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/registration.py +0 -0
  30. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/registrations.pt +0 -0
  31. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/testing.py +0 -0
  32. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tests/__init__.py +0 -0
  33. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tests/duplicate_viewlet.zcml +0 -0
  34. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tests/interfaces.py +0 -0
  35. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tests/local.pt +0 -0
  36. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tests/profiles/testing/viewlets.xml +0 -0
  37. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tests/standard.pt +0 -0
  38. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tests/testBrowserLayers.txt +0 -0
  39. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tests/testCustomizeView.txt +0 -0
  40. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tests/testDocTests.py +0 -0
  41. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tests/testing.zcml +0 -0
  42. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tests/viewlets.py +0 -0
  43. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tool.gif +0 -0
  44. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone/app/customerize/tool.py +0 -0
  45. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone.app.customerize.egg-info/dependency_links.txt +0 -0
  46. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone.app.customerize.egg-info/namespace_packages.txt +0 -0
  47. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone.app.customerize.egg-info/not-zip-safe +0 -0
  48. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone.app.customerize.egg-info/requires.txt +0 -0
  49. {plone_app_customerize-2.0.2 → plone_app_customerize-2.0.3/src}/plone.app.customerize.egg-info/top_level.txt +0 -0
@@ -1,5 +1,5 @@
1
1
  # Generated from:
2
- # https://github.com/plone/meta/tree/main/config/default
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
  #
5
5
  # EditorConfig Configuration file, for more details see:
@@ -13,7 +13,8 @@
13
13
  root = true
14
14
 
15
15
 
16
- [*] # For All Files
16
+ [*]
17
+ # Default settings for all files.
17
18
  # Unix-style newlines with a newline ending every file
18
19
  end_of_line = lf
19
20
  insert_final_newline = true
@@ -33,7 +34,8 @@ indent_size = 4
33
34
  # 2 space indentation
34
35
  indent_size = 2
35
36
 
36
- [*.{json,jsonl,js,jsx,ts,tsx,css,less,scss}] # Frontend development
37
+ [*.{json,jsonl,js,jsx,ts,tsx,css,less,scss}]
38
+ # Frontend development
37
39
  # 2 space indentation
38
40
  indent_size = 2
39
41
  max_line_length = 80
@@ -1,5 +1,5 @@
1
1
  # Generated from:
2
- # https://github.com/plone/meta/tree/main/config/default
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
  [flake8]
5
5
  doctests = 1
@@ -1,5 +1,5 @@
1
1
  # Generated from:
2
- # https://github.com/plone/meta/tree/main/config/default
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
  # python related
5
5
  *.egg-info
@@ -20,6 +20,8 @@ __pycache__/
20
20
  .tox
21
21
  .vscode/
22
22
  node_modules/
23
+ forest.dot
24
+ forest.json
23
25
 
24
26
  # venv / buildout related
25
27
  bin/
@@ -1,9 +1,9 @@
1
1
  # Generated from:
2
- # https://github.com/plone/meta/tree/main/config/default
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
  [meta]
5
5
  template = "default"
6
- commit-id = "6e36bcc4"
6
+ commit-id = "2.0.1.dev0"
7
7
 
8
8
  [pre_commit]
9
9
  extra_lines = """
@@ -1,5 +1,5 @@
1
1
  # Generated from:
2
- # https://github.com/plone/meta/tree/main/config/default
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
  ci:
5
5
  autofix_prs: false
@@ -7,20 +7,20 @@ ci:
7
7
 
8
8
  repos:
9
9
  - repo: https://github.com/asottile/pyupgrade
10
- rev: v3.19.1
10
+ rev: v3.20.0
11
11
  hooks:
12
12
  - id: pyupgrade
13
13
  args: [--py38-plus]
14
14
  - repo: https://github.com/pycqa/isort
15
- rev: 5.13.2
15
+ rev: 6.0.1
16
16
  hooks:
17
17
  - id: isort
18
18
  - repo: https://github.com/psf/black
19
- rev: 24.10.0
19
+ rev: 25.1.0
20
20
  hooks:
21
21
  - id: black
22
22
  - repo: https://github.com/collective/zpretty
23
- rev: 3.1.0
23
+ rev: 3.1.1
24
24
  hooks:
25
25
  - id: zpretty
26
26
 
@@ -32,7 +32,7 @@ repos:
32
32
  # """
33
33
  ##
34
34
  - repo: https://github.com/PyCQA/flake8
35
- rev: 7.1.1
35
+ rev: 7.3.0
36
36
  hooks:
37
37
  - id: flake8
38
38
 
@@ -44,7 +44,7 @@ repos:
44
44
  # """
45
45
  ##
46
46
  - repo: https://github.com/codespell-project/codespell
47
- rev: v2.3.0
47
+ rev: v2.4.1
48
48
  hooks:
49
49
  - id: codespell
50
50
  additional_dependencies:
@@ -62,7 +62,7 @@ repos:
62
62
  hooks:
63
63
  - id: check-manifest
64
64
  - repo: https://github.com/regebro/pyroma
65
- rev: "4.2"
65
+ rev: "5.0"
66
66
  hooks:
67
67
  - id: pyroma
68
68
  - repo: https://github.com/mgedmin/check-python-versions
@@ -9,6 +9,15 @@ Changelog
9
9
 
10
10
  .. towncrier release notes start
11
11
 
12
+ 2.0.3 (2025-09-11)
13
+ ------------------
14
+
15
+ Internal:
16
+
17
+
18
+ - Move distribution to src layout [gforcada] (#4217)
19
+
20
+
12
21
  2.0.2 (2025-01-24)
13
22
  ------------------
14
23
 
@@ -1,7 +1,7 @@
1
1
  include *
2
2
 
3
3
  recursive-include docs *
4
- recursive-include plone *
4
+ recursive-include src *
5
5
 
6
6
  global-exclude *pyc
7
7
  include pyproject.toml
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: plone.app.customerize
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: Integrate five.customerize into Plone.
5
5
  Home-page: https://pypi.org/project/plone.app.customerize/
6
6
  Author: Plone Foundation
@@ -37,6 +37,19 @@ Requires-Dist: Products.GenericSetup; extra == "test"
37
37
  Requires-Dist: plone.app.layout; extra == "test"
38
38
  Requires-Dist: plone.app.testing; extra == "test"
39
39
  Requires-Dist: plone.testing; extra == "test"
40
+ Dynamic: author
41
+ Dynamic: author-email
42
+ Dynamic: classifier
43
+ Dynamic: description
44
+ Dynamic: description-content-type
45
+ Dynamic: home-page
46
+ Dynamic: keywords
47
+ Dynamic: license
48
+ Dynamic: platform
49
+ Dynamic: provides-extra
50
+ Dynamic: requires-dist
51
+ Dynamic: requires-python
52
+ Dynamic: summary
40
53
 
41
54
  Overview
42
55
  ========
@@ -61,6 +74,15 @@ Changelog
61
74
 
62
75
  .. towncrier release notes start
63
76
 
77
+ 2.0.3 (2025-09-11)
78
+ ------------------
79
+
80
+ Internal:
81
+
82
+
83
+ - Move distribution to src layout [gforcada] (#4217)
84
+
85
+
64
86
  2.0.2 (2025-01-24)
65
87
  ------------------
66
88
 
@@ -1,8 +1,8 @@
1
1
  # Generated from:
2
- # https://github.com/plone/meta/tree/main/config/default
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/"
@@ -37,7 +37,7 @@ showcontent = true
37
37
 
38
38
  [[tool.towncrier.type]]
39
39
  directory = "tests"
40
- name = "Tests"
40
+ name = "Tests:"
41
41
  showcontent = true
42
42
 
43
43
  ##
@@ -71,7 +71,7 @@ target-version = ["py38"]
71
71
  ##
72
72
 
73
73
  [tool.codespell]
74
- ignore-words-list = "discreet,"
74
+ ignore-words-list = "discreet,assertin,thet,"
75
75
  skip = "*.po,"
76
76
  ##
77
77
  # Add extra configuration options in .meta.toml:
@@ -119,6 +119,7 @@ Zope = [
119
119
  'Products.CMFCore', 'Products.CMFDynamicViewFTI',
120
120
  ]
121
121
  python-dateutil = ['dateutil']
122
+ pytest-plone = ['pytest', 'zope.pytestlayer', 'plone.testing', 'plone.app.testing']
122
123
 
123
124
  ##
124
125
  # Add extra configuration options in .meta.toml:
@@ -133,13 +134,15 @@ python-dateutil = ['dateutil']
133
134
  [tool.check-manifest]
134
135
  ignore = [
135
136
  ".editorconfig",
137
+ ".flake8",
136
138
  ".meta.toml",
137
139
  ".pre-commit-config.yaml",
138
- "tox.ini",
139
- ".flake8",
140
+ "dependabot.yml",
140
141
  "mx.ini",
142
+ "tox.ini",
141
143
 
142
144
  ]
145
+
143
146
  ##
144
147
  # Add extra configuration options in .meta.toml:
145
148
  # [pyproject]
@@ -147,6 +150,11 @@ ignore = [
147
150
  # "*.map.js",
148
151
  # "*.pyc",
149
152
  # """
153
+ # check_manifest_extra_lines = """
154
+ # ignore-bad-ideas = [
155
+ # "some/test/file/PKG-INFO",
156
+ # ]
157
+ # """
150
158
  ##
151
159
 
152
160
 
@@ -3,7 +3,7 @@ from setuptools import find_packages
3
3
  from setuptools import setup
4
4
 
5
5
 
6
- version = "2.0.2"
6
+ version = "2.0.3"
7
7
 
8
8
  long_description = (
9
9
  f"{Path('README.rst').read_text()}\n{Path('CHANGES.rst').read_text()}"
@@ -40,7 +40,8 @@ setup(
40
40
  author_email="plone-developers@lists.sourceforge.net",
41
41
  url="https://pypi.org/project/plone.app.customerize/",
42
42
  license="GPL version 2",
43
- packages=find_packages(),
43
+ packages=find_packages("src"),
44
+ package_dir={"": "src"},
44
45
  namespace_packages=["plone", "plone.app"],
45
46
  include_package_data=True,
46
47
  python_requires=">=3.8",
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: plone.app.customerize
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: Integrate five.customerize into Plone.
5
5
  Home-page: https://pypi.org/project/plone.app.customerize/
6
6
  Author: Plone Foundation
@@ -37,6 +37,19 @@ Requires-Dist: Products.GenericSetup; extra == "test"
37
37
  Requires-Dist: plone.app.layout; extra == "test"
38
38
  Requires-Dist: plone.app.testing; extra == "test"
39
39
  Requires-Dist: plone.testing; extra == "test"
40
+ Dynamic: author
41
+ Dynamic: author-email
42
+ Dynamic: classifier
43
+ Dynamic: description
44
+ Dynamic: description-content-type
45
+ Dynamic: home-page
46
+ Dynamic: keywords
47
+ Dynamic: license
48
+ Dynamic: platform
49
+ Dynamic: provides-extra
50
+ Dynamic: requires-dist
51
+ Dynamic: requires-python
52
+ Dynamic: summary
40
53
 
41
54
  Overview
42
55
  ========
@@ -61,6 +74,15 @@ Changelog
61
74
 
62
75
  .. towncrier release notes start
63
76
 
77
+ 2.0.3 (2025-09-11)
78
+ ------------------
79
+
80
+ Internal:
81
+
82
+
83
+ - Move distribution to src layout [gforcada] (#4217)
84
+
85
+
64
86
  2.0.2 (2025-01-24)
65
87
  ------------------
66
88
 
@@ -0,0 +1,46 @@
1
+ .editorconfig
2
+ .flake8
3
+ .gitignore
4
+ .meta.toml
5
+ .pre-commit-config.yaml
6
+ CHANGES.rst
7
+ CONTRIBUTING.rst
8
+ MANIFEST.in
9
+ README.rst
10
+ pyproject.toml
11
+ setup.py
12
+ tox.ini
13
+ docs/LICENSE.GPL
14
+ docs/LICENSE.txt
15
+ src/plone/__init__.py
16
+ src/plone.app.customerize.egg-info/PKG-INFO
17
+ src/plone.app.customerize.egg-info/SOURCES.txt
18
+ src/plone.app.customerize.egg-info/dependency_links.txt
19
+ src/plone.app.customerize.egg-info/namespace_packages.txt
20
+ src/plone.app.customerize.egg-info/not-zip-safe
21
+ src/plone.app.customerize.egg-info/requires.txt
22
+ src/plone.app.customerize.egg-info/top_level.txt
23
+ src/plone/app/__init__.py
24
+ src/plone/app/customerize/README.txt
25
+ src/plone/app/customerize/TODO.txt
26
+ src/plone/app/customerize/__init__.py
27
+ src/plone/app/customerize/browser.py
28
+ src/plone/app/customerize/configure.zcml
29
+ src/plone/app/customerize/customize.pt
30
+ src/plone/app/customerize/dependencies.zcml
31
+ src/plone/app/customerize/registration.py
32
+ src/plone/app/customerize/registrations.pt
33
+ src/plone/app/customerize/testing.py
34
+ src/plone/app/customerize/tool.gif
35
+ src/plone/app/customerize/tool.py
36
+ src/plone/app/customerize/tests/__init__.py
37
+ src/plone/app/customerize/tests/duplicate_viewlet.zcml
38
+ src/plone/app/customerize/tests/interfaces.py
39
+ src/plone/app/customerize/tests/local.pt
40
+ src/plone/app/customerize/tests/standard.pt
41
+ src/plone/app/customerize/tests/testBrowserLayers.txt
42
+ src/plone/app/customerize/tests/testCustomizeView.txt
43
+ src/plone/app/customerize/tests/testDocTests.py
44
+ src/plone/app/customerize/tests/testing.zcml
45
+ src/plone/app/customerize/tests/viewlets.py
46
+ src/plone/app/customerize/tests/profiles/testing/viewlets.xml
@@ -1,5 +1,5 @@
1
1
  # Generated from:
2
- # https://github.com/plone/meta/tree/main/config/default
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,12 +7,29 @@ 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
14
+ py313-plone61
15
+ py312-plone61
16
+ py311-plone61
17
+ py310-plone61
18
+ py313-plone60
19
+ py312-plone60
20
+ py311-plone60
21
+ py310-plone60
22
+ py39-plone60
10
23
  dependencies
11
24
 
12
25
 
13
26
  ##
14
27
  # Add extra configuration options in .meta.toml:
28
+ # - to specify a custom testing combination of Plone and python versions, use `test_matrix`
29
+ # - to specify extra custom environments, use `envlist_lines`
30
+ # - to specify extra `tox` top-level options, use `config_lines`
15
31
  # [tox]
32
+ # test_matrix = {"6.2" = ["3.13", "3.12"], "6.1" = ["3.10", "3.9"]}
16
33
  # envlist_lines = """
17
34
  # my_other_environment
18
35
  # """
@@ -21,32 +38,14 @@ envlist =
21
38
  # """
22
39
  ##
23
40
 
24
- [testenv]
25
- skip_install = true
26
- allowlist_externals =
27
- echo
28
- false
29
- # Make sure typos like `tox -e formaat` are caught instead of silently doing nothing.
30
- # See https://github.com/tox-dev/tox/issues/2858.
31
- commands =
32
- echo "Unrecognized environment name {envname}"
33
- false
34
-
35
- ##
36
- # Add extra configuration options in .meta.toml:
37
- # [tox]
38
- # testenv_options = """
39
- # basepython = /usr/bin/python3.8
40
- # """
41
- ##
42
-
43
41
  [testenv:init]
44
42
  description = Prepare environment
45
43
  skip_install = true
44
+ allowlist_externals =
45
+ echo
46
46
  commands =
47
47
  echo "Initial setup complete"
48
48
 
49
-
50
49
  [testenv:format]
51
50
  description = automatically reformat code
52
51
  skip_install = true
@@ -87,8 +86,19 @@ deps =
87
86
  commands =
88
87
  sh -c 'pipdeptree --exclude setuptools,wheel,pipdeptree,zope.interface,zope.component --graph-output svg > dependencies.svg'
89
88
 
90
- [testenv:test]
91
- description = run the distribution tests
89
+
90
+ [test_runner]
91
+ deps = zope.testrunner
92
+ test =
93
+ zope-testrunner --all --test-path={toxinidir}/src -s plone.app.customerize {posargs}
94
+ coverage =
95
+ coverage run --branch --source plone.app.customerize {envbindir}/zope-testrunner --quiet --all --test-path={toxinidir}/src -s plone.app.customerize {posargs}
96
+ coverage report -m --format markdown
97
+ coverage xml
98
+ coverage html
99
+
100
+ [base]
101
+ description = shared configuration for tests and coverage
92
102
  use_develop = true
93
103
  skip_install = false
94
104
  constrain_package_deps = true
@@ -104,26 +114,29 @@ set_env =
104
114
  #
105
115
  # Set constrain_package_deps .meta.toml:
106
116
  # [tox]
107
- # constrain_package_deps = "false"
117
+ # constrain_package_deps = false
108
118
  ##
109
119
  deps =
110
- zope.testrunner
111
- -c https://dist.plone.org/release/6.0-dev/constraints.txt
112
-
120
+ {[test_runner]deps}
121
+ plone62: -c https://dist.plone.org/release/6.2-dev/constraints.txt
122
+ plone61: -c https://dist.plone.org/release/6.1-dev/constraints.txt
123
+ plone60: -c https://dist.plone.org/release/6.0-dev/constraints.txt
124
+
113
125
  ##
114
126
  # Specify additional deps in .meta.toml:
115
127
  # [tox]
116
- # test_deps_additional = "-esources/plonegovbr.portal_base[test]"
128
+ # test_deps_additional = """
129
+ # -esources/plonegovbr.portal_base[test]
130
+ # """
117
131
  #
118
132
  # Specify a custom constraints file in .meta.toml:
119
133
  # [tox]
120
134
  # constraints_file = "https://my-server.com/constraints.txt"
121
135
  ##
122
- commands =
123
- zope-testrunner --all --test-path={toxinidir} -s plone.app.customerize {posargs}
124
136
  extras =
125
137
  test
126
138
 
139
+
127
140
  ##
128
141
  # Add extra configuration options in .meta.toml:
129
142
  # [tox]
@@ -131,34 +144,52 @@ extras =
131
144
  # tests
132
145
  # widgets
133
146
  # """
147
+ #
148
+ # Add extra configuration options in .meta.toml:
149
+ # [tox]
150
+ # testenv_options = """
151
+ # basepython = /usr/bin/python3.8
152
+ # """
134
153
  ##
135
154
 
155
+ [testenv:test]
156
+ description = run the distribution tests
157
+ use_develop = {[base]use_develop}
158
+ skip_install = {[base]skip_install}
159
+ constrain_package_deps = {[base]constrain_package_deps}
160
+ set_env = {[base]set_env}
161
+ deps =
162
+ {[test_runner]deps}
163
+ -c https://dist.plone.org/release/6.2-dev/constraints.txt
164
+
165
+ commands = {[test_runner]test}
166
+ extras = {[base]extras}
167
+
168
+
169
+ [testenv]
170
+ description = run the distribution tests (generative environments)
171
+ use_develop = {[base]use_develop}
172
+ skip_install = {[base]skip_install}
173
+ constrain_package_deps = {[base]constrain_package_deps}
174
+ set_env = {[base]set_env}
175
+ deps = {[base]deps}
176
+ commands = {[test_runner]test}
177
+ extras = {[base]extras}
178
+
179
+
136
180
  [testenv:coverage]
137
181
  description = get a test coverage report
138
- use_develop = true
139
- skip_install = false
140
- constrain_package_deps = true
141
- set_env =
142
- ROBOT_BROWSER=headlesschrome
143
-
144
- ##
145
- # Specify extra test environment variables in .meta.toml:
146
- # [tox]
147
- # test_environment_variables = """
148
- # PIP_EXTRA_INDEX_URL=https://my-pypi.my-server.com/
149
- # """
150
- ##
182
+ use_develop = {[base]use_develop}
183
+ skip_install = {[base]skip_install}
184
+ constrain_package_deps = {[base]constrain_package_deps}
185
+ set_env = {[base]set_env}
151
186
  deps =
187
+ {[test_runner]deps}
152
188
  coverage
153
- zope.testrunner
154
- -c https://dist.plone.org/release/6.0-dev/constraints.txt
155
-
156
- commands =
157
- coverage run --branch --source plone.app.customerize {envbindir}/zope-testrunner --quiet --all --test-path={toxinidir} -s plone.app.customerize {posargs}
158
- coverage report -m --format markdown
159
- coverage xml
160
- extras =
161
- test
189
+ -c https://dist.plone.org/release/6.2-dev/constraints.txt
190
+
191
+ commands = {[test_runner]coverage}
192
+ extras = {[base]extras}
162
193
 
163
194
 
164
195
  [testenv:release-check]
@@ -168,8 +199,8 @@ deps =
168
199
  twine
169
200
  build
170
201
  towncrier
171
- -c https://dist.plone.org/release/6.0-dev/constraints.txt
172
-
202
+ -c https://dist.plone.org/release/6.2-dev/constraints.txt
203
+
173
204
  commands =
174
205
  # fake version to not have to install the package
175
206
  # we build the change log as news entries might break
@@ -182,6 +213,9 @@ commands =
182
213
  description = ensure there are no cyclic dependencies
183
214
  use_develop = true
184
215
  skip_install = false
216
+ # Here we must always constrain the package deps to what is already installed,
217
+ # otherwise we simply get the latest from PyPI, which may not work.
218
+ constrain_package_deps = true
185
219
  set_env =
186
220
 
187
221
  ##
@@ -196,8 +230,8 @@ allowlist_externals =
196
230
  deps =
197
231
  pipdeptree
198
232
  pipforester
199
- -c https://dist.plone.org/release/6.0-dev/constraints.txt
200
-
233
+ -c https://dist.plone.org/release/6.2-dev/constraints.txt
234
+
201
235
  commands =
202
236
  # Generate the full dependency tree
203
237
  sh -c 'pipdeptree -j > forest.json'
@@ -1,46 +0,0 @@
1
- .editorconfig
2
- .flake8
3
- .gitignore
4
- .meta.toml
5
- .pre-commit-config.yaml
6
- CHANGES.rst
7
- CONTRIBUTING.rst
8
- MANIFEST.in
9
- README.rst
10
- pyproject.toml
11
- setup.py
12
- tox.ini
13
- docs/LICENSE.GPL
14
- docs/LICENSE.txt
15
- plone/__init__.py
16
- plone.app.customerize.egg-info/PKG-INFO
17
- plone.app.customerize.egg-info/SOURCES.txt
18
- plone.app.customerize.egg-info/dependency_links.txt
19
- plone.app.customerize.egg-info/namespace_packages.txt
20
- plone.app.customerize.egg-info/not-zip-safe
21
- plone.app.customerize.egg-info/requires.txt
22
- plone.app.customerize.egg-info/top_level.txt
23
- plone/app/__init__.py
24
- plone/app/customerize/README.txt
25
- plone/app/customerize/TODO.txt
26
- plone/app/customerize/__init__.py
27
- plone/app/customerize/browser.py
28
- plone/app/customerize/configure.zcml
29
- plone/app/customerize/customize.pt
30
- plone/app/customerize/dependencies.zcml
31
- plone/app/customerize/registration.py
32
- plone/app/customerize/registrations.pt
33
- plone/app/customerize/testing.py
34
- plone/app/customerize/tool.gif
35
- plone/app/customerize/tool.py
36
- plone/app/customerize/tests/__init__.py
37
- plone/app/customerize/tests/duplicate_viewlet.zcml
38
- plone/app/customerize/tests/interfaces.py
39
- plone/app/customerize/tests/local.pt
40
- plone/app/customerize/tests/standard.pt
41
- plone/app/customerize/tests/testBrowserLayers.txt
42
- plone/app/customerize/tests/testCustomizeView.txt
43
- plone/app/customerize/tests/testDocTests.py
44
- plone/app/customerize/tests/testing.zcml
45
- plone/app/customerize/tests/viewlets.py
46
- plone/app/customerize/tests/profiles/testing/viewlets.xml