Skip to content

Commit 08b521a

Browse files
committed
require Python 3.8+
1 parent 59b0896 commit 08b521a

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
**0.15.3** (in progress, last updated 19 September 2024)
1+
**0.15.3** (in progress, last updated 25 September 2024)
22

3-
*No user-visible changes yet.*
3+
**IMPORTANT**:
4+
5+
- Minimum Python language version is now 3.8.
6+
- Python 3.6 and 3.7 support dropped, as these language versions have officially reached end-of-life. Code has not been fully cleaned of historical cruft yet, so parts of it may still work in these versions.
7+
- 3.8 becomes EOL after October 2024, so support for that version might be dropped soon, too.
48

59

610
---

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ None required.
1515

1616
- [`mcpyrate`](https://github.com/Technologicat/mcpyrate) optional, to enable the syntactic macro layer, an interactive macro REPL, and some example dialects.
1717

18-
The 0.15.x series should run on CPython 3.6, 3.7, 3.8, 3.9 and 3.10, and PyPy3 (language versions 3.6, 3.7 and 3.8); the [CI](https://en.wikipedia.org/wiki/Continuous_integration) process verifies the tests pass on those platforms. [Long-term support roadmap](https://github.com/Technologicat/unpythonic/issues/1).
18+
The 0.15.x series should run on CPython 3.8, 3.9 and 3.10, and PyPy3 (language version 3.8); the [CI](https://en.wikipedia.org/wiki/Continuous_integration) process verifies the tests pass on those platforms. [Long-term support roadmap](https://github.com/Technologicat/unpythonic/issues/1).
1919

2020

2121
### Documentation

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ def read(*relpath, **kwargs): # https://blog.ionelmc.ro/2014/05/25/python-packa
9090
"Operating System :: POSIX :: Linux",
9191
"Programming Language :: Python",
9292
"Programming Language :: Python :: 3",
93-
"Programming Language :: Python :: 3.6",
94-
"Programming Language :: Python :: 3.7",
9593
"Programming Language :: Python :: 3.8",
9694
"Programming Language :: Python :: 3.9",
9795
"Programming Language :: Python :: 3.10",

unpythonic/syntax/astcompat.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
NamedExpr = _NoSuchNodeType
2626

2727
# No new AST node types in Python 3.9.
28-
29-
# TODO: any new AST node types in Python 3.10? (release expected in October 2021)
28+
# No new AST node types in Python 3.10.
29+
# TODO: Any new AST node types in Python 3.11?
30+
# TODO: Any new AST node types in Python 3.12?
3031

3132
# --------------------------------------------------------------------------------
3233
# Deprecated AST node types

unpythonic/syntax/tests/test_lambdatools.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@ def runtests():
5757
foo = let[[f7 << (lambda x: x)] in f7] # let-binding: name as "f7" # noqa: F821
5858
test[foo.__name__ == "f7"]
5959

60-
warn["NamedExpr test currently disabled for syntactic compatibility with Python 3.6 and 3.7."]
61-
# if foo2 := (lambda x: x): # NamedExpr a.k.a. walrus operator (Python 3.8+)
62-
# pass
63-
# test[foo2.__name__ == "foo2"]
60+
if foo2 := (lambda x: x): # NamedExpr a.k.a. walrus operator (Python 3.8+)
61+
pass
62+
test[foo2.__name__ == "foo2"]
6463

6564
# function call with named arg
6665
def foo(func1, func2):

0 commit comments

Comments
 (0)