Skip to content

Commit 0ee2f63

Browse files
committed
Drop support for EOL Python 3.7
1 parent 05d0b99 commit 0ee2f63

File tree

5 files changed

+4
-10
lines changed

5 files changed

+4
-10
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
17+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1818

1919
steps:
2020
- uses: actions/checkout@v4

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ language: python
66
jobs:
77
include:
88
- python: 3.8
9-
- python: 3.7
10-
- python: 3.6
119

1210
install:
1311
- pip install . black coverage codecov flake8 isort mypy pytest readme_renderer

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.black]
2-
target-version = ['py36']
2+
target-version = ['py38']
33

44

55
[tool.isort]

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,13 @@ def get_version(package):
3030
package_dir={"": "src"},
3131
package_data={"prompt_toolkit": ["py.typed"]},
3232
install_requires=["wcwidth"],
33-
# We require Python 3.7, because we need:
34-
# - Context variables - PEP 567
35-
# - `asyncio.run()`
36-
python_requires=">=3.7.0",
33+
python_requires=">=3.8",
3734
classifiers=[
3835
"Development Status :: 5 - Production/Stable",
3936
"Intended Audience :: Developers",
4037
"License :: OSI Approved :: BSD License",
4138
"Operating System :: OS Independent",
4239
"Programming Language :: Python :: 3",
43-
"Programming Language :: Python :: 3.7",
4440
"Programming Language :: Python :: 3.8",
4541
"Programming Language :: Python :: 3.9",
4642
"Programming Language :: Python :: 3.10",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py{37, 38, 39, 310, 311, 312, py3}
7+
envlist = py{38, 39, 310, 311, 312, py3}
88

99
[testenv]
1010
commands = pytest []

0 commit comments

Comments
 (0)