Skip to content

Commit

Permalink
Remove pytest-profiling
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rominf committed Sep 5, 2024
1 parent eeec1cf commit c846bc3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 0 additions & 5 deletions aiosmtpd/docs/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,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.
!nocov: coverage>=7.0.1
Expand Down

0 comments on commit c846bc3

Please sign in to comment.