Skip to content

Commit a249311

Browse files
committed
- update documentation and tests
1 parent 1fdac54 commit a249311

File tree

8 files changed

+10
-197
lines changed

8 files changed

+10
-197
lines changed

.meta.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ testenv-additional = [
4747
" coverage combine",
4848
" coverage html",
4949
" coverage report -m --fail-under=100",
50-
"depends = py38,py39,py310,py311,py311-datetime,py312,py313,coverage",
50+
"depends = py39,py310,py311,py311-datetime,py312,py313,coverage",
5151
]
5252
coverage-command = "pytest --cov=src --cov=tests --cov-report= tests {posargs}"
5353
coverage-setenv = [
5454
"COVERAGE_FILE=.coverage",
5555
]
5656

5757
[coverage]
58-
fail-under = 97.9
58+
fail-under = 97.3
5959

6060
[isort]
6161
additional-sources = "{toxinidir}/tests"

docs/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
# Intersphinx Mapping for Links between different Documentations
113113
intersphinx_mapping = {
114114
'python3': ('https://docs.python.org/3', None),
115-
'python38': ('https://docs.python.org/3.8', None),
116115
'python39': ('https://docs.python.org/3.9', None),
117116
'python310': ('https://docs.python.org/3.10', None),
118117
'python311': ('https://docs.python.org/3.11', None),

docs/contributing/ast/python3_7.ast

Lines changed: 0 additions & 175 deletions
This file was deleted.

docs/contributing/changes_from37to38.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/contributing/index.rst

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ A (modified style) Copy of all Abstract Grammar Definitions for the Python versi
9898
.. toctree::
9999
:maxdepth: 2
100100

101-
changes_from37to38
102101
changes_from38to39
103102
changes_from39to310
104103
changes_from310to311
@@ -236,12 +235,11 @@ Technical Backgrounds - Links to External Documentation
236235

237236
* AST Grammar of Python (`Status of Python Versions`_)
238237

238+
* `Python 3.13 AST`_ (EOL 2029-10)
239239
* `Python 3.12 AST`_ (EOL 2028-10)
240240
* `Python 3.11 AST`_ (EOL 2027-10)
241241
* `Python 3.10 AST`_ (EOL 2026-10)
242242
* `Python 3.9 AST`_ (EOL 2025-10)
243-
* `Python 3.8 AST`_ (EOL 2024-10)
244-
* `Python 3.7 AST`_ (EOL 2023-06-27)
245243

246244
* `AST NodeVistiors Class`_
247245
* `AST NodeTransformer Class`_
@@ -259,6 +257,8 @@ Todos
259257
260258
.. _`What's new in Python`: https://docs.python.org/3/whatsnew/
261259

260+
.. _`What's new in Python 3.13`: https://docs.python.org/3.13/whatsnew/3.13.html
261+
262262
.. _`What's new in Python 3.12`: https://docs.python.org/3.12/whatsnew/3.12.html
263263

264264
.. _`What's new in Python 3.11`: https://docs.python.org/3.11/whatsnew/3.11.html
@@ -267,10 +267,6 @@ Todos
267267

268268
.. _`What's new in Python 3.9`: https://docs.python.org/3.9/whatsnew/3.9.html
269269

270-
.. _`What's new in Python 3.8`: https://docs.python.org/3.8/whatsnew/3.8.html
271-
272-
.. _`What's new in Python 3.7`: https://docs.python.org/3.7/whatsnew/3.7.html
273-
274270
.. _`Status of Python Versions`: https://devguide.python.org/versions/
275271

276272
.. _`Concept of Immutable Types and Python Example`: https://en.wikipedia.org/wiki/Immutable_object#Python
@@ -285,6 +281,8 @@ Todos
285281

286282
.. _`Python 3 AST`: https://docs.python.org/3/library/ast.html#abstract-grammar
287283

284+
.. _`Python 3.13 AST`: https://docs.python.org/3.13/library/ast.html#abstract-grammar
285+
288286
.. _`Python 3.12 AST`: https://docs.python.org/3.12/library/ast.html#abstract-grammar
289287

290288
.. _`Python 3.11 AST`: https://docs.python.org/3.11/library/ast.html#abstract-grammar
@@ -293,10 +291,6 @@ Todos
293291

294292
.. _`Python 3.9 AST`: https://docs.python.org/3.9/library/ast.html#abstract-grammar
295293

296-
.. _`Python 3.8 AST`: https://docs.python.org/3.8/library/ast.html#abstract-grammar
297-
298-
.. _`Python 3.7 AST`: https://docs.python.org/3.7/library/ast.html#abstract-grammar
299-
300294
.. _`AST NodeVistiors Class`: https://docs.python.org/3/library/ast.html#ast.NodeVisitor
301295

302296
.. _`AST NodeTransformer Class`: https://docs.python.org/3/library/ast.html#ast.NodeTransformer

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RestrictedPython is not a sandbox system or a secured environment, but it helps
1515
Supported Python versions
1616
=========================
1717

18-
RestrictedPython supports CPython 3.7 up to 3.12.
18+
RestrictedPython supports CPython 3.9 up to 3.13.
1919
It does _not_ support PyPy or other alternative Python implementations.
2020

2121
Contents

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ branch = true
1111
source = ["RestrictedPython"]
1212

1313
[tool.coverage.report]
14-
fail_under = 97.9
14+
fail_under = 97.3
1515
precision = 2
1616
ignore_errors = true
1717
show_missing = true

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ commands =
4949
coverage combine
5050
coverage html
5151
coverage report -m --fail-under=100
52-
depends = py38,py39,py310,py311,py311-datetime,py312,py313,coverage
52+
depends = py39,py310,py311,py311-datetime,py312,py313,coverage
5353

5454
[testenv:setuptools-latest]
5555
basepython = python3

0 commit comments

Comments
 (0)