From 9c49551401ec85f628af8ef0bae79f1d7a81e202 Mon Sep 17 00:00:00 2001 From: LilSpazJoekp <15524072+LilSpazJoekp@users.noreply.github.com> Date: Sat, 23 Sep 2023 11:11:00 -0500 Subject: [PATCH] Drop support for Python 3.7 --- CHANGES.rst | 4 ++++ README.rst | 2 +- docs/getting_started/installation.rst | 2 +- docs/getting_started/quick_start.rst | 4 ++-- pyproject.toml | 5 ++--- tox.ini | 2 +- 6 files changed, 11 insertions(+), 8 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 1320efeea..8d8240922 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -13,6 +13,10 @@ Unreleased - :meth:`~.SubredditRedditorFlairTemplates.reorder` to reorder a subreddit's redditor flair templates. +**Changed** + +- Drop support for Python 3.7, which is end-of-life on 2023-06-27. + 7.7.1 (2023/07/11) ------------------ diff --git a/README.rst b/README.rst index 8b39cf9c9..af8924b45 100644 --- a/README.rst +++ b/README.rst @@ -44,7 +44,7 @@ agent and you're set. Installation ------------ -PRAW is supported on Python 3.7+. The recommended way to install PRAW is via `pip +PRAW is supported on Python 3.8+. The recommended way to install PRAW is via `pip `_. .. code-block:: bash diff --git a/docs/getting_started/installation.rst b/docs/getting_started/installation.rst index 899585048..656dc10bf 100644 --- a/docs/getting_started/installation.rst +++ b/docs/getting_started/installation.rst @@ -1,7 +1,7 @@ Installing PRAW =============== -PRAW supports Python 3.7+. The recommended way to install PRAW is via ``pip``. +PRAW supports Python 3.8+. The recommended way to install PRAW is via ``pip``. .. code-block:: bash diff --git a/docs/getting_started/quick_start.rst b/docs/getting_started/quick_start.rst index 4eef4b168..2d52d5204 100644 --- a/docs/getting_started/quick_start.rst +++ b/docs/getting_started/quick_start.rst @@ -8,7 +8,7 @@ Prerequisites ------------- :Python Knowledge: You need to know at least a little Python to use PRAW. PRAW supports - `Python 3.7+`_. If you are stuck on a problem, `r/learnpython`_ is a great place to + `Python 3.8+`_. If you are stuck on a problem, `r/learnpython`_ is a great place to ask for help. :Reddit Knowledge: A basic understanding of how Reddit works is a must. In the event you are not already familiar with Reddit start at `Reddit Help`_. @@ -26,7 +26,7 @@ Prerequisites .. _first steps guide: https://github.com/reddit/reddit/wiki/OAuth2-Quick-Start-Example#first-steps -.. _python 3.7+: https://docs.python.org/3/tutorial/index.html +.. _python 3.8+: https://docs.python.org/3/tutorial/index.html .. _r/learnpython: https://www.reddit.com/r/learnpython/ diff --git a/pyproject.toml b/pyproject.toml index c81350dcc..b6d777578 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,6 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -33,7 +32,7 @@ maintainers = [ {name = "Joel Payne", email = "lilspazjoekp@gmail.com"} ] name = "praw" -requires-python = "~=3.7" +requires-python = "~=3.8" [project.optional-dependencies] ci = ["coveralls"] @@ -77,7 +76,7 @@ profile = 'black' skip_glob = '.venv*' [tool.ruff] -target-version = "py37" +target-version = "py38" include = [ "praw/**/*.py" ] diff --git a/tox.ini b/tox.ini index f5978b1fb..5f14cf811 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37,py38,py39,py310,py311 +envlist = py38,py39,py310,py311 skipsdist = true [testenv]