Skip to content

Commit

Permalink
Drop support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Sep 23, 2023
1 parent a2e2c9e commit 9fbfb9d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Expand Up @@ -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)
------------------

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -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
<https://pypi.python.org/pypi/pip>`_.

.. code-block:: bash
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
4 changes: 2 additions & 2 deletions docs/getting_started/quick_start.rst
Expand Up @@ -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`_.
Expand All @@ -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/

Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Expand Up @@ -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",
Expand All @@ -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"]
Expand Down Expand Up @@ -77,7 +76,7 @@ profile = 'black'
skip_glob = '.venv*'

[tool.ruff]
target-version = "py37"
target-version = "py38"
include = [
"praw/**/*.py"
]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist = py37,py38,py39,py310,py311
envlist = py38,py39,py310,py311
skipsdist = true

[testenv]
Expand Down

0 comments on commit 9fbfb9d

Please sign in to comment.