From 9e3b3102f6dce2f415415002179dd304f7638187 Mon Sep 17 00:00:00 2001 From: Roman Inflianskas Date: Fri, 28 Jun 2024 08:04:09 +0300 Subject: [PATCH] Remove pytest-profiling Remove [pytest-profiling](https://pypi.org/project/pytest-profiling/), as it does not support latest Python versions, was not updated for 5, years, and according to the comment in `aiosmtpd/docs/testing.rst` was not very useful anyway. --- README.rst | 1 - aiosmtpd/docs/testing.rst | 5 ----- tox.ini | 1 - 3 files changed, 7 deletions(-) diff --git a/README.rst b/README.rst index 9a5f90cc2..5958b5bc9 100644 --- a/README.rst +++ b/README.rst @@ -179,7 +179,6 @@ have been configured and tested: (showing a single character per test run) - ``diffcov`` = with diff-coverage report (showing difference in coverage compared to previous commit). Tests will run in brief mode - - ``profile`` = no coverage testing, but code profiling instead. This must be **invoked manually** using the ``-e`` parameter **Note 1:** As of 2021-02-23, diff --git a/aiosmtpd/docs/testing.rst b/aiosmtpd/docs/testing.rst index 966072e22..12edb168b 100644 --- a/aiosmtpd/docs/testing.rst +++ b/aiosmtpd/docs/testing.rst @@ -30,9 +30,6 @@ Other plugins that are used, to various degrees, in the ``aiosmtpd`` test suite * |pytest-cov|_ to integrate with |coverage-py|_ * |pytest-sugar|_ to provide better ux * |pytest-print|_ to give some progress indicator and to assist test troubleshooting -* |pytest-profiling|_ to implement ``*-profile`` testenv, - although to be honest this is not really useful as the profiling gets 'muddied' by - pytest runner. .. _`pytest-mock`: https://pypi.org/project/pytest-mock/ .. |pytest-mock| replace:: ``pytest-mock`` @@ -44,8 +41,6 @@ Other plugins that are used, to various degrees, in the ``aiosmtpd`` test suite .. |pytest-sugar| replace:: ``pytest-sugar`` .. _`pytest-print`: https://pypi.org/project/pytest-print/ .. |pytest-print| replace:: ``pytest-print`` -.. _`pytest-profiling`: https://pypi.org/project/pytest-profiling/ -.. |pytest-profiling| replace:: ``pytest-profiling`` Fixtures diff --git a/tox.ini b/tox.ini index bf225b7c4..e6e3ac990 100644 --- a/tox.ini +++ b/tox.ini @@ -25,7 +25,6 @@ deps = pytest >= 6.0 # Require >= 6.0 for pyproject.toml support (PEP 517) pytest-mock pytest-print - pytest-profiling pytest-sugar py # needed for pytest-sugar as it doesn't declare dependency on it. setuptools