RestrictedPython 8.0__tar.gz → 8.1a1.dev0__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 (105) hide show
  1. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/.pre-commit-config.yaml +4 -4
  2. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/CHANGES.rst +7 -0
  3. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/CONTRIBUTING.md +1 -1
  4. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/PKG-INFO +22 -3
  5. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/pyproject.toml +14 -2
  6. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/setup.py +2 -2
  7. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython.egg-info/PKG-INFO +22 -3
  8. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tox.ini +8 -3
  9. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/.readthedocs.yaml +0 -0
  10. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/COPYRIGHT.txt +0 -0
  11. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/LICENSE.txt +0 -0
  12. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/MANIFEST.in +0 -0
  13. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/README.rst +0 -0
  14. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/buildout.cfg +0 -0
  15. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/constraints.txt +0 -0
  16. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/Makefile +0 -0
  17. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/changes.rst +0 -0
  18. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/conf.py +0 -0
  19. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/ast/python3_10.ast +0 -0
  20. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/ast/python3_11.ast +0 -0
  21. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/ast/python3_12.ast +0 -0
  22. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/ast/python3_13.ast +0 -0
  23. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/ast/python3_8.ast +0 -0
  24. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/ast/python3_9.ast +0 -0
  25. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/changes_from310to311.rst +0 -0
  26. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/changes_from311to312.rst +0 -0
  27. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/changes_from312to313.rst +0 -0
  28. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/changes_from38to39.rst +0 -0
  29. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/changes_from39to310.rst +0 -0
  30. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/contributing/index.rst +0 -0
  31. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/idea.rst +0 -0
  32. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/index.rst +0 -0
  33. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/install/index.rst +0 -0
  34. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/logo.jpg +0 -0
  35. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/make.bat +0 -0
  36. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/requirements.txt +0 -0
  37. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/roadmap/index.rst +0 -0
  38. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/usage/api.rst +0 -0
  39. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/usage/basic_usage.rst +0 -0
  40. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/usage/framework_usage.rst +0 -0
  41. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/usage/index.rst +0 -0
  42. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/docs/usage/policy.rst +0 -0
  43. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/setup.cfg +0 -0
  44. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython/Eval.py +0 -0
  45. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython/Guards.py +0 -0
  46. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython/Limits.py +0 -0
  47. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython/PrintCollector.py +0 -0
  48. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython/Utilities.py +0 -0
  49. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython/__init__.py +0 -0
  50. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython/_compat.py +0 -0
  51. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython/compile.py +0 -0
  52. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython/transformer.py +0 -0
  53. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython.egg-info/SOURCES.txt +0 -0
  54. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython.egg-info/dependency_links.txt +0 -0
  55. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython.egg-info/not-zip-safe +0 -0
  56. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython.egg-info/requires.txt +0 -0
  57. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/src/RestrictedPython.egg-info/top_level.txt +0 -0
  58. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/__init__.py +0 -0
  59. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/builtins/test_limits.py +0 -0
  60. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/builtins/test_utilities.py +0 -0
  61. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/helper.py +0 -0
  62. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/test_Guards.py +0 -0
  63. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/test_NamedExpr.py +0 -0
  64. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/test_Utilities.py +0 -0
  65. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/test_compile.py +0 -0
  66. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/test_compile_restricted_function.py +0 -0
  67. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/test_eval.py +0 -0
  68. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/test_imports.py +0 -0
  69. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/test_iterating_over_dict_items.py +0 -0
  70. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/test_print_function.py +0 -0
  71. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/operators/test_arithmetic_operators.py +0 -0
  72. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/operators/test_bit_wise_operators.py +0 -0
  73. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/operators/test_bool_operators.py +0 -0
  74. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/operators/test_comparison_operators.py +0 -0
  75. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/operators/test_identity_operators.py +0 -0
  76. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/operators/test_logical_operators.py +0 -0
  77. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/operators/test_unary_operators.py +0 -0
  78. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_assert.py +0 -0
  79. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_assign.py +0 -0
  80. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_async.py +0 -0
  81. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_attribute.py +0 -0
  82. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_augassign.py +0 -0
  83. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_base_types.py +0 -0
  84. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_breakpoint.py +0 -0
  85. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_call.py +0 -0
  86. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_classdef.py +0 -0
  87. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_comparators.py +0 -0
  88. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_conditional.py +0 -0
  89. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_dict_comprehension.py +0 -0
  90. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_eval_exec.py +0 -0
  91. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_fstring.py +0 -0
  92. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_functiondef.py +0 -0
  93. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_generic.py +0 -0
  94. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_global_local.py +0 -0
  95. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_import.py +0 -0
  96. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_inspect.py +0 -0
  97. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_iterator.py +0 -0
  98. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_lambda.py +0 -0
  99. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_loop.py +0 -0
  100. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_name.py +0 -0
  101. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_slice.py +0 -0
  102. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_subscript.py +0 -0
  103. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_try.py +0 -0
  104. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_with_stmt.py +0 -0
  105. {restrictedpython-8.0 → restrictedpython-8.1a1.dev0}/tests/transformer/test_yield.py +0 -0
@@ -3,16 +3,16 @@
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: "6.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.19.0
15
+ rev: v3.19.1
16
16
  hooks:
17
17
  - id: pyupgrade
18
18
  args: [--py39-plus]
@@ -21,7 +21,7 @@ repos:
21
21
  hooks:
22
22
  - id: teyit
23
23
  - repo: https://github.com/PyCQA/flake8
24
- rev: "7.1.1"
24
+ rev: "7.1.2"
25
25
  hooks:
26
26
  - id: flake8
27
27
  additional_dependencies:
@@ -1,6 +1,13 @@
1
1
  Changes
2
2
  =======
3
3
 
4
+ 8.1a1.dev0 (2025-03-20)
5
+ -----------------------
6
+
7
+ - Allow to use the package with Python 3.14 -- Caution: No security
8
+ audit has been done so far.
9
+
10
+
4
11
  8.0 (2025-01-23)
5
12
  ----------------
6
13
 
@@ -1,7 +1,7 @@
1
1
  <!--
2
2
  Generated from:
3
3
  https://github.com/zopefoundation/meta/tree/master/config/pure-python
4
- -->
4
+ -->
5
5
  # Contributing to zopefoundation projects
6
6
 
7
7
  The projects under the zopefoundation GitHub organization are open source and
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: RestrictedPython
3
- Version: 8.0
3
+ Version: 8.1a1.dev0
4
4
  Summary: RestrictedPython is a defined subset of the Python language which allows to provide a program input into a trusted environment.
5
5
  Home-page: https://github.com/zopefoundation/RestrictedPython
6
6
  Author: Zope Foundation and Contributors
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.12
22
22
  Classifier: Programming Language :: Python :: 3.13
23
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
24
24
  Classifier: Topic :: Security
25
- Requires-Python: >=3.9, <3.14
25
+ Requires-Python: >=3.9, <3.15
26
26
  Description-Content-Type: text/x-rst
27
27
  License-File: LICENSE.txt
28
28
  Provides-Extra: test
@@ -31,6 +31,18 @@ Requires-Dist: pytest-mock; extra == "test"
31
31
  Provides-Extra: docs
32
32
  Requires-Dist: Sphinx; extra == "docs"
33
33
  Requires-Dist: furo; extra == "docs"
34
+ Dynamic: author
35
+ Dynamic: author-email
36
+ Dynamic: classifier
37
+ Dynamic: description
38
+ Dynamic: description-content-type
39
+ Dynamic: home-page
40
+ Dynamic: keywords
41
+ Dynamic: license
42
+ Dynamic: project-url
43
+ Dynamic: provides-extra
44
+ Dynamic: requires-python
45
+ Dynamic: summary
34
46
 
35
47
  .. image:: https://github.com/zopefoundation/RestrictedPython/actions/workflows/tests.yml/badge.svg
36
48
  :target: https://github.com/zopefoundation/RestrictedPython/actions/workflows/tests.yml
@@ -123,6 +135,13 @@ the documentation `Contributing page
123
135
  Changes
124
136
  =======
125
137
 
138
+ 8.1a1.dev0 (2025-03-20)
139
+ -----------------------
140
+
141
+ - Allow to use the package with Python 3.14 -- Caution: No security
142
+ audit has been done so far.
143
+
144
+
126
145
  8.0 (2025-01-23)
127
146
  ----------------
128
147
 
@@ -3,7 +3,10 @@
3
3
  # https://github.com/zopefoundation/meta/tree/master/config/pure-python
4
4
 
5
5
  [build-system]
6
- requires = ["setuptools <= 75.6.0"]
6
+ requires = [
7
+ "setuptools == 75.8.2",
8
+ "wheel",
9
+ ]
7
10
  build-backend = "setuptools.build_meta"
8
11
 
9
12
  [tool.coverage.run]
@@ -15,7 +18,16 @@ fail_under = 97.3
15
18
  precision = 2
16
19
  ignore_errors = true
17
20
  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"]
21
+ exclude_lines = [
22
+ "pragma: no cover",
23
+ "pragma: nocover",
24
+ "except ImportError:",
25
+ "raise NotImplementedError",
26
+ "if __name__ == '__main__':",
27
+ "self.fail",
28
+ "raise AssertionError",
29
+ "raise unittest.Skip",
30
+ ]
19
31
 
20
32
  [tool.coverage.html]
21
33
  directory = "parts/htmlcov"
@@ -25,7 +25,7 @@ def read(*rnames):
25
25
 
26
26
 
27
27
  setup(name='RestrictedPython',
28
- version='8.0',
28
+ version='8.1a1.dev0',
29
29
  url='https://github.com/zopefoundation/RestrictedPython',
30
30
  license='ZPL-2.1',
31
31
  description=(
@@ -59,7 +59,7 @@ setup(name='RestrictedPython',
59
59
  packages=find_packages('src'),
60
60
  package_dir={'': 'src'},
61
61
  install_requires=[],
62
- python_requires=">=3.9, <3.14",
62
+ python_requires=">=3.9, <3.15",
63
63
  extras_require={
64
64
  'test': ['pytest', 'pytest-mock'],
65
65
  'docs': ['Sphinx', 'furo'],
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: RestrictedPython
3
- Version: 8.0
3
+ Version: 8.1a1.dev0
4
4
  Summary: RestrictedPython is a defined subset of the Python language which allows to provide a program input into a trusted environment.
5
5
  Home-page: https://github.com/zopefoundation/RestrictedPython
6
6
  Author: Zope Foundation and Contributors
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.12
22
22
  Classifier: Programming Language :: Python :: 3.13
23
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
24
24
  Classifier: Topic :: Security
25
- Requires-Python: >=3.9, <3.14
25
+ Requires-Python: >=3.9, <3.15
26
26
  Description-Content-Type: text/x-rst
27
27
  License-File: LICENSE.txt
28
28
  Provides-Extra: test
@@ -31,6 +31,18 @@ Requires-Dist: pytest-mock; extra == "test"
31
31
  Provides-Extra: docs
32
32
  Requires-Dist: Sphinx; extra == "docs"
33
33
  Requires-Dist: furo; extra == "docs"
34
+ Dynamic: author
35
+ Dynamic: author-email
36
+ Dynamic: classifier
37
+ Dynamic: description
38
+ Dynamic: description-content-type
39
+ Dynamic: home-page
40
+ Dynamic: keywords
41
+ Dynamic: license
42
+ Dynamic: project-url
43
+ Dynamic: provides-extra
44
+ Dynamic: requires-python
45
+ Dynamic: summary
34
46
 
35
47
  .. image:: https://github.com/zopefoundation/RestrictedPython/actions/workflows/tests.yml/badge.svg
36
48
  :target: https://github.com/zopefoundation/RestrictedPython/actions/workflows/tests.yml
@@ -123,6 +135,13 @@ the documentation `Contributing page
123
135
  Changes
124
136
  =======
125
137
 
138
+ 8.1a1.dev0 (2025-03-20)
139
+ -----------------------
140
+
141
+ - Allow to use the package with Python 3.14 -- Caution: No security
142
+ audit has been done so far.
143
+
144
+
126
145
  8.0 (2025-01-23)
127
146
  ----------------
128
147
 
@@ -10,6 +10,7 @@ envlist =
10
10
  py311
11
11
  py312
12
12
  py313
13
+ py314
13
14
  docs
14
15
  coverage
15
16
  py311-datetime
@@ -19,11 +20,13 @@ envlist =
19
20
  usedevelop = true
20
21
  package = wheel
21
22
  wheel_build_env = .pkg
23
+ pip_pre = py314: true
22
24
  deps =
23
- setuptools <= 75.6.0
25
+ setuptools == 75.8.2
24
26
  datetime: DateTime
25
27
  -cconstraints.txt
26
28
  pytest-cov
29
+ Sphinx
27
30
  setenv =
28
31
  COVERAGE_FILE=.coverage.{envname}
29
32
  commands =
@@ -49,7 +52,7 @@ commands =
49
52
  coverage combine
50
53
  coverage html
51
54
  coverage report -m --fail-under=100
52
- depends = py39,py310,py311,py311-datetime,py312,py313,coverage
55
+ depends = py39,py310,py311,py311-datetime,py312,py313,py314,coverage
53
56
 
54
57
  [testenv:setuptools-latest]
55
58
  basepython = python3
@@ -64,7 +67,8 @@ description = ensure that the distribution is ready to release
64
67
  basepython = python3
65
68
  skip_install = true
66
69
  deps =
67
- setuptools <= 75.6.0
70
+ setuptools == 75.8.2
71
+ wheel
68
72
  twine
69
73
  build
70
74
  check-manifest
@@ -104,6 +108,7 @@ deps =
104
108
  datetime: DateTime
105
109
  -cconstraints.txt
106
110
  pytest-cov
111
+ Sphinx
107
112
  setenv =
108
113
  COVERAGE_FILE=.coverage
109
114
  commands =