plone.batching 2.0.6__tar.gz → 3.0.0__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 (33) hide show
  1. {plone.batching-2.0.6 → plone_batching-3.0.0}/CHANGES.rst +41 -0
  2. {plone.batching-2.0.6 → plone_batching-3.0.0}/MANIFEST.in +1 -1
  3. {plone.batching-2.0.6/plone.batching.egg-info → plone_batching-3.0.0}/PKG-INFO +66 -6
  4. {plone.batching-2.0.6 → plone_batching-3.0.0}/pyproject.toml +43 -7
  5. {plone.batching-2.0.6 → plone_batching-3.0.0}/setup.py +6 -10
  6. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/__init__.py +0 -1
  7. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/batch.py +0 -1
  8. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/browser.py +0 -1
  9. {plone.batching-2.0.6 → plone_batching-3.0.0/src/plone.batching.egg-info}/PKG-INFO +66 -6
  10. plone_batching-3.0.0/src/plone.batching.egg-info/SOURCES.txt +28 -0
  11. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone.batching.egg-info/requires.txt +0 -1
  12. plone.batching-2.0.6/plone/__init__.py +0 -1
  13. plone.batching-2.0.6/plone.batching.egg-info/SOURCES.txt +0 -30
  14. plone.batching-2.0.6/plone.batching.egg-info/namespace_packages.txt +0 -1
  15. {plone.batching-2.0.6 → plone_batching-3.0.0}/CONTRIBUTING.rst +0 -0
  16. {plone.batching-2.0.6 → plone_batching-3.0.0}/README.rst +0 -0
  17. {plone.batching-2.0.6 → plone_batching-3.0.0}/docs/LICENSE.txt +0 -0
  18. {plone.batching-2.0.6 → plone_batching-3.0.0}/docs/index.rst +0 -0
  19. {plone.batching-2.0.6 → plone_batching-3.0.0}/docs/usage.rst +0 -0
  20. {plone.batching-2.0.6 → plone_batching-3.0.0}/setup.cfg +0 -0
  21. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/batch_macros.pt +0 -0
  22. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/batching.rst +0 -0
  23. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/batchnavigation.pt +0 -0
  24. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/batchnavigation_bootstrap.pt +0 -0
  25. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/configure.zcml +0 -0
  26. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/interfaces.py +0 -0
  27. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/tests/__init__.py +0 -0
  28. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/tests/test_batching.py +0 -0
  29. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone/batching/utils.py +0 -0
  30. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone.batching.egg-info/dependency_links.txt +0 -0
  31. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone.batching.egg-info/entry_points.txt +0 -0
  32. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone.batching.egg-info/not-zip-safe +0 -0
  33. {plone.batching-2.0.6 → plone_batching-3.0.0/src}/plone.batching.egg-info/top_level.txt +0 -0
@@ -8,6 +8,47 @@ Changelog
8
8
 
9
9
  .. towncrier release notes start
10
10
 
11
+ 3.0.0 (2026-05-07)
12
+ ------------------
13
+
14
+ Internal:
15
+
16
+
17
+ - Update configuration files.
18
+ [plone devs]
19
+
20
+
21
+ 3.0.0a2 (2026-03-16)
22
+ --------------------
23
+
24
+ Internal:
25
+
26
+
27
+ - Update configuration files.
28
+ [plone devs]
29
+
30
+
31
+ 3.0.0a1 (2025-11-19)
32
+ --------------------
33
+
34
+ Breaking changes:
35
+
36
+
37
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
38
+ Support only Plone 6.2 and Python 3.10+. (#3928)
39
+
40
+
41
+ 2.0.7 (2025-09-10)
42
+ ------------------
43
+
44
+ Internal:
45
+
46
+
47
+ - Update configuration files.
48
+ [plone devs] (6e36bcc4)
49
+ - Move distribution to src layout [gforcada] (#4217)
50
+
51
+
11
52
  2.0.6 (2023-06-16)
12
53
  ------------------
13
54
 
@@ -1,7 +1,7 @@
1
1
  include *.txt *.rst
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.batching
3
- Version: 2.0.6
3
+ Version: 3.0.0
4
4
  Summary: Batching facilities used in Plone
5
5
  Home-page: https://pypi.org/project/plone.batching
6
6
  Author: Plone Foundation
@@ -10,19 +10,38 @@ Keywords: Plone
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Environment :: Web Environment
12
12
  Classifier: Framework :: Plone
13
- Classifier: Framework :: Plone :: 6.0
13
+ Classifier: Framework :: Plone :: 6.2
14
14
  Classifier: Framework :: Plone :: Core
15
15
  Classifier: Framework :: Zope :: 5
16
16
  Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
17
17
  Classifier: Operating System :: OS Independent
18
18
  Classifier: Programming Language :: Python
19
- Classifier: Programming Language :: Python :: 3.8
20
- Classifier: Programming Language :: Python :: 3.9
21
19
  Classifier: Programming Language :: Python :: 3.10
22
20
  Classifier: Programming Language :: Python :: 3.11
23
- Requires-Python: >=3.8
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Requires-Python: >=3.10
24
25
  Description-Content-Type: text/x-rst
26
+ Requires-Dist: AccessControl
27
+ Requires-Dist: Zope
28
+ Requires-Dist: zope.interface
29
+ Requires-Dist: zope.schema
25
30
  Provides-Extra: test
31
+ Requires-Dist: zope.component; extra == "test"
32
+ Requires-Dist: zope.publisher; extra == "test"
33
+ Dynamic: author
34
+ Dynamic: author-email
35
+ Dynamic: classifier
36
+ Dynamic: description
37
+ Dynamic: description-content-type
38
+ Dynamic: home-page
39
+ Dynamic: keywords
40
+ Dynamic: license
41
+ Dynamic: provides-extra
42
+ Dynamic: requires-dist
43
+ Dynamic: requires-python
44
+ Dynamic: summary
26
45
 
27
46
  Welcome to Plone batching's documentation!
28
47
  ==========================================
@@ -42,6 +61,47 @@ Changelog
42
61
 
43
62
  .. towncrier release notes start
44
63
 
64
+ 3.0.0 (2026-05-07)
65
+ ------------------
66
+
67
+ Internal:
68
+
69
+
70
+ - Update configuration files.
71
+ [plone devs]
72
+
73
+
74
+ 3.0.0a2 (2026-03-16)
75
+ --------------------
76
+
77
+ Internal:
78
+
79
+
80
+ - Update configuration files.
81
+ [plone devs]
82
+
83
+
84
+ 3.0.0a1 (2025-11-19)
85
+ --------------------
86
+
87
+ Breaking changes:
88
+
89
+
90
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
91
+ Support only Plone 6.2 and Python 3.10+. (#3928)
92
+
93
+
94
+ 2.0.7 (2025-09-10)
95
+ ------------------
96
+
97
+ Internal:
98
+
99
+
100
+ - Update configuration files.
101
+ [plone devs] (6e36bcc4)
102
+ - Move distribution to src layout [gforcada] (#4217)
103
+
104
+
45
105
  2.0.6 (2023-06-16)
46
106
  ------------------
47
107
 
@@ -1,6 +1,11 @@
1
1
  # Generated from:
2
- # https://github.com/plone/meta/tree/master/config/default
2
+ # https://github.com/plone/meta/tree/2.x/src/plone/meta/default
3
3
  # See the inline comments on how to expand/tweak this configuration file
4
+ [build-system]
5
+ requires = ["setuptools>=68.2,<83", "wheel"]
6
+
7
+
8
+
4
9
  [tool.towncrier]
5
10
  directory = "news/"
6
11
  filename = "CHANGES.rst"
@@ -34,17 +39,41 @@ showcontent = true
34
39
 
35
40
  [[tool.towncrier.type]]
36
41
  directory = "tests"
37
- name = "Tests"
42
+ name = "Tests:"
38
43
  showcontent = true
39
44
 
45
+ ##
46
+ # Add extra configuration options in .meta.toml:
47
+ # [pyproject]
48
+ # towncrier_extra_lines = """
49
+ # extra_configuration
50
+ # """
51
+ ##
52
+
40
53
  [tool.isort]
41
54
  profile = "plone"
42
55
 
56
+ ##
57
+ # Add extra configuration options in .meta.toml:
58
+ # [pyproject]
59
+ # isort_extra_lines = """
60
+ # extra_configuration
61
+ # """
62
+ ##
63
+
43
64
  [tool.black]
44
- target-version = ["py38"]
65
+ target-version = ["py310"]
66
+
67
+ ##
68
+ # Add extra configuration options in .meta.toml:
69
+ # [pyproject]
70
+ # black_extra_lines = """
71
+ # extra_configuration
72
+ # """
73
+ ##
45
74
 
46
75
  [tool.codespell]
47
- ignore-words-list = "discreet,"
76
+ ignore-words-list = "discreet,assertin,thet,"
48
77
  skip = "*.po,"
49
78
  ##
50
79
  # Add extra configuration options in .meta.toml:
@@ -92,6 +121,7 @@ Zope = [
92
121
  'Products.CMFCore', 'Products.CMFDynamicViewFTI',
93
122
  ]
94
123
  python-dateutil = ['dateutil']
124
+ pytest-plone = ['pytest', 'zope.pytestlayer', 'plone.testing', 'plone.app.testing']
95
125
 
96
126
  ##
97
127
  # Add extra configuration options in .meta.toml:
@@ -101,19 +131,20 @@ python-dateutil = ['dateutil']
101
131
  # "gitpython = ['git']",
102
132
  # "pygithub = ['github']",
103
133
  # ]
104
- # """
105
134
  ##
106
135
 
107
136
  [tool.check-manifest]
108
137
  ignore = [
109
138
  ".editorconfig",
139
+ ".flake8",
110
140
  ".meta.toml",
111
141
  ".pre-commit-config.yaml",
112
- "tox.ini",
113
- ".flake8",
142
+ "dependabot.yml",
114
143
  "mx.ini",
144
+ "tox.ini",
115
145
 
116
146
  ]
147
+
117
148
  ##
118
149
  # Add extra configuration options in .meta.toml:
119
150
  # [pyproject]
@@ -121,6 +152,11 @@ ignore = [
121
152
  # "*.map.js",
122
153
  # "*.pyc",
123
154
  # """
155
+ # check_manifest_extra_lines = """
156
+ # ignore-bad-ideas = [
157
+ # "some/test/file/PKG-INFO",
158
+ # ]
159
+ # """
124
160
  ##
125
161
 
126
162
 
@@ -1,9 +1,7 @@
1
1
  from pathlib import Path
2
- from setuptools import find_packages
3
2
  from setuptools import setup
4
3
 
5
-
6
- version = "2.0.6"
4
+ version = "3.0.0"
7
5
 
8
6
  long_description = (
9
7
  f"{Path('README.rst').read_text()}\n"
@@ -23,30 +21,28 @@ setup(
23
21
  "Development Status :: 5 - Production/Stable",
24
22
  "Environment :: Web Environment",
25
23
  "Framework :: Plone",
26
- "Framework :: Plone :: 6.0",
24
+ "Framework :: Plone :: 6.2",
27
25
  "Framework :: Plone :: Core",
28
26
  "Framework :: Zope :: 5",
29
27
  "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
30
28
  "Operating System :: OS Independent",
31
29
  "Programming Language :: Python",
32
- "Programming Language :: Python :: 3.8",
33
- "Programming Language :: Python :: 3.9",
34
30
  "Programming Language :: Python :: 3.10",
35
31
  "Programming Language :: Python :: 3.11",
32
+ "Programming Language :: Python :: 3.12",
33
+ "Programming Language :: Python :: 3.13",
34
+ "Programming Language :: Python :: 3.14",
36
35
  ],
37
36
  keywords="Plone",
38
37
  author="Plone Foundation",
39
38
  author_email="plone-developers@lists.sourceforge.net",
40
39
  url="https://pypi.org/project/plone.batching",
41
40
  license="GPL",
42
- packages=find_packages(),
43
- namespace_packages=["plone"],
44
41
  include_package_data=True,
45
42
  zip_safe=False,
46
- python_requires=">=3.8",
43
+ python_requires=">=3.10",
47
44
  install_requires=[
48
45
  "AccessControl",
49
- "setuptools",
50
46
  "Zope",
51
47
  "zope.interface",
52
48
  "zope.schema",
@@ -2,6 +2,5 @@ from AccessControl import allow_class
2
2
  from AccessControl import allow_module
3
3
  from plone.batching.batch import Batch
4
4
 
5
-
6
5
  allow_module("plone.batching")
7
6
  allow_class(Batch)
@@ -11,7 +11,6 @@ class BaseBatch:
11
11
  """A sequence batch splits up a large number of items over multiple pages"""
12
12
 
13
13
  size = first = start = end = 0
14
- navlist = []
15
14
  numpages = pagenumber = pagerange = pagenumber = 0
16
15
  orphan = overlap = 0
17
16
  b_start_str = "b_start"
@@ -2,7 +2,6 @@ from Products.Five import BrowserView
2
2
  from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
3
3
  from ZTUtils import make_query
4
4
 
5
-
6
5
  BatchTemplate = ViewPageTemplateFile("batchnavigation.pt")
7
6
  BootstrapBatchTemplate = ViewPageTemplateFile("batchnavigation_bootstrap.pt")
8
7
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: plone.batching
3
- Version: 2.0.6
3
+ Version: 3.0.0
4
4
  Summary: Batching facilities used in Plone
5
5
  Home-page: https://pypi.org/project/plone.batching
6
6
  Author: Plone Foundation
@@ -10,19 +10,38 @@ Keywords: Plone
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Environment :: Web Environment
12
12
  Classifier: Framework :: Plone
13
- Classifier: Framework :: Plone :: 6.0
13
+ Classifier: Framework :: Plone :: 6.2
14
14
  Classifier: Framework :: Plone :: Core
15
15
  Classifier: Framework :: Zope :: 5
16
16
  Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
17
17
  Classifier: Operating System :: OS Independent
18
18
  Classifier: Programming Language :: Python
19
- Classifier: Programming Language :: Python :: 3.8
20
- Classifier: Programming Language :: Python :: 3.9
21
19
  Classifier: Programming Language :: Python :: 3.10
22
20
  Classifier: Programming Language :: Python :: 3.11
23
- Requires-Python: >=3.8
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Requires-Python: >=3.10
24
25
  Description-Content-Type: text/x-rst
26
+ Requires-Dist: AccessControl
27
+ Requires-Dist: Zope
28
+ Requires-Dist: zope.interface
29
+ Requires-Dist: zope.schema
25
30
  Provides-Extra: test
31
+ Requires-Dist: zope.component; extra == "test"
32
+ Requires-Dist: zope.publisher; extra == "test"
33
+ Dynamic: author
34
+ Dynamic: author-email
35
+ Dynamic: classifier
36
+ Dynamic: description
37
+ Dynamic: description-content-type
38
+ Dynamic: home-page
39
+ Dynamic: keywords
40
+ Dynamic: license
41
+ Dynamic: provides-extra
42
+ Dynamic: requires-dist
43
+ Dynamic: requires-python
44
+ Dynamic: summary
26
45
 
27
46
  Welcome to Plone batching's documentation!
28
47
  ==========================================
@@ -42,6 +61,47 @@ Changelog
42
61
 
43
62
  .. towncrier release notes start
44
63
 
64
+ 3.0.0 (2026-05-07)
65
+ ------------------
66
+
67
+ Internal:
68
+
69
+
70
+ - Update configuration files.
71
+ [plone devs]
72
+
73
+
74
+ 3.0.0a2 (2026-03-16)
75
+ --------------------
76
+
77
+ Internal:
78
+
79
+
80
+ - Update configuration files.
81
+ [plone devs]
82
+
83
+
84
+ 3.0.0a1 (2025-11-19)
85
+ --------------------
86
+
87
+ Breaking changes:
88
+
89
+
90
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
91
+ Support only Plone 6.2 and Python 3.10+. (#3928)
92
+
93
+
94
+ 2.0.7 (2025-09-10)
95
+ ------------------
96
+
97
+ Internal:
98
+
99
+
100
+ - Update configuration files.
101
+ [plone devs] (6e36bcc4)
102
+ - Move distribution to src layout [gforcada] (#4217)
103
+
104
+
45
105
  2.0.6 (2023-06-16)
46
106
  ------------------
47
107
 
@@ -0,0 +1,28 @@
1
+ CHANGES.rst
2
+ CONTRIBUTING.rst
3
+ MANIFEST.in
4
+ README.rst
5
+ pyproject.toml
6
+ setup.py
7
+ docs/LICENSE.txt
8
+ docs/index.rst
9
+ docs/usage.rst
10
+ src/plone.batching.egg-info/PKG-INFO
11
+ src/plone.batching.egg-info/SOURCES.txt
12
+ src/plone.batching.egg-info/dependency_links.txt
13
+ src/plone.batching.egg-info/entry_points.txt
14
+ src/plone.batching.egg-info/not-zip-safe
15
+ src/plone.batching.egg-info/requires.txt
16
+ src/plone.batching.egg-info/top_level.txt
17
+ src/plone/batching/__init__.py
18
+ src/plone/batching/batch.py
19
+ src/plone/batching/batch_macros.pt
20
+ src/plone/batching/batching.rst
21
+ src/plone/batching/batchnavigation.pt
22
+ src/plone/batching/batchnavigation_bootstrap.pt
23
+ src/plone/batching/browser.py
24
+ src/plone/batching/configure.zcml
25
+ src/plone/batching/interfaces.py
26
+ src/plone/batching/utils.py
27
+ src/plone/batching/tests/__init__.py
28
+ src/plone/batching/tests/test_batching.py
@@ -1,5 +1,4 @@
1
1
  AccessControl
2
- setuptools
3
2
  Zope
4
3
  zope.interface
5
4
  zope.schema
@@ -1 +0,0 @@
1
- __import__("pkg_resources").declare_namespace(__name__)
@@ -1,30 +0,0 @@
1
- CHANGES.rst
2
- CONTRIBUTING.rst
3
- MANIFEST.in
4
- README.rst
5
- pyproject.toml
6
- setup.py
7
- docs/LICENSE.txt
8
- docs/index.rst
9
- docs/usage.rst
10
- plone/__init__.py
11
- plone.batching.egg-info/PKG-INFO
12
- plone.batching.egg-info/SOURCES.txt
13
- plone.batching.egg-info/dependency_links.txt
14
- plone.batching.egg-info/entry_points.txt
15
- plone.batching.egg-info/namespace_packages.txt
16
- plone.batching.egg-info/not-zip-safe
17
- plone.batching.egg-info/requires.txt
18
- plone.batching.egg-info/top_level.txt
19
- plone/batching/__init__.py
20
- plone/batching/batch.py
21
- plone/batching/batch_macros.pt
22
- plone/batching/batching.rst
23
- plone/batching/batchnavigation.pt
24
- plone/batching/batchnavigation_bootstrap.pt
25
- plone/batching/browser.py
26
- plone/batching/configure.zcml
27
- plone/batching/interfaces.py
28
- plone/batching/utils.py
29
- plone/batching/tests/__init__.py
30
- plone/batching/tests/test_batching.py
File without changes