Skip to content

Commit b1ef5ba

Browse files
committed
Prepare a release which does not yet support Python 3.13.
1 parent 4eaa5fa commit b1ef5ba

File tree

2 files changed

+43
-49
lines changed

2 files changed

+43
-49
lines changed

CHANGES.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ Changes
66

77
- Remove unneeded setuptools fossils that may cause installation problems
88
with recent setuptools versions.
9-
- Allow to use the package with Python 3.13 -- Caution: No security
10-
audit has been done so far.
119
- Add support for single mode statements / execution.
1210
- Fix a potential breakout capability in the provided ``safer_getattr`` method
1311
that is part of the ``safer_builtins``.

setup.py

Lines changed: 43 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -29,50 +29,46 @@ def read(*rnames):
2929
'pytest-mock',
3030
]
3131

32-
33-
setup(
34-
name='RestrictedPython',
35-
version='7.2.dev0',
36-
url='https://github.com/zopefoundation/RestrictedPython',
37-
license='ZPL 2.1',
38-
description=(
39-
'RestrictedPython is a defined subset of the Python language which '
40-
'allows to provide a program input into a trusted environment.'
41-
),
42-
long_description=read('README.rst') + '\n' + read('CHANGES.rst'),
43-
long_description_content_type='text/x-rst',
44-
classifiers=[
45-
'Development Status :: 6 - Mature',
46-
'License :: OSI Approved :: Zope Public License',
47-
'Programming Language :: Python',
48-
'Operating System :: OS Independent',
49-
'Programming Language :: Python :: 3',
50-
'Programming Language :: Python :: 3.7',
51-
'Programming Language :: Python :: 3.8',
52-
'Programming Language :: Python :: 3.9',
53-
'Programming Language :: Python :: 3.10',
54-
'Programming Language :: Python :: 3.11',
55-
'Programming Language :: Python :: 3.12',
56-
'Programming Language :: Python :: Implementation :: CPython',
57-
'Topic :: Security',
58-
],
59-
keywords='restricted execution security untrusted code',
60-
author='Zope Foundation and Contributors',
61-
author_email='[email protected]',
62-
project_urls={
63-
"Documentation": "https://restrictedpython.readthedocs.io/",
64-
"Source": "https://github.com/zopefoundation/RestrictedPython",
65-
"Tracker": "https://github.com/zopefoundation/RestrictedPython/issues",
66-
},
67-
packages=find_packages('src'),
68-
package_dir={'': 'src'},
69-
install_requires=[
70-
],
71-
python_requires=">=3.7, <3.14",
72-
extras_require={
73-
'test': tests_require,
74-
'docs': ['Sphinx', 'sphinx_rtd_theme'],
75-
},
76-
include_package_data=True,
77-
zip_safe=False
78-
)
32+
setup(name='RestrictedPython',
33+
version='7.2.dev0',
34+
url='https://github.com/zopefoundation/RestrictedPython',
35+
license='ZPL 2.1',
36+
description=(
37+
'RestrictedPython is a defined subset of the Python language which '
38+
'allows to provide a program input into a trusted environment.'),
39+
long_description=read('README.rst') + '\n' + read('CHANGES.rst'),
40+
long_description_content_type='text/x-rst',
41+
classifiers=[
42+
'Development Status :: 6 - Mature',
43+
'License :: OSI Approved :: Zope Public License',
44+
'Programming Language :: Python',
45+
'Operating System :: OS Independent',
46+
'Programming Language :: Python :: 3',
47+
'Programming Language :: Python :: 3.7',
48+
'Programming Language :: Python :: 3.8',
49+
'Programming Language :: Python :: 3.9',
50+
'Programming Language :: Python :: 3.10',
51+
'Programming Language :: Python :: 3.11',
52+
'Programming Language :: Python :: 3.12',
53+
'Programming Language :: Python :: Implementation :: CPython',
54+
'Topic :: Security',
55+
],
56+
keywords='restricted execution security untrusted code',
57+
author='Zope Foundation and Contributors',
58+
author_email='[email protected]',
59+
project_urls={
60+
"Documentation": "https://restrictedpython.readthedocs.io/",
61+
"Source": "https://github.com/zopefoundation/RestrictedPython",
62+
"Tracker":
63+
"https://github.com/zopefoundation/RestrictedPython/issues",
64+
},
65+
packages=find_packages('src'),
66+
package_dir={'': 'src'},
67+
install_requires=[],
68+
python_requires=">=3.7, <3.13",
69+
extras_require={
70+
'test': tests_require,
71+
'docs': ['Sphinx', 'sphinx_rtd_theme'],
72+
},
73+
include_package_data=True,
74+
zip_safe=False)

0 commit comments

Comments
 (0)