Skip to content

Remove support for EOL python versions #1028

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 22 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,29 @@ version: 2.1
orbs:
orb: invocations/[email protected]

executors:
# Basically extending what the python orb's executor does:
# - s/tag/version/
# - default to 3.6, not 3.8 or w/e
# - set common environment vars
default:
parameters:
version:
type: string
default: "3.11"
docker:
- image: cimg/python:<< parameters.version >>
# TODO: explicitly select 'resource_class: small' if credits ever become
# too tight; seems like small uses 5 credits/min and medium, the default,
# uses 10
environment:
TERM: screen-256color

jobs:
# Unit+integration tests, with coverage
coverage:
executor:
name: orb/default
version: "3.6"
name: default
steps:
- orb/setup
- run: inv ci.make-sudouser
Expand All @@ -19,26 +35,23 @@ jobs:

regression:
executor:
name: orb/default
version: "3.6"
name: default
steps:
- orb/setup
- run: inv regression
- orb/debug

doctests:
executor:
name: orb/default
version: "3.6"
name: default
steps:
- orb/setup
- run: inv www.doctest
- orb/debug

typecheck:
executor:
name: orb/default
version: "3.6"
name: default
steps:
- orb/setup
- run: mypy .
Expand All @@ -65,7 +78,7 @@ workflows:
requires: ["Test"]
matrix:
parameters:
version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
version: ["3.9", "3.10", "3.11"]
- orb/docs:
name: "Docs"
requires: ["Test"]
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"Changelog": "https://www.pyinvoke.org/changelog.html",
"CI": "https://app.circleci.com/pipelines/github/pyinvoke/invoke",
},
python_requires=">=3.6",
python_requires=">=3.9",
packages=find_packages(exclude=exclude),
include_package_data=True,
entry_points={
Expand All @@ -62,9 +62,6 @@
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
2 changes: 1 addition & 1 deletion sites/www/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ via `pip <https://pip.pypa.io>`_::

$ pip install invoke

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

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