Skip to content

Commit

Permalink
Fix rueckstiess#813: Python 3.9 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
stennie committed Jan 18, 2021
1 parent 8c9e105 commit c3f4721
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
8 changes: 5 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
mtools
======

|PyPI version| |Build Status| |Python 36| |Python 37| |Python 38|
|PyPI version| |Build Status| |Python 36| |Python 37| |Python 38| |Python 39|

**mtools** is a collection of helper scripts to parse, filter, and visualize
MongoDB log files (``mongod``, ``mongos``). mtools also includes ``mlaunch``, a
Expand Down Expand Up @@ -45,14 +45,14 @@ 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.6, 3.7, and 3.8.
Python 3.6, 3.7, 3.8, and 3.9.

Some of the tools have additional dependencies, which are listed under the
specific tool's section. See the `installation instructions
<http://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 January 2020, that includes MongoDB 3.6
versions of the MongoDB server. As of January 2021, that includes MongoDB 3.6
or newer.

Recent Changes
Expand Down Expand Up @@ -85,4 +85,6 @@ posted in the `Issues
.. |Python 37| image:: https://img.shields.io/badge/Python-3.7-brightgreen.svg?style=flat
:target: http://python.org
.. |Python 38| image:: https://img.shields.io/badge/Python-3.8-brightgreen.svg?style=flat
:target: http://python.org
.. |Python 39| image:: https://img.shields.io/badge/Python-3.9-brightgreen.svg?style=flat
:target: http://python.org
8 changes: 4 additions & 4 deletions doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +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.6, 3.7, and 3.8.
Python 3.6, 3.7, 3.8, and 3.9.

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 January 2020, that includes MongoDB 3.6
versions of the MongoDB server. As of January 2021, that includes MongoDB 3.6
or newer.

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

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

To check your Python version, run ``python --version`` on the command line.

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
],
keywords='MongoDB logs testing',
extras_require=extras_requires,
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 3.6
envlist = py36, py37, py38
envlist = py36, py37, py38, py39
skipsdist = True

[testenv]
Expand Down

0 comments on commit c3f4721

Please sign in to comment.