Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ pyperf
:alt: Latest release on the Python Cheeseshop (PyPI)
:target: https://pypi.python.org/pypi/pyperf

.. image:: https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Fpsf%2Fpyperf%2Frefs%2Fheads%2Fmain%2Fpyproject.toml
:alt: Supported Python versions
:target: https://pypi.python.org/pypi/pyperf

.. image:: https://github.com/psf/pyperf/actions/workflows/build.yml/badge.svg
:alt: Build status of pyperf on GitHub Actions
:target: https://github.com/psf/pyperf/actions
Expand Down Expand Up @@ -128,7 +132,7 @@ Command to install pyperf on Python 3::

python3 -m pip install pyperf

pyperf requires Python 3.7 or newer.
pyperf requires Python 3.9 or newer.

Python 2.7 users can use pyperf 1.7.1 which is the last version compatible with
Python 2.7.
Expand Down
2 changes: 1 addition & 1 deletion doc/run_benchmark.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Optional dependencies:
* Python module ``psutil``. Install: ``python3 -m pip install -U psutil``.
* When you are using macOS, you need to install ``psutil`` if you want to use ``--track-memory`` option.

pyperf requires Python 3.6 or newer.
pyperf requires Python 3.9 or newer.

Python 2.7 users can use pyperf 1.7.1 which is the last version compatible with
Python 2.7.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules"
]
# Also update: README.rst, docs/run_benchmark.rst
requires-python = ">=3.9"
dependencies = ["psutil>=5.9.0"]

Expand Down