Skip to content

Commit 87f305c

Browse files
committed
Bump required Python version to >=3.7
By the time bpython 0.23 is released, Python 3.6 will be EOL.
1 parent 2ba5de0 commit 87f305c

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
continue-on-error: ${{ matrix.python-version == 'pypy3' }}
1414
strategy:
1515
matrix:
16-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", pypy3]
16+
python-version: [3.7, 3.8, 3.9, "3.10", pypy3]
1717
steps:
1818
- uses: actions/checkout@v2
1919
with:

doc/sphinx/source/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ the time of day.
1717
Getting your development environment set up
1818
-------------------------------------------
1919

20-
bpython supports Python 3.6 and newer. The code is compatible with all
20+
bpython supports Python 3.7 and newer. The code is compatible with all
2121
supported versions.
2222

2323
Using a virtual environment is probably a good idea. Create a virtual

doc/sphinx/source/releases.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ A checklist to perform some manual tests before a release:
4545

4646
Check that all of the following work before a release:
4747

48-
* Runs under Python 3.6 - 3.9
48+
* Runs under Python 3.7 - 3.9
4949
* Save
5050
* Rewind
5151
* Pastebin

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ requires = [
66

77
[tool.black]
88
line-length = 80
9-
target_version = ["py36"]
9+
target_version = ["py37"]
1010
include = '\.pyi?$'
1111
exclude = '''
1212
/(

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ Pygments
22
backports.cached-property; python_version < "3.8"
33
curtsies >=0.3.5
44
cwcwidth
5-
dataclasses; python_version < "3.7"
65
greenlet
76
pyxdg
87
requests

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ classifiers =
1111
Programming Language :: Python :: 3
1212

1313
[options]
14-
python_requires = >=3.6
14+
python_requires = >=3.7
1515
packages =
1616
bpython
1717
bpython.curtsiesfrontend
@@ -22,7 +22,6 @@ packages =
2222
install_requires =
2323
backports.cached-property; python_version < "3.8"
2424
curtsies >=0.3.5
25-
dataclasses; python_version < "3.7"
2625
cwcwidth
2726
greenlet
2827
pygments

0 commit comments

Comments
 (0)