Skip to content

Commit 0fb8a66

Browse files
committed
Remove support for EOL python versions
1 parent 2a8f95f commit 0fb8a66

File tree

3 files changed

+24
-14
lines changed

3 files changed

+24
-14
lines changed

.circleci/config.yml

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,29 @@ version: 2.1
44
orbs:
55
orb: invocations/[email protected]
66

7+
executors:
8+
# Basically extending what the python orb's executor does:
9+
# - s/tag/version/
10+
# - default to 3.6, not 3.8 or w/e
11+
# - set common environment vars
12+
default:
13+
parameters:
14+
version:
15+
type: string
16+
default: "3.11"
17+
docker:
18+
- image: cimg/python:<< parameters.version >>
19+
# TODO: explicitly select 'resource_class: small' if credits ever become
20+
# too tight; seems like small uses 5 credits/min and medium, the default,
21+
# uses 10
22+
environment:
23+
TERM: screen-256color
724

825
jobs:
926
# Unit+integration tests, with coverage
1027
coverage:
1128
executor:
12-
name: orb/default
13-
version: "3.6"
29+
name: default
1430
steps:
1531
- orb/setup
1632
- run: inv ci.make-sudouser
@@ -19,26 +35,23 @@ jobs:
1935

2036
regression:
2137
executor:
22-
name: orb/default
23-
version: "3.6"
38+
name: default
2439
steps:
2540
- orb/setup
2641
- run: inv regression
2742
- orb/debug
2843

2944
doctests:
3045
executor:
31-
name: orb/default
32-
version: "3.6"
46+
name: default
3347
steps:
3448
- orb/setup
3549
- run: inv www.doctest
3650
- orb/debug
3751

3852
typecheck:
3953
executor:
40-
name: orb/default
41-
version: "3.6"
54+
name: default
4255
steps:
4356
- orb/setup
4457
- run: mypy .
@@ -65,7 +78,7 @@ workflows:
6578
requires: ["Test"]
6679
matrix:
6780
parameters:
68-
version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
81+
version: ["3.9", "3.10", "3.11"]
6982
- orb/docs:
7083
name: "Docs"
7184
requires: ["Test"]

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"Changelog": "https://www.pyinvoke.org/changelog.html",
4141
"CI": "https://app.circleci.com/pipelines/github/pyinvoke/invoke",
4242
},
43-
python_requires=">=3.6",
43+
python_requires=">=3.9",
4444
packages=find_packages(exclude=exclude),
4545
include_package_data=True,
4646
entry_points={
@@ -62,9 +62,6 @@
6262
"Programming Language :: Python",
6363
"Programming Language :: Python :: 3",
6464
"Programming Language :: Python :: 3 :: Only",
65-
"Programming Language :: Python :: 3.6",
66-
"Programming Language :: Python :: 3.7",
67-
"Programming Language :: Python :: 3.8",
6865
"Programming Language :: Python :: 3.9",
6966
"Programming Language :: Python :: 3.10",
7067
"Programming Language :: Python :: 3.11",

sites/www/installing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ via `pip <https://pip.pypa.io>`_::
1010

1111
$ pip install invoke
1212

13-
We currently support **Python 3.6+**. Users still on Python 3.5 or older are
13+
We currently support **Python 3.9+**. Users still on Python 3.8 or older are
1414
urged to upgrade.
1515

1616
As long as you have a supported Python interpreter, **there are no other

0 commit comments

Comments
 (0)