Skip to content

Commit

Permalink
build, meta: drop Python 3.7 support, checks, and CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
dgw committed Aug 2, 2023
1 parent 271b306 commit 45ce17c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ First, either clone the repository with ``git clone
https://github.com/sopel-irc/sopel.git`` or download a tarball `from GitHub
<https://github.com/sopel-irc/sopel/releases/latest>`_.

Note: Sopel requires Python 3.7+ to run.
Note: Sopel requires Python 3.8+ to run.

In the source directory (whether cloned or from the tarball) run ``pip install
-e .``. You can then run ``sopel`` to configure and start the bot.
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,13 @@ classifiers = [
"License :: Eiffel Forum License (EFL)",
"License :: OSI Approved :: Eiffel Forum License",
"Operating System :: POSIX :: Linux",
"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",
"Topic :: Communications :: Chat :: Internet Relay Chat",
]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [
"xmltodict>=0.12,<0.14",
"pytz",
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ignore =
# Sopel no longer supports Python versions that require them.
FI58,
# These would require future imports that are not needed any more on Sopel's
# oldest supported Python version (3.7).
# oldest supported Python version (3.8).
FI10,FI11,FI12,FI13,FI14,FI15,FI16,FI17,
# We use postponed annotation evaluation
TC2,
Expand Down
4 changes: 2 additions & 2 deletions sopel/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
# This is in case someone somehow manages to install Sopel on an old version
# of pip (<9.0.0), which doesn't know about `python_requires`, or tries to run
# from source on an unsupported version of Python.
if sys.version_info < (3, 7):
utils.stderr('Error: Sopel requires Python 3.7+.')
if sys.version_info < (3, 8):
utils.stderr('Error: Sopel requires Python 3.8+.')
sys.exit(1)

LOGGER = logging.getLogger(__name__)
Expand Down

0 comments on commit 45ce17c

Please sign in to comment.