Skip to content

Commit

Permalink
Fix #911: Remove Python 3.7 (EOL)
Browse files Browse the repository at this point in the history
  • Loading branch information
stennie committed Sep 23, 2023
1 parent 370e598 commit a5e45ef
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
9 changes: 5 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,16 @@ Requirements and Installation Instructions

The mtools collection is written in Python, and most of the tools only use the
standard packages shipped with Python. The tools are currently tested with
Python 3.7, 3.8, 3.9, and 3.10.
Python 3.8, 3.9, 3.10, and 3.11.

Some of the tools have additional dependencies, which are listed under the
specific tool's section. See the `installation instructions
<https://rueckstiess.github.io/mtools/install.html>`__ for more information.

The mtools suite is only tested with actively supported (non End-of-Life)
versions of the MongoDB server. As of December 2022, that includes
MongoDB 4.2 or newer.
The mtools suite is only tested with
`actively supported <https://www.mongodb.com/support-policy/lifecycles>`
(non End-of-Life) versions of the MongoDB server. As of September 2023,
that includes MongoDB 4.4 or newer.

Recent Changes
--------------
Expand Down
11 changes: 6 additions & 5 deletions doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ Installation

The mtools collection is written in Python, and most of the tools only use the
standard packages shipped with Python. The tools are currently tested with
Python 3.7, 3.8, 3.9, 3.10, and 3.11.
Python 3.8, 3.9, 3.10, and 3.11.

Some of the tools have additional dependencies, which are listed under the
specific tool's section.

The mtools suite is only tested with actively supported (non End-of-Life)
versions of the MongoDB server. As of December 2022, that includes
MongoDB 4.2 or newer.
The mtools suite is only tested with
`actively supported <https://www.mongodb.com/support-policy/lifecycles>`__
(non End-of-Life) versions of the MongoDB server. As of September 2023,
that includes MongoDB 4.4 or newer.

Prerequisites
~~~~~~~~~~~~~

Python
You need to have Python 3.7, 3.8, 3.9, 3.10, or 3.11 installed in order to
You need to have Python 3.8, 3.9, 3.10, or 3.11 installed in order to
use mtools. Other versions of Python are not currently supported or tested.

To check your Python version, run ``python --version`` on the command line.
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
try:
from setuptools import setup, find_packages

python_requires='>=3.7'
python_requires='>=3.8'

# Additional dependencies from requirements.txt that should be installed
# for full mtools feature support. These are optional dependencies to
Expand Down Expand Up @@ -100,7 +100,6 @@
'Intended Audience :: Developers',
'Topic :: Database',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 3.7
envlist = py37, py38, py39, py310, py311
minversion = 3.8
envlist = py38, py39, py310, py311
skipsdist = True

[testenv]
Expand Down Expand Up @@ -68,7 +68,6 @@ max-line-length = 99

[gh]
python =
3.7 = py37
3.8 = py38
3.9 = py39
3.10 = py310
Expand Down

0 comments on commit a5e45ef

Please sign in to comment.