Products.PythonScripts 5.1__tar.gz → 5.3.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 (54) hide show
  1. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/.pre-commit-config.yaml +8 -7
  2. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/CHANGES.rst +24 -0
  3. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/CONTRIBUTING.md +3 -3
  4. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/MANIFEST.in +2 -2
  5. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/PKG-INFO +37 -14
  6. products_pythonscripts-5.3.1/pyproject.toml +88 -0
  7. products_pythonscripts-5.3.1/setup.py +19 -0
  8. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/__init__.py +1 -1
  9. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products.PythonScripts.egg-info/PKG-INFO +37 -14
  10. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products.PythonScripts.egg-info/SOURCES.txt +0 -3
  11. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products.PythonScripts.egg-info/requires.txt +1 -2
  12. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/tox.ini +13 -12
  13. Products.PythonScripts-5.1/pyproject.toml +0 -21
  14. Products.PythonScripts-5.1/setup.py +0 -73
  15. Products.PythonScripts-5.1/src/Products/__init__.py +0 -1
  16. Products.PythonScripts-5.1/src/Products.PythonScripts.egg-info/namespace_packages.txt +0 -1
  17. Products.PythonScripts-5.1/src/Products.PythonScripts.egg-info/not-zip-safe +0 -1
  18. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/COPYRIGHT.txt +0 -0
  19. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/LICENSE.txt +0 -0
  20. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/README.rst +0 -0
  21. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/buildout.cfg +0 -0
  22. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/setup.cfg +0 -0
  23. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/Extensions/RemotePS.py +0 -0
  24. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/PythonScript.py +0 -0
  25. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/Utility.py +0 -0
  26. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/configure.zcml +0 -0
  27. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/standard.py +0 -0
  28. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/__init__.py +0 -0
  29. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/testBindings.py +0 -0
  30. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/testPythonScript.py +0 -0
  31. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/big_boolean.ps +0 -0
  32. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/boolean_map.ps +0 -0
  33. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/class.__name__.ps +0 -0
  34. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/complete.ps +0 -0
  35. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/complex_print.ps +0 -0
  36. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/fibonacci.ps +0 -0
  37. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/filepath.ps +0 -0
  38. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/for_loop.ps +0 -0
  39. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/global_is_declaration.ps +0 -0
  40. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/mutate_literals.ps +0 -0
  41. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/ns_bind.ps +0 -0
  42. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/ns_bind_invalid.ps +0 -0
  43. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/simple_print.ps +0 -0
  44. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/subversive_except.ps +0 -0
  45. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/try_except.ps +0 -0
  46. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/tuple_unpack_assignment.ps +0 -0
  47. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/tests/tscripts/while_loop.ps +0 -0
  48. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/www/default_content +0 -0
  49. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/www/pyScriptAdd.dtml +0 -0
  50. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/www/pyScriptEdit.dtml +0 -0
  51. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products/PythonScripts/www/pyScriptProxy.dtml +0 -0
  52. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products.PythonScripts.egg-info/dependency_links.txt +0 -0
  53. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products.PythonScripts.egg-info/entry_points.txt +0 -0
  54. {Products.PythonScripts-5.1 → products_pythonscripts-5.3.1}/src/Products.PythonScripts.egg-info/top_level.txt +0 -0
@@ -1,27 +1,28 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/zope-product
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/zope-product
3
3
  minimum_pre_commit_version: '3.6'
4
4
  repos:
5
5
  - repo: https://github.com/pycqa/isort
6
- rev: "5.13.2"
6
+ rev: "8.0.1"
7
7
  hooks:
8
8
  - id: isort
9
9
  - repo: https://github.com/hhatto/autopep8
10
- rev: "v2.3.1"
10
+ rev: "v2.3.2"
11
11
  hooks:
12
12
  - id: autopep8
13
13
  args: [--in-place, --aggressive, --aggressive]
14
14
  - repo: https://github.com/asottile/pyupgrade
15
- rev: v3.17.0
15
+ rev: v3.21.2
16
16
  hooks:
17
17
  - id: pyupgrade
18
- args: [--py38-plus]
18
+ args: [--py310-plus]
19
19
  - repo: https://github.com/isidentical/teyit
20
20
  rev: 0.4.3
21
21
  hooks:
22
22
  - id: teyit
23
+ language_version: python3.13
23
24
  - repo: https://github.com/PyCQA/flake8
24
- rev: "7.1.1"
25
+ rev: "7.3.0"
25
26
  hooks:
26
27
  - id: flake8
27
28
  additional_dependencies:
@@ -1,6 +1,30 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 5.3.1 (2026-08-20)
5
+ ------------------
6
+
7
+ - Switch to PyPI Trusted Publishing.
8
+
9
+
10
+ 5.3 (2026-08-20)
11
+ ----------------
12
+
13
+ - Add support for Python 3.15.
14
+
15
+ - Move package metadata from setup.py to pyproject.toml.
16
+
17
+
18
+ 5.2 (2025-11-20)
19
+ ----------------
20
+
21
+ - Switch to PEP 420 native namespace.
22
+
23
+ - Add support for Python 3.14.
24
+
25
+ - Drop support for Python 3.8 and 3.9.
26
+
27
+
4
28
  5.1 (2024-10-16)
5
29
  ----------------
6
30
 
@@ -1,7 +1,7 @@
1
1
  <!--
2
- Generated from:
3
- https://github.com/zopefoundation/meta/tree/master/config/zope-product
4
- -->
2
+ Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3
+ https://github.com/zopefoundation/meta/tree/master/src/zope/meta/zope-product
4
+ -->
5
5
  # Contributing to zopefoundation projects
6
6
 
7
7
  The projects under the zopefoundation GitHub organization are open source and
@@ -1,5 +1,5 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/zope-product
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/zope-product
3
3
  include *.md
4
4
  include *.rst
5
5
  include *.txt
@@ -1,38 +1,37 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: Products.PythonScripts
3
- Version: 5.1
3
+ Version: 5.3.1
4
4
  Summary: Provides support for restricted execution of Python scripts in Zope.
5
- Home-page: https://github.com/zopefoundation/Products.PythonScripts
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL 2.1
9
- Project-URL: Issue Tracker, https://github.com/zopefoundation/Products.PythonScripts/issues
10
- Project-URL: Sources, https://github.com/zopefoundation/Products.PythonScripts
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/Products.PythonScripts
9
+ Project-URL: Issues, https://github.com/zopefoundation/Products.PythonScripts/issues
11
10
  Classifier: Development Status :: 6 - Mature
12
11
  Classifier: Environment :: Web Environment
13
12
  Classifier: Framework :: Zope
14
13
  Classifier: Framework :: Zope :: 5
15
- Classifier: License :: OSI Approved :: Zope Public License
16
14
  Classifier: Operating System :: OS Independent
17
15
  Classifier: Programming Language :: Python
18
16
  Classifier: Programming Language :: Python :: 3
19
- Classifier: Programming Language :: Python :: 3.8
20
- Classifier: Programming Language :: Python :: 3.9
21
17
  Classifier: Programming Language :: Python :: 3.10
22
18
  Classifier: Programming Language :: Python :: 3.11
23
19
  Classifier: Programming Language :: Python :: 3.12
24
20
  Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Programming Language :: Python :: 3.15
25
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
26
- Requires-Python: >=3.8
24
+ Requires-Python: >=3.10
25
+ Description-Content-Type: text/x-rst
27
26
  License-File: LICENSE.txt
28
- Requires-Dist: setuptools
29
27
  Requires-Dist: AccessControl
30
28
  Requires-Dist: Acquisition
31
29
  Requires-Dist: DateTime
32
30
  Requires-Dist: DocumentTemplate
33
31
  Requires-Dist: RestrictedPython>=4.0b5
34
32
  Requires-Dist: zExceptions
35
- Requires-Dist: Zope>=4.1.2
33
+ Requires-Dist: Zope>=5
34
+ Dynamic: license-file
36
35
 
37
36
  .. image:: https://github.com/zopefoundation/Products.PythonScripts/actions/workflows/tests.yml/badge.svg
38
37
  :target: https://github.com/zopefoundation/Products.PythonScripts/actions/workflows/tests.yml
@@ -126,6 +125,30 @@ in the Products directory.
126
125
  Changelog
127
126
  =========
128
127
 
128
+ 5.3.1 (2026-08-20)
129
+ ------------------
130
+
131
+ - Switch to PyPI Trusted Publishing.
132
+
133
+
134
+ 5.3 (2026-08-20)
135
+ ----------------
136
+
137
+ - Add support for Python 3.15.
138
+
139
+ - Move package metadata from setup.py to pyproject.toml.
140
+
141
+
142
+ 5.2 (2025-11-20)
143
+ ----------------
144
+
145
+ - Switch to PEP 420 native namespace.
146
+
147
+ - Add support for Python 3.14.
148
+
149
+ - Drop support for Python 3.8 and 3.9.
150
+
151
+
129
152
  5.1 (2024-10-16)
130
153
  ----------------
131
154
 
@@ -0,0 +1,88 @@
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/zope-product
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 = "Products.PythonScripts"
12
+ version = "5.3.1"
13
+ description = "Provides support for restricted execution of Python scripts in Zope."
14
+ license = "ZPL-2.1"
15
+ classifiers = [
16
+ "Development Status :: 6 - Mature",
17
+ "Environment :: Web Environment",
18
+ "Framework :: Zope",
19
+ "Framework :: Zope :: 5",
20
+ "Operating System :: OS Independent",
21
+ "Programming Language :: Python",
22
+ "Programming Language :: Python :: 3",
23
+ "Programming Language :: Python :: 3.10",
24
+ "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: 3.12",
26
+ "Programming Language :: Python :: 3.13",
27
+ "Programming Language :: Python :: 3.14",
28
+ "Programming Language :: Python :: 3.15",
29
+ "Programming Language :: Python :: Implementation :: CPython",
30
+ ]
31
+ dynamic = ["readme"]
32
+ requires-python = ">=3.10"
33
+ authors = [
34
+ {name = "Zope Foundation and contributors",email = "zope-dev@zope.dev"},
35
+ ]
36
+ maintainers = [
37
+ {name = "Plone Foundation and contributors",email = "zope-dev@zope.dev"},
38
+ ]
39
+ dependencies = [
40
+ "AccessControl",
41
+ "Acquisition",
42
+ "DateTime",
43
+ "DocumentTemplate",
44
+ "RestrictedPython >= 4.0b5",
45
+ "zExceptions",
46
+ "Zope >= 5",
47
+ ]
48
+
49
+ [project.entry-points."zodbupdate.decode"]
50
+ decodes = "Products.PythonScripts:zodbupdate_decode_dict"
51
+
52
+ [project.urls]
53
+ Source = "https://github.com/zopefoundation/Products.PythonScripts"
54
+ Issues = "https://github.com/zopefoundation/Products.PythonScripts/issues"
55
+
56
+ [pypi]
57
+ trusted-publishing = true
58
+
59
+ [tool.coverage.run]
60
+ branch = true
61
+ source = ["Products.PythonScripts"]
62
+
63
+ [tool.coverage.report]
64
+ fail_under = 83
65
+ precision = 2
66
+ ignore_errors = true
67
+ show_missing = true
68
+ exclude_lines = [
69
+ "pragma: no cover",
70
+ "pragma: nocover",
71
+ "except ImportError:",
72
+ "raise NotImplementedError",
73
+ "if __name__ == '__main__':",
74
+ "self.fail",
75
+ "raise AssertionError",
76
+ "raise unittest.Skip",
77
+ ]
78
+
79
+ [tool.coverage.html]
80
+ directory = "parts/htmlcov"
81
+
82
+ [tool.setuptools.dynamic]
83
+ readme = {file = ["README.rst", "CHANGES.rst"]}
84
+
85
+ [tool.zest-releaser]
86
+ create-wheel = false
87
+ extra-message = ""
88
+ upload-pypi = false
@@ -0,0 +1,19 @@
1
+ ##############################################################################
2
+ #
3
+ # Copyright (c) 2010 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
+
15
+ from setuptools import setup
16
+
17
+
18
+ # See pyproject.toml for package metadata
19
+ setup()
@@ -43,7 +43,7 @@ def initialize(context):
43
43
  icon='www/pyscript.gif',
44
44
  )
45
45
 
46
- global _m
46
+ global _m # noqa: F824
47
47
  _m['recompile'] = recompile
48
48
  _m['recompile__roles__'] = ('Manager',)
49
49
 
@@ -1,38 +1,37 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: Products.PythonScripts
3
- Version: 5.1
3
+ Version: 5.3.1
4
4
  Summary: Provides support for restricted execution of Python scripts in Zope.
5
- Home-page: https://github.com/zopefoundation/Products.PythonScripts
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL 2.1
9
- Project-URL: Issue Tracker, https://github.com/zopefoundation/Products.PythonScripts/issues
10
- Project-URL: Sources, https://github.com/zopefoundation/Products.PythonScripts
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/Products.PythonScripts
9
+ Project-URL: Issues, https://github.com/zopefoundation/Products.PythonScripts/issues
11
10
  Classifier: Development Status :: 6 - Mature
12
11
  Classifier: Environment :: Web Environment
13
12
  Classifier: Framework :: Zope
14
13
  Classifier: Framework :: Zope :: 5
15
- Classifier: License :: OSI Approved :: Zope Public License
16
14
  Classifier: Operating System :: OS Independent
17
15
  Classifier: Programming Language :: Python
18
16
  Classifier: Programming Language :: Python :: 3
19
- Classifier: Programming Language :: Python :: 3.8
20
- Classifier: Programming Language :: Python :: 3.9
21
17
  Classifier: Programming Language :: Python :: 3.10
22
18
  Classifier: Programming Language :: Python :: 3.11
23
19
  Classifier: Programming Language :: Python :: 3.12
24
20
  Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Programming Language :: Python :: 3.15
25
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
26
- Requires-Python: >=3.8
24
+ Requires-Python: >=3.10
25
+ Description-Content-Type: text/x-rst
27
26
  License-File: LICENSE.txt
28
- Requires-Dist: setuptools
29
27
  Requires-Dist: AccessControl
30
28
  Requires-Dist: Acquisition
31
29
  Requires-Dist: DateTime
32
30
  Requires-Dist: DocumentTemplate
33
31
  Requires-Dist: RestrictedPython>=4.0b5
34
32
  Requires-Dist: zExceptions
35
- Requires-Dist: Zope>=4.1.2
33
+ Requires-Dist: Zope>=5
34
+ Dynamic: license-file
36
35
 
37
36
  .. image:: https://github.com/zopefoundation/Products.PythonScripts/actions/workflows/tests.yml/badge.svg
38
37
  :target: https://github.com/zopefoundation/Products.PythonScripts/actions/workflows/tests.yml
@@ -126,6 +125,30 @@ in the Products directory.
126
125
  Changelog
127
126
  =========
128
127
 
128
+ 5.3.1 (2026-08-20)
129
+ ------------------
130
+
131
+ - Switch to PyPI Trusted Publishing.
132
+
133
+
134
+ 5.3 (2026-08-20)
135
+ ----------------
136
+
137
+ - Add support for Python 3.15.
138
+
139
+ - Move package metadata from setup.py to pyproject.toml.
140
+
141
+
142
+ 5.2 (2025-11-20)
143
+ ----------------
144
+
145
+ - Switch to PEP 420 native namespace.
146
+
147
+ - Add support for Python 3.14.
148
+
149
+ - Drop support for Python 3.8 and 3.9.
150
+
151
+
129
152
  5.1 (2024-10-16)
130
153
  ----------------
131
154
 
@@ -10,13 +10,10 @@ pyproject.toml
10
10
  setup.cfg
11
11
  setup.py
12
12
  tox.ini
13
- src/Products/__init__.py
14
13
  src/Products.PythonScripts.egg-info/PKG-INFO
15
14
  src/Products.PythonScripts.egg-info/SOURCES.txt
16
15
  src/Products.PythonScripts.egg-info/dependency_links.txt
17
16
  src/Products.PythonScripts.egg-info/entry_points.txt
18
- src/Products.PythonScripts.egg-info/namespace_packages.txt
19
- src/Products.PythonScripts.egg-info/not-zip-safe
20
17
  src/Products.PythonScripts.egg-info/requires.txt
21
18
  src/Products.PythonScripts.egg-info/top_level.txt
22
19
  src/Products/PythonScripts/PythonScript.py
@@ -1,8 +1,7 @@
1
- setuptools
2
1
  AccessControl
3
2
  Acquisition
4
3
  DateTime
5
4
  DocumentTemplate
6
5
  RestrictedPython>=4.0b5
7
6
  zExceptions
8
- Zope>=4.1.2
7
+ Zope>=5
@@ -1,24 +1,24 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/zope-product
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/zope-product
3
3
  [tox]
4
4
  minversion = 3.18
5
5
  envlist =
6
6
  release-check
7
7
  lint
8
- py38
9
- py39
10
8
  py310
11
9
  py311
12
10
  py312
13
11
  py313
12
+ py314
13
+ py315
14
14
  coverage
15
15
 
16
16
  [testenv]
17
17
  skip_install = true
18
18
  deps =
19
- setuptools < 74
20
- zc.buildout >= 3.1
21
- wheel > 0.37
19
+ setuptools >= 78.1.1,< 82
20
+ zc.buildout
21
+ wheel
22
22
  setenv =
23
23
  commands_pre =
24
24
  {envbindir}/buildout -nc {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} install test
@@ -29,8 +29,8 @@ commands =
29
29
  basepython = python3
30
30
  deps =
31
31
  git+https://github.com/pypa/setuptools.git\#egg=setuptools
32
- zc.buildout >= 3.1
33
- wheel > 0.37
32
+ zc.buildout
33
+ wheel
34
34
 
35
35
 
36
36
  [testenv:release-check]
@@ -38,16 +38,17 @@ description = ensure that the distribution is ready to release
38
38
  basepython = python3
39
39
  skip_install = true
40
40
  deps =
41
- setuptools < 74
41
+ setuptools >= 78.1.1,< 82
42
+ wheel
42
43
  twine
43
44
  build
44
45
  check-manifest
45
- check-python-versions >= 0.20.0
46
+ check-python-versions >= 0.24.2
46
47
  wheel
47
48
  commands_pre =
48
49
  commands =
49
50
  check-manifest
50
- check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
51
+ check-python-versions --only pyproject.toml,setup.py,tox.ini,.github/workflows/tests.yml
51
52
  python -m build --sdist --no-isolation
52
53
  twine check dist/*
53
54
 
@@ -1,21 +0,0 @@
1
- #
2
- # Generated from:
3
- # https://github.com/zopefoundation/meta/tree/master/config/zope-product
4
-
5
- [build-system]
6
- requires = ["setuptools < 74"]
7
- build-backend = "setuptools.build_meta"
8
-
9
- [tool.coverage.run]
10
- branch = true
11
- source = ["Products.PythonScripts"]
12
-
13
- [tool.coverage.report]
14
- fail_under = 83
15
- precision = 2
16
- ignore_errors = true
17
- show_missing = true
18
- exclude_lines = ["pragma: no cover", "pragma: nocover", "except ImportError:", "raise NotImplementedError", "if __name__ == '__main__':", "self.fail", "raise AssertionError", "raise unittest.Skip"]
19
-
20
- [tool.coverage.html]
21
- directory = "parts/htmlcov"
@@ -1,73 +0,0 @@
1
- ##############################################################################
2
- #
3
- # Copyright (c) 2010 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
-
15
- from setuptools import find_packages
16
- from setuptools import setup
17
-
18
-
19
- setup(name='Products.PythonScripts',
20
- version='5.1',
21
- url='https://github.com/zopefoundation/Products.PythonScripts',
22
- project_urls={
23
- 'Issue Tracker': ('https://github.com/zopefoundation/'
24
- 'Products.PythonScripts/issues'),
25
- 'Sources': ('https://github.com/zopefoundation/'
26
- 'Products.PythonScripts'),
27
- },
28
- license='ZPL 2.1',
29
- description='Provides support for restricted execution of Python '
30
- 'scripts in Zope.',
31
- author='Zope Foundation and Contributors',
32
- author_email='zope-dev@zope.dev',
33
- long_description=('{}\n{}'.format(open('README.rst').read(),
34
- open('CHANGES.rst').read())),
35
- packages=find_packages('src'),
36
- namespace_packages=['Products'],
37
- package_dir={'': 'src'},
38
- classifiers=[
39
- 'Development Status :: 6 - Mature',
40
- 'Environment :: Web Environment',
41
- 'Framework :: Zope',
42
- 'Framework :: Zope :: 5',
43
- 'License :: OSI Approved :: Zope Public License',
44
- 'Operating System :: OS Independent',
45
- 'Programming Language :: Python',
46
- 'Programming Language :: Python :: 3',
47
- 'Programming Language :: Python :: 3.8',
48
- 'Programming Language :: Python :: 3.9',
49
- 'Programming Language :: Python :: 3.10',
50
- 'Programming Language :: Python :: 3.11',
51
- 'Programming Language :: Python :: 3.12',
52
- 'Programming Language :: Python :: 3.13',
53
- 'Programming Language :: Python :: Implementation :: CPython',
54
- ],
55
- python_requires='>=3.8',
56
- install_requires=[
57
- 'setuptools',
58
- 'AccessControl',
59
- 'Acquisition',
60
- 'DateTime',
61
- 'DocumentTemplate',
62
- 'RestrictedPython >= 4.0b5',
63
- 'zExceptions',
64
- 'Zope >= 4.1.2',
65
- ],
66
- include_package_data=True,
67
- zip_safe=False,
68
- entry_points={
69
- 'zodbupdate.decode': [
70
- 'decodes = Products.PythonScripts:zodbupdate_decode_dict',
71
- ],
72
- },
73
- )
@@ -1 +0,0 @@
1
- __import__('pkg_resources').declare_namespace(__name__)